WE HAVE SUNSET THIS LISTSERV - Join us at collectionspace@lyrasislists.org
View all threadsHello CSpace community,
In attempts to configure the ownersource field in
base-procedure-acquisition.xml as the "summary" field for acquisition
procedural records:
<field id="ownersource" ui-search="repeatable"
exists-in-services="false">
<!-- TODO This does not work for some reason:
mini="summary,search,list,relate" in-title="yes"-->
<selector>object-acquisition-ownersource</selector>
<merges>
<merge id="owner" rank="2"/>
<merge id="acquisitionSource" rank="1"/>
</merges>
</field>
I receive the following stack trace using Find & Edit > All Record Types
search:
java.lang.RuntimeException::getMappedFieldInDoc: Problem fetching:
ownersource logicalfieldName: objectNameProperty docModel CSID:
5BFBBB65-2041-4B8E-BB52-709120602935
org.nuxeo.ecm.core.api.model.PropertyNotFoundException::Property not found:
ownersource
-- Stack Trace:
-- org.collectionspace.services.common.document.DocumentException:
org.collectionspace.services.common.document.DocumentException:
java.lang.RuntimeException: getMappedFieldInDoc: Problem fetching:
ownersource logicalfieldName: objectNameProperty docModel CSID:
5BFBBB65-2041-4B8E-BB52-709120602935
at
org.collectionspace.services.servicegroup.nuxeo.ServiceGroupDocumentModelHandler.getItemsForGroup(ServiceGroupDocumentModelHandler.java:161)
at
org.collectionspace.services.servicegroup.ServiceGroupResource.getItems(ServiceGroupResource.java:241)
...first 4 lines. 68 more.
It works perfectly fine for the Find & Edit > Acquisition search.
Ray, I know this was discussed already in a broader sense, but what am I
missing here?
Thank you!
--
Yousuf Nejati
CollectionSpace Service Provider
www.yousufnejati.com
Hi Yousuf,
I answered this on the questions forum:
https://wiki.collectionspace.org/questions/165216599
Ray
On Tue, Jan 24, 2017 at 12:03 PM, Yousuf Nejati yousuf.cspace@gmail.com
wrote:
Hello CSpace community,
In attempts to configure the ownersource field in
base-procedure-acquisition.xml as the "summary" field for acquisition
procedural records:
<field id="ownersource" ui-search="repeatable"
exists-in-services="false">
<!-- TODO This does not work for some reason:
mini="summary,search,list,relate" in-title="yes"-->
<selector>object-acquisition-ownersource</selector>
<merges>
<merge id="owner" rank="2"/>
<merge id="acquisitionSource" rank="1"/>
</merges>
</field>
I receive the following stack trace using Find & Edit > All Record Types
search:
java.lang.RuntimeException::getMappedFieldInDoc: Problem fetching:
ownersource logicalfieldName: objectNameProperty docModel CSID:
5BFBBB65-2041-4B8E-BB52-709120602935
org.nuxeo.ecm.core.api.model.PropertyNotFoundException::Property not
found: ownersource
-- Stack Trace:
-- org.collectionspace.services.common.document.DocumentException:
org.collectionspace.services.common.document.DocumentException:
java.lang.RuntimeException: getMappedFieldInDoc: Problem fetching:
ownersource logicalfieldName: objectNameProperty docModel CSID:
5BFBBB65-2041-4B8E-BB52-709120602935
at org.collectionspace.services.servicegroup.nuxeo.
ServiceGroupDocumentModelHandler.getItemsForGroup(
ServiceGroupDocumentModelHandler.java:161)
at org.collectionspace.services.servicegroup.
ServiceGroupResource.getItems(ServiceGroupResource.java:241)
...first 4 lines. 68 more.
It works perfectly fine for the Find & Edit > Acquisition search.
Ray, I know this was discussed already in a broader sense, but what am I
missing here?
Thank you!
--
Yousuf Nejati
CollectionSpace Service Provider
www.yousufnejati.com
Talk mailing list
Talk@lists.collectionspace.org
http://lists.collectionspace.org/mailman/listinfo/talk_
lists.collectionspace.org
Thanks, Ray!
On Tue, Jan 24, 2017 at 1:30 PM, Ray Lee rhlee@berkeley.edu wrote:
Hi Yousuf,
I answered this on the questions forum: https://wiki.
collectionspace.org/questions/165216599
Ray
On Tue, Jan 24, 2017 at 12:03 PM, Yousuf Nejati yousuf.cspace@gmail.com
wrote:
Hello CSpace community,
In attempts to configure the ownersource field in
base-procedure-acquisition.xml as the "summary" field for acquisition
procedural records:
<field id="ownersource" ui-search="repeatable"
exists-in-services="false">
<!-- TODO This does not work for some reason:
mini="summary,search,list,relate" in-title="yes"-->
<selector>object-acquisition-ownersource</selector>
<merges>
<merge id="owner" rank="2"/>
<merge id="acquisitionSource" rank="1"/>
</merges>
</field>
I receive the following stack trace using Find & Edit > All Record Types
search:
java.lang.RuntimeException::getMappedFieldInDoc: Problem fetching:
ownersource logicalfieldName: objectNameProperty docModel CSID:
5BFBBB65-2041-4B8E-BB52-709120602935
org.nuxeo.ecm.core.api.model.PropertyNotFoundException::Property not
found: ownersource
-- Stack Trace:
-- org.collectionspace.services.common.document.DocumentException:
org.collectionspace.services.common.document.DocumentException:
java.lang.RuntimeException: getMappedFieldInDoc: Problem fetching:
ownersource logicalfieldName: objectNameProperty docModel CSID:
5BFBBB65-2041-4B8E-BB52-709120602935
at org.collectionspace.services.servicegroup.nuxeo.ServiceGroup
DocumentModelHandler.getItemsForGroup(ServiceGroupD
ocumentModelHandler.java:161)
at org.collectionspace.services.servicegroup.ServiceGroupResour
ce.getItems(ServiceGroupResource.java:241)
...first 4 lines. 68 more.
It works perfectly fine for the Find & Edit > Acquisition search.
Ray, I know this was discussed already in a broader sense, but what am I
missing here?
Thank you!
--
Yousuf Nejati
CollectionSpace Service Provider
www.yousufnejati.com
Talk mailing list
Talk@lists.collectionspace.org
http://lists.collectionspace.org/mailman/listinfo/talk_lists
.collectionspace.org
Talk mailing list
Talk@lists.collectionspace.org
http://lists.collectionspace.org/mailman/listinfo/talk_
lists.collectionspace.org
--
Yousuf D. Nejati