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

Fix isTrashed serialization when document model is not persisted

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 10.2
    • Component/s: Core

      Description

      The DocumentModelImpl#isTrashed method currently ask the session if the document is trashed or not using its reference.

      This is a problem for non persisted DocumentModel, like the searchDocument for instance.

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 1 hour
                  1h