[
https://jira.nuxeo.org/browse/NXP-6098?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Arnaud Kervern updated NXP-6098:
--------------------------------
Upgrade notes:
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;
was:
To set a default value for previously created doc, 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;
> Add a lastContributor field in dublincore
> -----------------------------------------
>
> Key: NXP-6098
> URL: https://jira.nuxeo.org/browse/NXP-6098
> Project: Nuxeo Enterprise Platform
> Issue Type: Improvement
> Reporter: Arnaud Kervern
> Fix For: 5.4.1
>
>
> 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.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://jira.nuxeo.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
_______________________________________________
ECM-tickets mailing list
[email protected]
http://lists.nuxeo.com/mailman/listinfo/ecm-tickets