WE HAVE SUNSET THIS LISTSERV - Join us at collectionspace@lyrasislists.org
View
all threads
JM
Jesse Martinez
Wed, Sep 19, 2012 3:49 PM
Another question about something that's been buggin' me lately.
I've extended the Person auth on my tenant with a few custom Person
auth fields. These fields save and update just fine so I know they
work. But I can't get their values to appear in the Terms Used box on
the right sidebar.
I've checked the services API and the correct values do appear:
personauthorities/906e1602-aca7-423d-99ab/items/2d2b0ae6-5a31-4564-8ec6/authorityrefs
But when I hit the corresponding app layer API, there is an empty set:
tenant/mmi/vocabularies/person/authorities/2d2b0ae6-5a31-4564-8ec6?pageNum=0&pageSize=5&sortDir=1&sortKey=number
returns
{"termsUsed":{"results":[],"pagination":{}}}
This API call doesn't seem to hit the services layer as there is no
log of any incoming requests in cspace-services.log (Maybe some
caching going on??)
The tenant bindings for the schema extension are correct as I've
checked with with the app layer configurations and they match. All
other authority fields in other schema extensions show up in the Terms
Used box as expected. And if there was a typo in either the tenant
bindings or app config then I'd either see some error messages in the
log or I'd get some wonky behavior that indicates something's wrong:
fields not saving, UI not loading, tomcat barfing, etc.
Any suggestions on what I may be missing?
Thanks,
Another question about something that's been buggin' me lately.
I've extended the Person auth on my tenant with a few custom Person
auth fields. These fields save and update just fine so I know they
work. But I can't get their values to appear in the Terms Used box on
the right sidebar.
I've checked the services API and the correct values do appear:
personauthorities/906e1602-aca7-423d-99ab/items/2d2b0ae6-5a31-4564-8ec6/authorityrefs
But when I hit the corresponding app layer API, there is an empty set:
tenant/mmi/vocabularies/person/authorities/2d2b0ae6-5a31-4564-8ec6?pageNum=0&pageSize=5&sortDir=1&sortKey=number
returns
{"termsUsed":{"results":[],"pagination":{}}}
This API call doesn't seem to hit the services layer as there is no
log of any incoming requests in cspace-services.log (Maybe some
caching going on??)
The tenant bindings for the schema extension are correct as I've
checked with with the app layer configurations and they match. All
other authority fields in other schema extensions show up in the Terms
Used box as expected. And if there was a typo in either the tenant
bindings or app config then I'd either see some error messages in the
log or I'd get some wonky behavior that indicates something's wrong:
fields not saving, UI not loading, tomcat barfing, etc.
Any suggestions on what I may be missing?
Thanks,
- Jesse
PS
Patrick Schmitz
Wed, Sep 19, 2012 4:08 PM
IIRC, Person has not had any terms used up to now, right? It is possible
that the app layer needs some config to tell it to even make this call. Org
does support this, so that's a basis for inquiry. I will look around to see
what I can find.
Patrick
-----Original Message-----
From: talk-bounces@lists.collectionspace.org
[mailto:talk-bounces@lists.collectionspace.org] On Behalf Of
Jesse Martinez
Sent: Wednesday, September 19, 2012 8:49 AM
To: CollectionSpace Work list; CollectionSpace Talk List
Subject: [Talk] trouble with authRefs
Another question about something that's been buggin' me lately.
I've extended the Person auth on my tenant with a few custom
Person auth fields. These fields save and update just fine so
I know they work. But I can't get their values to appear in
the Terms Used box on the right sidebar.
I've checked the services API and the correct values do appear:
personauthorities/906e1602-aca7-423d-99ab/items/2d2b0ae6-5a31-
But when I hit the corresponding app layer API, there is an empty set:
tenant/mmi/vocabularies/person/authorities/2d2b0ae6-5a31-4564-
8ec6?pageNum=0&pageSize=5&sortDir=1&sortKey=number
returns
{"termsUsed":{"results":[],"pagination":{}}}
This API call doesn't seem to hit the services layer as there
is no log of any incoming requests in cspace-services.log
(Maybe some caching going on??)
The tenant bindings for the schema extension are correct as
I've checked with with the app layer configurations and they
match. All other authority fields in other schema extensions
show up in the Terms Used box as expected. And if there was a
typo in either the tenant bindings or app config then I'd
either see some error messages in the log or I'd get some
wonky behavior that indicates something's wrong:
fields not saving, UI not loading, tomcat barfing, etc.
Any suggestions on what I may be missing?
Thanks,
Talk mailing list
Talk@lists.collectionspace.org
http://lists.collectionspace.org/mailman/listinfo/talk_lists.c
ollectionspace.org
IIRC, Person has not had any terms used up to now, right? It is possible
that the app layer needs some config to tell it to even make this call. Org
does support this, so that's a basis for inquiry. I will look around to see
what I can find.
Patrick
> -----Original Message-----
> From: talk-bounces@lists.collectionspace.org
> [mailto:talk-bounces@lists.collectionspace.org] On Behalf Of
> Jesse Martinez
> Sent: Wednesday, September 19, 2012 8:49 AM
> To: CollectionSpace Work list; CollectionSpace Talk List
> Subject: [Talk] trouble with authRefs
>
> Another question about something that's been buggin' me lately.
>
>
> I've extended the Person auth on my tenant with a few custom
> Person auth fields. These fields save and update just fine so
> I know they work. But I can't get their values to appear in
> the Terms Used box on the right sidebar.
>
> I've checked the services API and the correct values do appear:
> personauthorities/906e1602-aca7-423d-99ab/items/2d2b0ae6-5a31-
4564-8ec6/authorityrefs
>
> But when I hit the corresponding app layer API, there is an empty set:
> tenant/mmi/vocabularies/person/authorities/2d2b0ae6-5a31-4564-
> 8ec6?pageNum=0&pageSize=5&sortDir=1&sortKey=number
>
> returns
> {"termsUsed":{"results":[],"pagination":{}}}
>
> This API call doesn't seem to hit the services layer as there
> is no log of any incoming requests in cspace-services.log
> (Maybe some caching going on??)
>
> The tenant bindings for the schema extension are correct as
> I've checked with with the app layer configurations and they
> match. All other authority fields in other schema extensions
> show up in the Terms Used box as expected. And if there was a
> typo in either the tenant bindings or app config then I'd
> either see some error messages in the log or I'd get some
> wonky behavior that indicates something's wrong:
> fields not saving, UI not loading, tomcat barfing, etc.
>
> Any suggestions on what I may be missing?
>
> Thanks,
>
> - Jesse
>
> _______________________________________________
> Talk mailing list
> Talk@lists.collectionspace.org
> http://lists.collectionspace.org/mailman/listinfo/talk_lists.c
> ollectionspace.org
>
JM
Jesse Martinez
Wed, Sep 19, 2012 4:16 PM
Interesting. That also crossed my mind, I'll check it out. Thanks, Patrick.
On Wed, Sep 19, 2012 at 12:08 PM, Patrick Schmitz pschmitz@berkeley.edu wrote:
IIRC, Person has not had any terms used up to now, right? It is possible
that the app layer needs some config to tell it to even make this call. Org
does support this, so that's a basis for inquiry. I will look around to see
what I can find.
Patrick
-----Original Message-----
From: talk-bounces@lists.collectionspace.org
[mailto:talk-bounces@lists.collectionspace.org] On Behalf Of
Jesse Martinez
Sent: Wednesday, September 19, 2012 8:49 AM
To: CollectionSpace Work list; CollectionSpace Talk List
Subject: [Talk] trouble with authRefs
Another question about something that's been buggin' me lately.
I've extended the Person auth on my tenant with a few custom
Person auth fields. These fields save and update just fine so
I know they work. But I can't get their values to appear in
the Terms Used box on the right sidebar.
I've checked the services API and the correct values do appear:
personauthorities/906e1602-aca7-423d-99ab/items/2d2b0ae6-5a31-
But when I hit the corresponding app layer API, there is an empty set:
tenant/mmi/vocabularies/person/authorities/2d2b0ae6-5a31-4564-
8ec6?pageNum=0&pageSize=5&sortDir=1&sortKey=number
returns
{"termsUsed":{"results":[],"pagination":{}}}
This API call doesn't seem to hit the services layer as there
is no log of any incoming requests in cspace-services.log
(Maybe some caching going on??)
The tenant bindings for the schema extension are correct as
I've checked with with the app layer configurations and they
match. All other authority fields in other schema extensions
show up in the Terms Used box as expected. And if there was a
typo in either the tenant bindings or app config then I'd
either see some error messages in the log or I'd get some
wonky behavior that indicates something's wrong:
fields not saving, UI not loading, tomcat barfing, etc.
Any suggestions on what I may be missing?
Thanks,
Talk mailing list
Talk@lists.collectionspace.org
http://lists.collectionspace.org/mailman/listinfo/talk_lists.c
ollectionspace.org
Interesting. That also crossed my mind, I'll check it out. Thanks, Patrick.
On Wed, Sep 19, 2012 at 12:08 PM, Patrick Schmitz <pschmitz@berkeley.edu> wrote:
> IIRC, Person has not had any terms used up to now, right? It is possible
> that the app layer needs some config to tell it to even make this call. Org
> does support this, so that's a basis for inquiry. I will look around to see
> what I can find.
>
> Patrick
>
>> -----Original Message-----
>> From: talk-bounces@lists.collectionspace.org
>> [mailto:talk-bounces@lists.collectionspace.org] On Behalf Of
>> Jesse Martinez
>> Sent: Wednesday, September 19, 2012 8:49 AM
>> To: CollectionSpace Work list; CollectionSpace Talk List
>> Subject: [Talk] trouble with authRefs
>>
>> Another question about something that's been buggin' me lately.
>>
>>
>> I've extended the Person auth on my tenant with a few custom
>> Person auth fields. These fields save and update just fine so
>> I know they work. But I can't get their values to appear in
>> the Terms Used box on the right sidebar.
>>
>> I've checked the services API and the correct values do appear:
>> personauthorities/906e1602-aca7-423d-99ab/items/2d2b0ae6-5a31-
> 4564-8ec6/authorityrefs
>>
>> But when I hit the corresponding app layer API, there is an empty set:
>> tenant/mmi/vocabularies/person/authorities/2d2b0ae6-5a31-4564-
>> 8ec6?pageNum=0&pageSize=5&sortDir=1&sortKey=number
>>
>> returns
>> {"termsUsed":{"results":[],"pagination":{}}}
>>
>> This API call doesn't seem to hit the services layer as there
>> is no log of any incoming requests in cspace-services.log
>> (Maybe some caching going on??)
>>
>> The tenant bindings for the schema extension are correct as
>> I've checked with with the app layer configurations and they
>> match. All other authority fields in other schema extensions
>> show up in the Terms Used box as expected. And if there was a
>> typo in either the tenant bindings or app config then I'd
>> either see some error messages in the log or I'd get some
>> wonky behavior that indicates something's wrong:
>> fields not saving, UI not loading, tomcat barfing, etc.
>>
>> Any suggestions on what I may be missing?
>>
>> Thanks,
>>
>> - Jesse
>>
>> _______________________________________________
>> Talk mailing list
>> Talk@lists.collectionspace.org
>> http://lists.collectionspace.org/mailman/listinfo/talk_lists.c
>> ollectionspace.org
>>
>
CH
Chris Hoffman
Wed, Sep 19, 2012 4:18 PM
I'm 99% sure we made modifications to person for the Hearst Museum of Anthro, but I also recall Ray having to make some modifications locally to have those work correctly.
Chris
On Sep 19, 2012, at 9:16 AM, Jesse Martinez wrote:
Interesting. That also crossed my mind, I'll check it out. Thanks, Patrick.
On Wed, Sep 19, 2012 at 12:08 PM, Patrick Schmitz pschmitz@berkeley.edu wrote:
IIRC, Person has not had any terms used up to now, right? It is possible
that the app layer needs some config to tell it to even make this call. Org
does support this, so that's a basis for inquiry. I will look around to see
what I can find.
Patrick
-----Original Message-----
From: talk-bounces@lists.collectionspace.org
[mailto:talk-bounces@lists.collectionspace.org] On Behalf Of
Jesse Martinez
Sent: Wednesday, September 19, 2012 8:49 AM
To: CollectionSpace Work list; CollectionSpace Talk List
Subject: [Talk] trouble with authRefs
Another question about something that's been buggin' me lately.
I've extended the Person auth on my tenant with a few custom
Person auth fields. These fields save and update just fine so
I know they work. But I can't get their values to appear in
the Terms Used box on the right sidebar.
I've checked the services API and the correct values do appear:
personauthorities/906e1602-aca7-423d-99ab/items/2d2b0ae6-5a31-
But when I hit the corresponding app layer API, there is an empty set:
tenant/mmi/vocabularies/person/authorities/2d2b0ae6-5a31-4564-
8ec6?pageNum=0&pageSize=5&sortDir=1&sortKey=number
returns
{"termsUsed":{"results":[],"pagination":{}}}
This API call doesn't seem to hit the services layer as there
is no log of any incoming requests in cspace-services.log
(Maybe some caching going on??)
The tenant bindings for the schema extension are correct as
I've checked with with the app layer configurations and they
match. All other authority fields in other schema extensions
show up in the Terms Used box as expected. And if there was a
typo in either the tenant bindings or app config then I'd
either see some error messages in the log or I'd get some
wonky behavior that indicates something's wrong:
fields not saving, UI not loading, tomcat barfing, etc.
Any suggestions on what I may be missing?
Thanks,
Talk mailing list
Talk@lists.collectionspace.org
http://lists.collectionspace.org/mailman/listinfo/talk_lists.c
ollectionspace.org
I'm 99% sure we made modifications to person for the Hearst Museum of Anthro, but I also recall Ray having to make some modifications locally to have those work correctly.
Chris
On Sep 19, 2012, at 9:16 AM, Jesse Martinez wrote:
> Interesting. That also crossed my mind, I'll check it out. Thanks, Patrick.
>
> On Wed, Sep 19, 2012 at 12:08 PM, Patrick Schmitz <pschmitz@berkeley.edu> wrote:
>> IIRC, Person has not had any terms used up to now, right? It is possible
>> that the app layer needs some config to tell it to even make this call. Org
>> does support this, so that's a basis for inquiry. I will look around to see
>> what I can find.
>>
>> Patrick
>>
>>> -----Original Message-----
>>> From: talk-bounces@lists.collectionspace.org
>>> [mailto:talk-bounces@lists.collectionspace.org] On Behalf Of
>>> Jesse Martinez
>>> Sent: Wednesday, September 19, 2012 8:49 AM
>>> To: CollectionSpace Work list; CollectionSpace Talk List
>>> Subject: [Talk] trouble with authRefs
>>>
>>> Another question about something that's been buggin' me lately.
>>>
>>>
>>> I've extended the Person auth on my tenant with a few custom
>>> Person auth fields. These fields save and update just fine so
>>> I know they work. But I can't get their values to appear in
>>> the Terms Used box on the right sidebar.
>>>
>>> I've checked the services API and the correct values do appear:
>>> personauthorities/906e1602-aca7-423d-99ab/items/2d2b0ae6-5a31-
>> 4564-8ec6/authorityrefs
>>>
>>> But when I hit the corresponding app layer API, there is an empty set:
>>> tenant/mmi/vocabularies/person/authorities/2d2b0ae6-5a31-4564-
>>> 8ec6?pageNum=0&pageSize=5&sortDir=1&sortKey=number
>>>
>>> returns
>>> {"termsUsed":{"results":[],"pagination":{}}}
>>>
>>> This API call doesn't seem to hit the services layer as there
>>> is no log of any incoming requests in cspace-services.log
>>> (Maybe some caching going on??)
>>>
>>> The tenant bindings for the schema extension are correct as
>>> I've checked with with the app layer configurations and they
>>> match. All other authority fields in other schema extensions
>>> show up in the Terms Used box as expected. And if there was a
>>> typo in either the tenant bindings or app config then I'd
>>> either see some error messages in the log or I'd get some
>>> wonky behavior that indicates something's wrong:
>>> fields not saving, UI not loading, tomcat barfing, etc.
>>>
>>> Any suggestions on what I may be missing?
>>>
>>> Thanks,
>>>
>>> - Jesse
>>>
>>> _______________________________________________
>>> Talk mailing list
>>> Talk@lists.collectionspace.org
>>> http://lists.collectionspace.org/mailman/listinfo/talk_lists.c
>>> ollectionspace.org
>>>
>>
>
> _______________________________________________
> Talk mailing list
> Talk@lists.collectionspace.org
> http://lists.collectionspace.org/mailman/listinfo/talk_lists.collectionspace.org
RL
Ray Lee
Wed, Sep 19, 2012 4:42 PM
Hi Jesse,
There is an app layer configuration setting for this, as Patrick surmised:
<terms-used>true</terms-used>
Ray
On Wed, 19 Sep 2012 09:18:00 -0700, Chris Hoffman
chris.hoffman@berkeley.edu wrote:
I'm 99% sure we made modifications to person for the Hearst Museum of
Anthro, but I also recall Ray having to make some modifications locally
have those work correctly.
Chris
On Sep 19, 2012, at 9:16 AM, Jesse Martinez wrote:
Interesting. That also crossed my mind, I'll check it out. Thanks,
Patrick.
On Wed, Sep 19, 2012 at 12:08 PM, Patrick Schmitz
pschmitz@berkeley.edu wrote:
IIRC, Person has not had any terms used up to now, right? It is
that the app layer needs some config to tell it to even make this
Org
does support this, so that's a basis for inquiry. I will look around
see
what I can find.
Patrick
-----Original Message-----
From: talk-bounces@lists.collectionspace.org
[mailto:talk-bounces@lists.collectionspace.org] On Behalf Of
Jesse Martinez
Sent: Wednesday, September 19, 2012 8:49 AM
To: CollectionSpace Work list; CollectionSpace Talk List
Subject: [Talk] trouble with authRefs
Another question about something that's been buggin' me lately.
I've extended the Person auth on my tenant with a few custom
Person auth fields. These fields save and update just fine so
I know they work. But I can't get their values to appear in
the Terms Used box on the right sidebar.
I've checked the services API and the correct values do appear:
personauthorities/906e1602-aca7-423d-99ab/items/2d2b0ae6-5a31-
But when I hit the corresponding app layer API, there is an empty
tenant/mmi/vocabularies/person/authorities/2d2b0ae6-5a31-4564-
8ec6?pageNum=0&pageSize=5&sortDir=1&sortKey=number
returns
{"termsUsed":{"results":[],"pagination":{}}}
This API call doesn't seem to hit the services layer as there
is no log of any incoming requests in cspace-services.log
(Maybe some caching going on??)
The tenant bindings for the schema extension are correct as
I've checked with with the app layer configurations and they
match. All other authority fields in other schema extensions
show up in the Terms Used box as expected. And if there was a
typo in either the tenant bindings or app config then I'd
either see some error messages in the log or I'd get some
wonky behavior that indicates something's wrong:
fields not saving, UI not loading, tomcat barfing, etc.
Any suggestions on what I may be missing?
Thanks,
Talk mailing list
Talk@lists.collectionspace.org
http://lists.collectionspace.org/mailman/listinfo/talk_lists.c
ollectionspace.org
Hi Jesse,
There is an app layer configuration setting for this, as Patrick surmised:
<terms-used>true</terms-used>
Ray
On Wed, 19 Sep 2012 09:18:00 -0700, Chris Hoffman
<chris.hoffman@berkeley.edu> wrote:
> I'm 99% sure we made modifications to person for the Hearst Museum of
> Anthro, but I also recall Ray having to make some modifications locally
to
> have those work correctly.
> Chris
>
>
> On Sep 19, 2012, at 9:16 AM, Jesse Martinez wrote:
>
>> Interesting. That also crossed my mind, I'll check it out. Thanks,
>> Patrick.
>>
>> On Wed, Sep 19, 2012 at 12:08 PM, Patrick Schmitz
>> <pschmitz@berkeley.edu> wrote:
>>> IIRC, Person has not had any terms used up to now, right? It is
possible
>>> that the app layer needs some config to tell it to even make this
call.
>>> Org
>>> does support this, so that's a basis for inquiry. I will look around
to
>>> see
>>> what I can find.
>>>
>>> Patrick
>>>
>>>> -----Original Message-----
>>>> From: talk-bounces@lists.collectionspace.org
>>>> [mailto:talk-bounces@lists.collectionspace.org] On Behalf Of
>>>> Jesse Martinez
>>>> Sent: Wednesday, September 19, 2012 8:49 AM
>>>> To: CollectionSpace Work list; CollectionSpace Talk List
>>>> Subject: [Talk] trouble with authRefs
>>>>
>>>> Another question about something that's been buggin' me lately.
>>>>
>>>>
>>>> I've extended the Person auth on my tenant with a few custom
>>>> Person auth fields. These fields save and update just fine so
>>>> I know they work. But I can't get their values to appear in
>>>> the Terms Used box on the right sidebar.
>>>>
>>>> I've checked the services API and the correct values do appear:
>>>> personauthorities/906e1602-aca7-423d-99ab/items/2d2b0ae6-5a31-
>>> 4564-8ec6/authorityrefs
>>>>
>>>> But when I hit the corresponding app layer API, there is an empty
set:
>>>> tenant/mmi/vocabularies/person/authorities/2d2b0ae6-5a31-4564-
>>>> 8ec6?pageNum=0&pageSize=5&sortDir=1&sortKey=number
>>>>
>>>> returns
>>>> {"termsUsed":{"results":[],"pagination":{}}}
>>>>
>>>> This API call doesn't seem to hit the services layer as there
>>>> is no log of any incoming requests in cspace-services.log
>>>> (Maybe some caching going on??)
>>>>
>>>> The tenant bindings for the schema extension are correct as
>>>> I've checked with with the app layer configurations and they
>>>> match. All other authority fields in other schema extensions
>>>> show up in the Terms Used box as expected. And if there was a
>>>> typo in either the tenant bindings or app config then I'd
>>>> either see some error messages in the log or I'd get some
>>>> wonky behavior that indicates something's wrong:
>>>> fields not saving, UI not loading, tomcat barfing, etc.
>>>>
>>>> Any suggestions on what I may be missing?
>>>>
>>>> Thanks,
>>>>
>>>> - Jesse
>>>>
>>>> _______________________________________________
>>>> Talk mailing list
>>>> Talk@lists.collectionspace.org
>>>> http://lists.collectionspace.org/mailman/listinfo/talk_lists.c
>>>> ollectionspace.org
>>>>
>>>
>>
>> _______________________________________________
>> Talk mailing list
>> Talk@lists.collectionspace.org
>>
http://lists.collectionspace.org/mailman/listinfo/talk_lists.collectionspace.org
>
>
> _______________________________________________
> Work mailing list
> Work@lists.collectionspace.org
>
http://lists.collectionspace.org/mailman/listinfo/work_lists.collectionspace.org
JM
Jesse Martinez
Wed, Sep 19, 2012 4:59 PM
Thanks once again, Ray. That was the missing piece.
On Wed, Sep 19, 2012 at 12:42 PM, Ray Lee rhlee@berkeley.edu wrote:
Hi Jesse,
There is an app layer configuration setting for this, as Patrick surmised:
<terms-used>true</terms-used>
Ray
On Wed, 19 Sep 2012 09:18:00 -0700, Chris Hoffman
chris.hoffman@berkeley.edu wrote:
I'm 99% sure we made modifications to person for the Hearst Museum of
Anthro, but I also recall Ray having to make some modifications locally
have those work correctly.
Chris
On Sep 19, 2012, at 9:16 AM, Jesse Martinez wrote:
Interesting. That also crossed my mind, I'll check it out. Thanks,
Patrick.
On Wed, Sep 19, 2012 at 12:08 PM, Patrick Schmitz
pschmitz@berkeley.edu wrote:
IIRC, Person has not had any terms used up to now, right? It is
that the app layer needs some config to tell it to even make this
Org
does support this, so that's a basis for inquiry. I will look around
see
what I can find.
Patrick
-----Original Message-----
From: talk-bounces@lists.collectionspace.org
[mailto:talk-bounces@lists.collectionspace.org] On Behalf Of
Jesse Martinez
Sent: Wednesday, September 19, 2012 8:49 AM
To: CollectionSpace Work list; CollectionSpace Talk List
Subject: [Talk] trouble with authRefs
Another question about something that's been buggin' me lately.
I've extended the Person auth on my tenant with a few custom
Person auth fields. These fields save and update just fine so
I know they work. But I can't get their values to appear in
the Terms Used box on the right sidebar.
I've checked the services API and the correct values do appear:
personauthorities/906e1602-aca7-423d-99ab/items/2d2b0ae6-5a31-
But when I hit the corresponding app layer API, there is an empty
tenant/mmi/vocabularies/person/authorities/2d2b0ae6-5a31-4564-
8ec6?pageNum=0&pageSize=5&sortDir=1&sortKey=number
returns
{"termsUsed":{"results":[],"pagination":{}}}
This API call doesn't seem to hit the services layer as there
is no log of any incoming requests in cspace-services.log
(Maybe some caching going on??)
The tenant bindings for the schema extension are correct as
I've checked with with the app layer configurations and they
match. All other authority fields in other schema extensions
show up in the Terms Used box as expected. And if there was a
typo in either the tenant bindings or app config then I'd
either see some error messages in the log or I'd get some
wonky behavior that indicates something's wrong:
fields not saving, UI not loading, tomcat barfing, etc.
Any suggestions on what I may be missing?
Thanks,
Talk mailing list
Talk@lists.collectionspace.org
http://lists.collectionspace.org/mailman/listinfo/talk_lists.c
ollectionspace.org
Thanks once again, Ray. That was the missing piece.
On Wed, Sep 19, 2012 at 12:42 PM, Ray Lee <rhlee@berkeley.edu> wrote:
> Hi Jesse,
> There is an app layer configuration setting for this, as Patrick surmised:
>
> <terms-used>true</terms-used>
>
> Ray
>
>
> On Wed, 19 Sep 2012 09:18:00 -0700, Chris Hoffman
> <chris.hoffman@berkeley.edu> wrote:
>> I'm 99% sure we made modifications to person for the Hearst Museum of
>> Anthro, but I also recall Ray having to make some modifications locally
> to
>> have those work correctly.
>> Chris
>>
>>
>> On Sep 19, 2012, at 9:16 AM, Jesse Martinez wrote:
>>
>>> Interesting. That also crossed my mind, I'll check it out. Thanks,
>>> Patrick.
>>>
>>> On Wed, Sep 19, 2012 at 12:08 PM, Patrick Schmitz
>>> <pschmitz@berkeley.edu> wrote:
>>>> IIRC, Person has not had any terms used up to now, right? It is
> possible
>>>> that the app layer needs some config to tell it to even make this
> call.
>>>> Org
>>>> does support this, so that's a basis for inquiry. I will look around
> to
>>>> see
>>>> what I can find.
>>>>
>>>> Patrick
>>>>
>>>>> -----Original Message-----
>>>>> From: talk-bounces@lists.collectionspace.org
>>>>> [mailto:talk-bounces@lists.collectionspace.org] On Behalf Of
>>>>> Jesse Martinez
>>>>> Sent: Wednesday, September 19, 2012 8:49 AM
>>>>> To: CollectionSpace Work list; CollectionSpace Talk List
>>>>> Subject: [Talk] trouble with authRefs
>>>>>
>>>>> Another question about something that's been buggin' me lately.
>>>>>
>>>>>
>>>>> I've extended the Person auth on my tenant with a few custom
>>>>> Person auth fields. These fields save and update just fine so
>>>>> I know they work. But I can't get their values to appear in
>>>>> the Terms Used box on the right sidebar.
>>>>>
>>>>> I've checked the services API and the correct values do appear:
>>>>> personauthorities/906e1602-aca7-423d-99ab/items/2d2b0ae6-5a31-
>>>> 4564-8ec6/authorityrefs
>>>>>
>>>>> But when I hit the corresponding app layer API, there is an empty
> set:
>>>>> tenant/mmi/vocabularies/person/authorities/2d2b0ae6-5a31-4564-
>>>>> 8ec6?pageNum=0&pageSize=5&sortDir=1&sortKey=number
>>>>>
>>>>> returns
>>>>> {"termsUsed":{"results":[],"pagination":{}}}
>>>>>
>>>>> This API call doesn't seem to hit the services layer as there
>>>>> is no log of any incoming requests in cspace-services.log
>>>>> (Maybe some caching going on??)
>>>>>
>>>>> The tenant bindings for the schema extension are correct as
>>>>> I've checked with with the app layer configurations and they
>>>>> match. All other authority fields in other schema extensions
>>>>> show up in the Terms Used box as expected. And if there was a
>>>>> typo in either the tenant bindings or app config then I'd
>>>>> either see some error messages in the log or I'd get some
>>>>> wonky behavior that indicates something's wrong:
>>>>> fields not saving, UI not loading, tomcat barfing, etc.
>>>>>
>>>>> Any suggestions on what I may be missing?
>>>>>
>>>>> Thanks,
>>>>>
>>>>> - Jesse
>>>>>
>>>>> _______________________________________________
>>>>> Talk mailing list
>>>>> Talk@lists.collectionspace.org
>>>>> http://lists.collectionspace.org/mailman/listinfo/talk_lists.c
>>>>> ollectionspace.org
>>>>>
>>>>
>>>
>>> _______________________________________________
>>> Talk mailing list
>>> Talk@lists.collectionspace.org
>>>
> http://lists.collectionspace.org/mailman/listinfo/talk_lists.collectionspace.org
>>
>>
>> _______________________________________________
>> Work mailing list
>> Work@lists.collectionspace.org
>>
> http://lists.collectionspace.org/mailman/listinfo/work_lists.collectionspace.org