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

Fix NPE when sorting by ecm:path

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 5.3 GA
    • Fix Version/s: 5.2.1, 5.3.1
    • Component/s: Core

      Description

      If the source document has been deleted, version document won't have a parent nor a path.
      So sorting by ecm:path will raise a NPE.

      If both compared path are null, comparison is done with document uid.

        Attachments

          Activity

            People

            • Assignee:
              tmartins Thierry Martins
              Reporter:
              tmartins Thierry Martins
              Participants:
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: