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

Add a lastContributor field in dublincore

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 5.4.2-RC1, 5.4.2
    • Component/s: None
    • Impact type:
      Content model Change
    • Upgrade notes:
      Hide

      VCS is now able to detect the new column and migrate data.

      But, if needed, execute this query :

      create temp table tmp_contributors as
      select id, max(pos) as pos from dc_contributors group by id;

      update dublincore set lastContributor = dc_c.item
      from dublincore dc join tmp_contributors tmp on (dc.id = tmp.id)
      join dc_contributors dc_c on (tmp.id = dc_c.id and tmp.pos = dc_c.pos);

      drop table tmp_contributors;

      Show
      VCS is now able to detect the new column and migrate data. But, if needed, execute this query : create temp table tmp_contributors as select id, max(pos) as pos from dc_contributors group by id; update dublincore set lastContributor = dc_c.item from dublincore dc join tmp_contributors tmp on (dc.id = tmp.id) join dc_contributors dc_c on (tmp.id = dc_c.id and tmp.pos = dc_c.pos); drop table tmp_contributors;

      Description

      Add a new field that represents the name of the last contributor on a document.

      For compatibility, previous version without this field, it will be the last "different" contributor to be displayed until the document is edited.

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved:

                PagerDuty

                Error rendering 'com.pagerduty.jira-server-plugin:PagerDuty'. Please contact your Jira administrators.