Skip to Content.
Sympa Menu

grouper-dev - RE: [grouper-dev] Change to GroupSave in 2.3.0

Subject: Grouper Developers Forum

List archive

RE: [grouper-dev] Change to GroupSave in 2.3.0


Chronological Thread 
  • From: "Hyzer, Chris" <>
  • To: Jim Fox <>, Grouper Dev <>
  • Subject: RE: [grouper-dev] Change to GroupSave in 2.3.0
  • Date: Tue, 8 Nov 2016 20:25:49 +0000
  • Accept-language: en-US
  • Authentication-results: spf=none (sender IP is ) ;
  • Ironport-phdr: 9a23:BykxlhwYYT6YuDbXCy+O+j09IxM/srCxBDY+r6Qd0OoRIJqq85mqBkHD//Il1AaPBtSBraMbwLGN+4nbGkU4qa6bt34DdJEeHzQksu4x2zIaPcieFEfgJ+TrZSFpVO5LVVti4m3peRMNQJW2WVTerzWI4CIIHV2nbEwud76zS9GZ1J///tvx0qWbWx9Piju5bOE6BzSNhiKViPMrh5B/IL060BrDrygAUe1XwWR1OQDbxE6ktY+YtaRu+CVIuv8n69UIEeCjJ/x5HvRkC2EEMmV9ysr7/U3NShun+XIHUmQQnQZPBU7I4AysGt/eqCznrudnkAWXI4WiQqozRCyv9eJnRQHAiSEbOiQ//X2NzMF8kfQIjgimokk145/GbZvRfNF+ZKLGN5tOQGFBT9RcTQRAGYj6cpMCCexHMOpF+dqu72ASpAezUFH/TNjkzSVF0zqvhfU3
  • Spamdiagnosticmetadata: NSPM
  • Spamdiagnosticoutput: 1:99

So you want it changed to false so it doesn't except?

-----Original Message-----
From:


[mailto:]
On Behalf Of Jim Fox
Sent: Tuesday, November 08, 2016 3:18 PM
To: Grouper Dev
<>
Subject: [grouper-dev] Change to GroupSave in 2.3.0



This is about a change to the 'save' method in 2.3.0's GroupSave.java (about
line 375)

A new segment is added that did not appear in 2.1.2

//get from uuid since could be a rename
if (StringUtils.isBlank(this.groupNameToEdit) &&
!StringUtils.isBlank(this.uuid)) {
Group group =
GroupFinder.findByUuid(GrouperSession.staticGrouperSession(), this.uuid,
true);
this.groupNameToEdit = group.getName();
}

I'm doing an insert.

According to the documentation groupNameToEdit should be null, and uuid
should be the uuid of the new group.

The call to findByUuid is always going to except.

If I set the groupNameToEdit I get through this section. That's contrary to
the doc and 2.1.2 usage.

The code is from grouper.api-2.3.0.tar.gz, from the downloads page.


Jimkk



Archive powered by MHonArc 2.6.19.

Top of Page