Skip to Content.
Sympa Menu

grouper-dev - [grouper-dev] Wrong group name shown in message when creating or modifying

Subject: Grouper Developers Forum

List archive

[grouper-dev] Wrong group name shown in message when creating or modifying


Chronological Thread 
  • From: Gagné Sébastien <>
  • To: <>
  • Subject: [grouper-dev] Wrong group name shown in message when creating or modifying
  • Date: Wed, 12 Dec 2012 15:58:58 -0500

Hi,

We have a group hook that automatically adds a prefix to the group ID when it’s in a specific folder.  The success message is showing the name I entered in the form instead of giving me the name of the actual group created (see screenshots below).

 

I think I narrowed it down to this modification :

 

SaveGroupAction.java

Line 342

 

FROM

request.setAttribute("message", new Message(

            "groups.message.group-saved", (String) groupForm

                        .get("groupDisplayName")));

 

TO

request.setAttribute("message", new Message(

"groups.message.group-saved", group.getDisplayName()));

 

 

Is it possible to fix it ?

thanks

 

Entered Data :

 

Result when I save (« Sauvegarder ») :

 

 

 

Sébastien Gagné,     | Analyste en informatique

514-343-6111 x33844  | Université de Montréal,

                     | Pavillon Roger-Gaudry, local X-100-11

 



  • [grouper-dev] Wrong group name shown in message when creating or modifying, Gagné Sébastien, 12/12/2012

Archive powered by MHonArc 2.6.16.

Top of Page