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

Synchronization: local doc with null modification date should be updated

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 5.3.1
    • Fix Version/s: 5.3.1, 5.7.1
    • Component/s: Synchronization

      Description

      The following code in DefaultDocumentDifferencesPolicy does not deal with local documents that have a null modification date. This can be the case if a "partial" synchronization happens (document added but not its properties). This should never happen but some cases were detected.

      if (modificationDate == null) {
        log.debug(doc.getPathAsString() + " is skipped because it has no modification date - problem at first import");
      }
      

      We should update the doc instead of just logging.

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved:

                Time Tracking

                Estimated:
                Original Estimate - 0 minutes
                0m
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 1 day, 1 hour
                1d 1h