grouper-dev - RE: [grouper-dev] Change to GroupSave in 2.3.0
Subject: Grouper Developers Forum
List archive
- 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:26:16 +0000
- Accept-language: en-US
- Authentication-results: spf=none (sender IP is ) ;
- Ironport-phdr: 9a23:ylOjYRDQcx6HH7fGJHFjUyQJP3N1i/DPJgcQr6AfoPdwSP/7oMbcNUDSrc9gkEXOFd2CrakV0ayH7Ou7AiQp2tWoiDg6aptCVhsI2409vjcLJ4q7M3D9N+PgdCcgHc5PBxdP9nC/NlVJSo6lPwWB6kO74TNaIBjjLw09fr2zQd+IyZXonLvps7ToICxwzAKnZr1zKBjk5S7wjeIxxbVYF6Aq1xHSqWFJcekFjUlhJFaUggqurpzopM0r221qtvkg789NV7nhN+R9FOQATWduD2dgxszu/TfEXUPb6HwMenofiRpJBQfZ6xe8U5vs5G+ymfB6xTGXJ4XaQK58DTu46LpzRQWthCoZHz8/7GzNjMFs1uRWrA/39DJlxIuBKqGEJvdkOuv2fckbXiAJCsNaVz1TD5mUbpAESfcZMOBe6YTxug1d/lOFGQCwCba3mXdzjXjs0Ph/irx5HA==
- Spamdiagnosticmetadata: NSPM
- Spamdiagnosticoutput: 1:99
And if no group is found then don't cause a problem...
-----Original Message-----
From: Hyzer, Chris
Sent: Tuesday, November 08, 2016 3:26 PM
To: 'Jim Fox'
<>;
Grouper Dev
<>
Subject: RE: [grouper-dev] Change to GroupSave in 2.3.0
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
- [grouper-dev] Change to GroupSave in 2.3.0, Jim Fox, 11/08/2016
- RE: [grouper-dev] Change to GroupSave in 2.3.0, Hyzer, Chris, 11/08/2016
- RE: [grouper-dev] Change to GroupSave in 2.3.0, Jim Fox, 11/08/2016
- RE: [grouper-dev] Change to GroupSave in 2.3.0, Hyzer, Chris, 11/08/2016
- RE: [grouper-dev] Change to GroupSave in 2.3.0, Jim Fox, 11/08/2016
- RE: [grouper-dev] Change to GroupSave in 2.3.0, Hyzer, Chris, 11/08/2016
- RE: [grouper-dev] Change to GroupSave in 2.3.0, Jim Fox, 11/08/2016
- RE: [grouper-dev] Change to GroupSave in 2.3.0, Hyzer, Chris, 11/08/2016
Archive powered by MHonArc 2.6.19.