STD.File.FileExists returns true for superfiles

Description

For versions at least as recent as 5.6.0, STD.File.FileExists returns true when the argument is a superfile. The documentation says "The FileExists function returns TRUE if the specified filename is present in the Distributed File Utility (DFU) and is not a SuperFile", so this seems unintended.

Conclusion

None

Activity

Show:

Jacob Cobbett-Smith April 11, 2016 at 11:54 AM

I would have naively expected FileExists to return true for any type of file, inc. supers.
Afaics, it always has, but there may have been some intention for it not to have, since there's an option in DFS to ignore supers on an exists call (FileServices has never passed that option to it though).
There is also a fileservices SuperFileExists().

I think we should change the docs. to remove the 'and is not a SuperFile'.

I'll assign to

Richard Chapman April 11, 2016 at 11:43 AM

Not sure why it should exclude superfiles - perhaps we just need to update the docs to remove that proviso.

Any thoughts?

Fixed
Pinned fields
Click on the next to a field label to start pinning.

Details

Assignee

Reporter

Priority

Fix versions

Affects versions

Created April 4, 2016 at 12:52 PM
Updated April 15, 2016 at 3:04 PM
Resolved April 15, 2016 at 3:04 PM