Uploaded image for project: 'Nuxeo Platform'
  1. Nuxeo Platform
  2. NXP-13791

Fix document name display in Nuxeo Shell

    XMLWordPrintable

    Details

    • 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

      Description

      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.

        Attachments

          Activity

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                PagerDuty

                Error rendering 'com.pagerduty.jira-server-plugin:PagerDuty'. Please contact your Jira administrators.