Subject: Grouper Users - Open Discussion List
RE: [grouper-users] GrouperWS - subject not found via Webservice, found via UI
- From: Chris Hyzer <>
- To: Loris Bennett <>, Grouper Users Mailing List <>
- Subject: RE: [grouper-users] GrouperWS - subject not found via Webservice, found via UI
- Date: Sun, 12 Oct 2008 10:20:07 -0400
- Accept-language: en-US
- Acceptlanguage: en-US
Sorry to say that this is a bug in the web services code. I committed a fix
in 1.4 which will be ready to user at the end of the month or in early nov.
Also I added test cases in for various combinations of subjectId, sourceId,
and subjectIdentifer. If you need something sooner, let me know and I can
probably get a patch to you.
Ps. If you want to do a temporary workaround to get up and running, you could
put the identifier in the subjectId() field, and change your sources.xml so
the searchSubject query has the same query as the searchSubjectByIdentifier
query... Im not sure that wont break something else, but you could try it
until 1.4 if you like. My understanding is there is exactly one subjectId
per subject, but a subject could have many identifiers (alternate id's). The
finding of subjects by id should be faster than searching all identifiers...
the subjectId is used in the grouper_members table.
> -----Original Message-----
> From: Loris Bennett
> Sent: Thursday, October 09, 2008 4:48 AM
> To: Grouper Users Mailing List
> Subject: [grouper-users] GrouperWS - subject not found via Webservice,
> found via UI
> Is it possible with GrouperWS to add members to a group based on
> SubjectIdentifier rather than SubjectId? If I do
> I get the error
> localResultMessage=java.lang.IllegalArgumentException: null
> Subject Id
> whereas setting
> works. I suspect I have not really understood the difference between
> two search types searchSubject and searchSubjectByIdentifier.
> Dr. Loris Bennett
> Computer Centre
> Freie Universität Berlin
> Berlin, Germany
- GrouperWS - subject not found via Webservice, found via UI, Loris Bennett, 10/09/2008
- RE: [grouper-users] GrouperWS - subject not found via Webservice, found via UI, Chris Hyzer, 10/12/2008
Archive powered by MHonArc 2.6.16.