Skip to Content.
Sympa Menu

grouper-users - [grouper-users] groupSave WebService call and spaces in values

Subject: Grouper Users - Open Discussion List

List archive

[grouper-users] groupSave WebService call and spaces in values


Chronological Thread 
  • From: Kumi Hagimoto <>
  • To:
  • Subject: [grouper-users] groupSave WebService call and spaces in values
  • Date: Thu, 9 Mar 2017 20:01:19 +0000 (UTC)
  • Ironport-phdr: 9a23:8zr2Tx8oHU1+bP9uRHKM819IXTAuvvDOBiVQ1KB42uIcTK2v8tzYMVDF4r011RmSDNidt6wP0rCH+4nbGkU4qa6bt34DdJEeHzQksu4x2zIaPcieFEfgJ+TrZSFpVO5LVVti4m3peRMNQJW2aFLduGC94iAPERvjKwV1Ov71GonPhMiryuy+4ZPebgFIiTanbr5/LRq6oRjPusQSnIBvNrs/xhzVr3VSZu9Y33loJVWdnxb94se/4ptu+DlOtvwi6sBNT7z0c7w3QrJEAjsmNXs15NDwuhnYUQSP/HocXX4InRdOHgPI8Qv1Xpb1siv9q+p9xCyXNtD4QLwoRTiv6bpgRxj0hSoJNTM0/njbhtBtgKlGpB6sqBhyz4vSbYqINvRxY7ndcMsES2RBQ8heVS9PDYygYIUACOQPM/1Vr5XgqVYUsRezHxWgCP3pxzRVhnH2x6o60+E5HA/DwQwgGtMOu2nWotrvO6cSUOW1zK7UzTXEcvhb3jT96JXNchAgu/2MXah/ccXQyUkqEAPFklKQpJfiPzOPyOsNvG+b7+x7VeKzkWEntx9+riKxycgxl4nEn4QYwU3H+yVh2Is5O8G0RUxhbdOmEJZcrTyWOop5T884XW1kpjs2x7sbspChZicK0o4oxxvHZvyHbYeI5hXjWf6VITd5n3JlZKm/iwio/UihzO38Ste70ExMriVbjtnAqGoB2ALO5ciaUvd9/0Gh1iiT1w3L9O1IPUI5mbDZJpMh2LI8i5sevEvZEiPohkn6kbeadkA+9eip7+TnbK/mppiZN4JskgH+L78hmte/AOQ9KggBRXOW+eW61L3/40L5WrNKgeMqkqXHqpzVO9kUprOhDw9Pzokj8wq/Dyuh0NkAknkHNlVFeA+fj4f3IVHCOe34DeyhjFS2izdm3PTGPrz6ApXRNXjPjq3tfbd7605A1gUz19Zf6IxICr0fOv78RFL+tMGLRiM+ZgOuxPv/Bc84y5gTQ3mnA6mFPbnUvEPSoO8jPrqifogQ7RXgLvltx/fhjHo+hVhVKaq02JpRaHm3H/FhP0KxZmDhjdAHCnsDogd4QeD33g7RGQVPbmq/CvpvrgowD5irWNuSSw==

Hello,

I was just testing saving groups via a groupSave WS call and noticed that the
spaces in values get trimmed. I don't see this via UI or GSH. Is it possible
to update the code so WS also preserves spaces? (Unless I'm doing something
wrong... ) I've pasted my request and response JSON string below where you
can see "College of Pharmacy" becomes "CollegeofPharmacy"

Thanks,
Kumi

=== Request ===
{
"WsRestGroupSaveRequest":{
"wsGroupToSaves":[
{
"wsGroup":{
"description":"College of Pharmacy Description",
"displayExtension":"College of Pharmacy",
"extension":"pharm",
"name":"x:kumi:appgroups:cn:pharm"
},
"wsGroupLookup":{
"groupName":"x:kumi:appgroups:cn:pharm"
}

}
]
}
}

=== Response ===
{
"WsGroupSaveResults": {
"responseMetadata": {
"millis": "495",
"serverVersion": "2.3.0"
},
"resultMetadata": {
"resultCode": "SUCCESS",
"resultMessage": "Success for: clientVersion: 2.2.200, wsGroupToSaves:
Array size: 1: [0]: WsGroupToSave[\n
wsGroupLookup=WsGroupLookup[pitGroups=[],groupName=x:kumi:appgroups:cn:pharm],
\n
wsGroup=WsGroup[extension=pharm,displayExtension=CollegeofPharmacy,description
=...\n, actAsSubject: null, txType: NONE, paramNames: \n, params: null",
"success": "T"
},
"results": [
{
"resultMetadata": {
"resultCode": "SUCCESS_INSERTED",
"success": "T"
},
"wsGroup": {
"description": "CollegeofPharmacyDescription",
"displayExtension": "CollegeofPharmacy",
"displayName": "x:kumi:AppGroups:Community
Network:CollegeofPharmacy",
"extension": "pharm",
"idIndex": "10365",
"name": "x:kumi:appgroups:cn:pharm",
"typeOfGroup": "group",
"uuid": "2b355b7f35ea4d35b6db9a6c35d4a266"
}
}
]
}
}



Archive powered by MHonArc 2.6.19.

Top of Page