Skip to Content.
Sympa Menu

grouper-users - [grouper-users] Group Save Lite WS with update sets description to empty string

Subject: Grouper Users - Open Discussion List

List archive

[grouper-users] Group Save Lite WS with update sets description to empty string


Chronological Thread 
  • From: Scott Koranda <>
  • To: grouper-users <>
  • Subject: [grouper-users] Group Save Lite WS with update sets description to empty string
  • Date: Thu, 13 Sep 2012 07:52:52 -0500

Hi,

I am using Grouper WS from Grouper 2.1.2.

I sent this JSON in via a POST

{
"WsRestGroupSaveLiteRequest":{
"actAsSubjectId":"GrouperSystem",
"saveMode":"UPDATE",
"groupName":"Reference:COmanageDataSource:LIGO
Laboratory:AdLIGOProject2",
}
}

to the URL

https://127.0.0.1/grouper-system/servicesRest/v2_1_000/groups/Reference%3ACOmanageDataSource%3ALIGO+Laboratory%3AAdLIGOProject

and the name of the group changed from 'AdLIGOProject' to 'AdLIGOProject2' as
I expected.

The description for the group, however, which had previsouly
been set was unset or set to an empty string. I did not expect
that.

Is the defined behavior that when not specified in the input
JSON the description is set to a null or empty string?

Thanks,

Scott



Archive powered by MHonArc 2.6.16.

Top of Page