WIP test fix draft orphan
authorSylvain Thénault <sylvain.thenault@logilab.fr>
Tue, 10 Oct 2017 12:17:00 +0200
changeset 2707 57ff8e828e83
unstable orphan: obsolete parent 5f5ed5ee3056
parent 2706 5f5ed5ee3056
WIP test fix to be folded or not depending on the fix on the cubicweb side (discussion started)
cubicweb_seda/views/archiveunit.py
cubicweb_seda/views/simplified.py
--- a/cubicweb_seda/views/archiveunit.py	Mon Oct 09 17:04:39 2017 +0200
+++ b/cubicweb_seda/views/archiveunit.py	Tue Oct 10 12:17:00 2017 +0200
@@ -706,6 +706,8 @@
 do_ref_afs = afs.derive(__name__,
                         is_instance('SEDADataObjectReference') & typed_reference())
 do_ref_afs.tag_attribute(('SEDADataObjectReference', 'user_cardinality'), 'main', 'hidden')
+# XXX
+do_ref_afs.tag_attribute(('SEDADataObjectReference', 'user_cardinality'), 'inlined', 'hidden')
 
 for etype in ('SEDAAltIsPartOfArchiveUnitRefId',
               'SEDAAltIsVersionOfArchiveUnitRefId',
--- a/cubicweb_seda/views/simplified.py	Mon Oct 09 17:04:39 2017 +0200
+++ b/cubicweb_seda/views/simplified.py	Tue Oct 10 12:17:00 2017 +0200
@@ -1,4 +1,4 @@
-# copyright 2016-2017 LOGILAB S.A. (Paris, FRANCE), all rights reserved.
+# copyright 2016 LOGILAB S.A. (Paris, FRANCE), all rights reserved.
 # contact http://www.logilab.fr -- mailto:contact@logilab.fr
 #
 # This program is free software: you can redistribute it and/or modify it under