Skip to Content.
Sympa Menu

grouper-users - Re: [grouper-users] Web Service error condition catching

Subject: Grouper Users - Open Discussion List

List archive

Re: [grouper-users] Web Service error condition catching


Chronological Thread 
  • From: Jeffrey Crawford <>
  • To: "Hyzer, Chris" <>
  • Cc: Jeff McCullough <>, Gouper Users List <>
  • Subject: Re: [grouper-users] Web Service error condition catching
  • Date: Tue, 12 Dec 2017 08:04:36 -0800
  • Ironport-phdr: 9a23:NWbcoRbYKZ/l0sbzfgy9KNf/LSx+4OfEezUN459isYplN5qZr82+bnLW6fgltlLVR4KTs6sC0LuG9fi4EUU7or+5+EgYd5JNUxJXwe43pCcHRPC/NEvgMfTxZDY7FskRHHVs/nW8LFQHUJ2mPw6arXK99yMdFQviPgRpOOv1BpTSj8Oq3Oyu5pHfeQtFiT6+bL9oMBm6sRjau9ULj4dlNqs/0AbCrGFSe+RRy2NoJFaTkAj568yt4pNt8Dletuw4+cJYXqr0Y6o3TbpDDDQ7KG81/9HktQPCTQSU+HQRVHgdnwdSDAjE6BH6WYrxsjf/u+Fg1iSWIdH6QLYpUjm58axlVAHnhzsGNz4h8WHYlMpwjL5AoBm8oxBz2pPYbJ2JOPZ7eK7WYNEUSndbXstJVSNBDIOyYYUMAeQcI+hXs5LwqEESoRakHwSgGP/jxz1Oi3Tr3aM6yeMhEQTe0QIkAd0OvnrUrM/rO6YSTOu40rPIwi/NbvNY3jf98pXHeQ0mrPGOQ71wf8TRyVMxGALFklqdspHlMC+O1usRqWSU8fdvVf+2hmMhtgp/oSCvy98yhoTImo4YyFXJ9St6zYkuOdG1TUF2bcK4HJZesiyVK5d6Qs0nTmxtpio3xLwLtJimdyYQ0psn3QTQa/mffoiI/B3jUOGRLC99hH1/ebK/gw++8U+8yuHgT8W130hGoyREn9XWuXAN0BvT6seDSvRj5EuuxTGP1wXL5uFFJ0A7i7bbJoY/zrMxipYes0HOHiH1lUrtkKObc0op9vS05+npZ7jpuoOQN4Fxhwz7LKgjlM2yDfw9MgcUXmib/eq81Kfk/U38WLhKjOM5kqfXsJDAO8saprK2DhRI0ok/8BawEy2q38oFknkaNF5FYg6Ij5D1O1HSJ/D1Ffi/g06rkDd23/DJIKfhDozQLnjYjrjhZ6195lVYyAoy1tBf+4lUBq8bLPLyXE/xqMLXDgU/MwOq3+brFs9x2Z0DVmKSUeelN/aYkU6a6/hra8KMfo4O8n6pLvMl9uzjl1c4glRbYLGk251RZXylSKdIOUKcNFjhjNkbHHZClRA3U+LtklHKBTxeaXioUrM3ziwwE4ngAIveENP+yIed1Tu2S8UFLltNDUqBRDKxL92J

Yes group name uniqueness is installed, however it seems like the failure is the same kind of failure you get if you don't have permission to create the new group. This is making informing the user the reason why difficult. Is there some sort of status a web service could query? I suppose one could check if the group exists but wouldn't they need to try all the different cases? or can the web service search for a group in a case insensitive way? (Sorry I don't use the WS much myself) I don't think getting a list of all groups to parse is very feasible since the list is very large.

Is there really no message from the WS that informs the service as to why it failed, the UI says "The group ID is already in use, please use a different ID" which seems to indicate that there is some way to do that.

Thanks for your input

Jeffrey E. Crawford
Enterprise Service Team
    ^         ^
   / \  ^    / \    ^
  /   \/ \  /   \  / \
 /        \/     \/   \
/                      \

You have been assigned this mountain to prove to others that it *can* be moved.

On Tue, Dec 12, 2017 at 12:03 AM, Hyzer, Chris <> wrote:

Can they try to retrieve the group if they get an error creating, and if the group exists, then the user needs a different name?  Or check before creating?

 

From: [mailto:] On Behalf Of Jeff McCullough
Sent: Monday, December 11, 2017 3:31 PM
To: Jeffrey Crawford <>
Cc: Gouper Users List <>
Subject: Re: [grouper-users] Web Service error condition catching

 

Do you have the group name uniqueness hook installed in your web services? I get the same response from the UI and WS. Example:

 

"There were 0 successes and 1 failures of saving groups.java.lang.RuntimeException: edu.internet2.middleware.grouper.hooks.logic.HookVeto: veto.group.unique.extension: The group ID is already in use, please use a different ID. (NS),\nProblem saving group: edu:berkeley:app:calnet:jeff-folder:jeff-test-1.”

 

We have a custom uniqueness hook that checks both grouper, AD and our namespace used by non-AD apps.

 

Jeff

 

On Dec 11, 2017, at 11:05 AM, Jeffrey Crawford <> wrote:

 

Anyone?


Jeffrey E. Crawford
Enterprise Service Team

    ^         ^

   / \  ^    / \    ^

  /   \/ \  /   \  / \

 /        \/     \/   \

/                      \

 

You have been assigned this mountain to prove to others that it *can* be moved.

 

On Mon, Dec 4, 2017 at 3:36 PM, Jeffrey Crawford <> wrote:

We've incorporated the hook to prevent a group of the same name but different cases from creating a group in a stem, however the Service which talks to grouper is using the Web Service and it seems to not send back why a group create failed.

 

The grouper UI says "The group ID is already in use, please use a different ID" when I try to create a group, but they are having a hard time getting a message like that from the WS call response.

 

Any tips you guys can offer?

 

Thanks

 

Jeffrey E. Crawford
Enterprise Service Team

    ^         ^

   / \  ^    / \    ^

  /   \/ \  /   \  / \

 /        \/     \/   \

/                      \

 

You have been assigned this mountain to prove to others that it *can* be moved.

 

 





Archive powered by MHonArc 2.6.19.

Top of Page