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

Make DublinCoreListener be triggered on aboutToCreate, not documentCreated (9.10 backport)

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 9.10
    • Fix Version/s: 9.10-HF30
    • Component/s: Core
    • Tags:
    • Backlog priority:
      800
    • Impact type:
      Configuration Change
    • Upgrade notes:
      Hide

      To allow 10.10 behavior (which fixes the issue where the first version of a Note or other auto-versioned document doesn't have a creator nor creation date), use the configuration:

        <extension target="org.nuxeo.runtime.ConfigurationService" point="configuration">
          <property name="nuxeo.dclistener.trigger-before-creation">true</property>
        </extension>
      
      Show
      To allow 10.10 behavior (which fixes the issue where the first version of a Note or other auto-versioned document doesn't have a creator nor creation date), use the configuration: <extension target= "org.nuxeo.runtime.ConfigurationService" point= "configuration" > <property name= "nuxeo.dclistener.trigger-before-creation" > true </property> </extension>
    • Sprint:
      nxFG 11.1.4

      Description

      This request corresponds to a backport of NXP-24872 which stated that there is a problem if auto-versioning on creation is activated, because in this case the listener runs too late and the version is therefore without any dublincore information.

      Backporting the new behavior to 9.10 will require that the change is controlled by a configuration property.

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                4 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, 30 minutes
                  1h 30m