Uploaded image for project: 'Nuxeo Enhanced Viewer'
  1. Nuxeo Enhanced Viewer
  2. NEV-152

Don't put the date in Annotation#lastModifier field

    XMLWordPrintable

    Details

    • Type: Task
    • Status: Resolved
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: 1.0.3, nuxeo-11.0.0
    • Fix Version/s: 10.1.0, nuxeo-11.0.0
    • Component/s: Nuxeo Connector
    • Backlog priority:
      100
    • Sprint:
      nxplatform 11.1.22, nxplatform 11.1.23
    • Story Points:
      0

      Description

      Context

      Since the beginning we're setting the current date to lastModfier field in order to display it on annotation tab.

      This behavior leverages the code below on ARender side:

      getView().setContentHeader(displayName, annotation.getLastModifier());
      

      Where displayName is the user name and the second parameter should be the last updated date whereas it is currently the last user updating the annotation.

      Technical task

      ARender will change this code because sometimes user name is displayed instead of the date. So we need to align our connector to this change coming in the next ARender release.

      On our hand, we need to replace the parameter in setLastModifier calls to the user updating the annotation and set the last updated date to the date field.

      As we're serializing ARender annotations to String in order to store them in Nuxeo, we need to handle the backward compatibility of former annotations.

        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 - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 2 hours, 30 minutes
                  2h 30m