[PATCH 1 of 1 eac] [entities] Fix AuthorityRecord.fetch_attrs

Sylvain Thenault sylvain.thenault at logilab.fr
Fri Feb 24 16:02:55 CET 2017


# HG changeset patch
# User Sylvain Thénault <sylvain.thenault at logilab.fr>
# Date 1487948531 -3600
#      Fri Feb 24 16:02:11 2017 +0100
# Node ID 14f04db9621e25f9176d59f5af2340347376e15c
# Parent  7f07761bb1db7148640241a8533405e5e4fd0c93
[entities] Fix AuthorityRecord.fetch_attrs

there is not ark attribute in there.

diff --git a/cubicweb_eac/entities.py b/cubicweb_eac/entities.py
--- a/cubicweb_eac/entities.py
+++ b/cubicweb_eac/entities.py
@@ -31,11 +31,11 @@ from cubicweb.view import EntityAdapter
 from cubicweb_eac import TYPE_MAPPING, ADDRESS_MAPPING, MAINTENANCETYPE_MAPPING
 
 
 class AuthorityRecord(AnyEntity):
     __regid__ = 'AuthorityRecord'
-    fetch_attrs, cw_fetch_order = fetch_config(('agent_kind', 'ark'))
+    fetch_attrs, cw_fetch_order = fetch_config(('agent_kind',))
 
     def dc_title(self):
         """A NameEntry of "authorized" form variant, if any; otherwise any
         NameEntry.
         """


More information about the saem-devel mailing list