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

Drive: fix broken FileSystemItem retro-compatibility

    XMLWordPrintable

    Details

    • Backlog priority:
      800

      Description

      Since NXP-13120, a certain number of implemetations were changed after adding the relaxSyncRootConstraint parameter, typically in:

      protected AbstractDocumentBackedFileSystemItem(String factoryName,
                  DocumentModel doc, boolean relaxSyncRootConstraint) throws ClientException
      
      public DocumentBackedFileItem(VersioningFileSystemItemFactory factory,
                  DocumentModel doc, boolean relaxSyncRootConstraint) throws ClientException
      
      public DocumentBackedFolderItem(String factoryName, DocumentModel doc, boolean relaxSyncRootConstraint) throws ClientException
      

      We need to provide retro-compatibility by adding back all the impacted methods without this parameter, setting it to false by default.

      Should check at least:

      AbstractDocumentBackedFileSystemItem
      DocumentBackedFileItem
      DocumentBackedFolderItem
      FileSystemItemAdapterService
      PermissionSyncRootFactory
      UserSyncRootParentFactory
      UserWorkspaceSyncRootFactory
      UserWorkspaceTopLevelFactory
      FileSystemItemFactory
      AbstractFileSystemItemFactory
      AbstractSyncRootFolderItemFactory
      AbstractVirtualFolderItemFactory
      DefaultFileSystemItemFactory
      DefaultSyncRootFolderItemFactory
      DummyFileItem
      DummyFileItemFactory
      DummyFolderItem
      DummyFolderItemFactory
      

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

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