-
Type: Bug
-
Status: Resolved
-
Priority: Minor
-
Resolution: Fixed
-
Affects Version/s: 5.8
-
Fix Version/s: 5.8.0-HF08, 5.9.3
-
Component/s: Shell
A document whose name starts with a dot will be incompletely display in Nuxeo Shell.
Administrator@localhost:/> mkdir Folder .testing Administrator@localhost:/> ls /.testin Administrator@localhost:/> rm /.testin org.nuxeo.ecm.automation.client.RemoteException: Failed to execute operation: Document.Delete
There is a problem to get the last segment of a path, which is used as the document name. Actually, when the segment starts with a dot, the offset is not correctly set : it is reset like if it was a slash, whereas it should be incremented like for any other character.