[PATCH 2 of 2 saem_ref V2] [hook] export EAC ARK on AuthorityRecordId
philippe.pepiot at logilab.fr
Fri Feb 24 18:11:02 CET 2017
On 02/24/2017 03:37 PM, Philippe Pepiot wrote:
> # HG changeset patch
> # User Philippe Pepiot <philippe.pepiot at logilab.fr>
> # Date 1487946737 -3600
> # Fri Feb 24 15:32:17 2017 +0100
> # Node ID bfa49acea3f1b7271ec74f85d85c1d1cba253d66
> # Parent 5b36edccfd6eab8e7cf78107a779335654ec4a91
> # Available At https://hg.logilab.org/review/cubes/saem_ref
> # hg pull https://hg.logilab.org/review/cubes/saem_ref -r bfa49acea3f1
> # Tested at: https://jenkins.logilab.org/job/cubicweb-saem_ref/101/
> [hook] export EAC ARK on AuthorityRecordId
> Copy (eventually) created recordId to otherRecordId and set recordId to ARK
> (thus export ARK in a <recordId /> field).
> Do this in hooks as well as in dataimport machinery which use MassiveStore and
> doesn't trigger hooks.
> Closes extranet #12572781
I pruned this patch. Since we only want to export ark in EAC <recordId>,
it seems a lot simplier to handle this directly in EAC-CPF adapter.
More information about the saem-devel