Skip to content

Commit 89d6b00

Browse files
Jeremy Delocheseboo
authored andcommitted
LUT-30612 : Reconnection required to view a newly created workgroup.
1 parent 5980936 commit 89d6b00

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/java/fr/paris/lutece/portal/web/workgroup/AdminWorkgroupJspBean.java

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -294,6 +294,11 @@ public String doCreateWorkgroup( HttpServletRequest request ) throws AccessDenie
294294
AdminWorkgroupHome.create( adminWorkgroup );
295295
AdminWorkgroupHome.addUserForWorkgroup( getUser( ), strKey );
296296

297+
if( !getUser().getUserWorkgroups().contains( strKey ) )
298+
{
299+
getUser().getUserWorkgroups().add( strKey );
300+
}
301+
297302
return JSP_MANAGE_WORKGROUPS;
298303
}
299304

0 commit comments

Comments
 (0)