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: Jim Fox <>
  • To: "Hyzer, Chris" <>
  • Cc: Grouper Dev <>
  • Subject: RE: [grouper-dev] Change to GroupSave in 2.3.0
  • Date: Tue, 8 Nov 2016 12:42:52 -0800 (PST)
  • Ironport-phdr: 9a23:V97A8xGPG2y7QpyLC80cg51GYnF86YWxBRYc798ds5kLTJ75ocqwAkXT6L1XgUPTWs2DsrQf2rCQ4v+rBDZIyK3CmUhKSIZLWR4BhJdetC0bK+nBN3fGKuX3ZTcxBsVIWQwt1Xi6NU9IBJS2PAWK8TWM5DIfUi/yKRBybrysXNWD1YLmiKvvodX6WEZhvHKFe7R8LRG7/036l/I9ps9cEJs30QbDuXBSeu5blitCLFOXmAvgtI/rpMYwuwwZgf8q9tZBXKPmZOx4COUAVHV1e1wysYfLpAvOV0/HzXsGU35c2k5NCAjU/hzgdpbquW3nrud73m+XMdCgHp4uXjH3zaZuADHvmG9TOTkp2H7ekcxxiq1HpxTnqhBild2HKLqJPeZzK/uONegRQnBMC4MID3RM

I think changing to 'false', and adding a 'if (group!=null)' test would fix it.


On Tue, 8 Nov 2016, Hyzer, Chris wrote:

Date: Tue, 8 Nov 2016 12:25:49
From: "Hyzer, Chris"
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-----

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 (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,
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.


Archive powered by MHonArc 2.6.19.

Top of Page