Skip to Content.
Sympa Menu

grouper-users - [grouper-users] groupershell

Subject: Grouper Users - Open Discussion List

List archive

[grouper-users] groupershell


Chronological Thread 
  • From: Wallaert-Taquet Brigitte <>
  • To:
  • Subject: [grouper-users] groupershell
  • Date: Fri, 10 Jul 2015 14:42:01 +0200

Hello,

I create a custom group type "GroupInterface" and want to attach one attribut named "cnLDAP". I use the gsh command : typeAddAttr but unfortenatly, in the admin interface, I see well the the type "GroupInterface" but without the attribute "cnLDAP" (see screen admin-type.png). With gsh, I see that this attribute was attached to the type (see the trace below)... What to do ?

Also, I see well in the new interface the legacy_attribute_cnLDAP but I don't see any attribute in the admin interface though I connect as admin (see screens).

Here is the gsh trace :
GrouperSession.startRootSession();
edu.internet2.middleware.grouper.GrouperSession: 38657a1a1f244da3824dac4b55cce0ca,'GrouperSystem','application'
gsh 1% typeGetFields("GroupInterface");
gsh 2% typeFind("GroupInterface");
type: 'GroupInterface'
gsh 3% typeAddAttr("GroupInterface","cnLDAP");
// Error: cnLDAP already exists.,
Problem in HibernateSession: HibernateSession (57a69dd2): new, notReadonly, READ_WRITE_NEW, notActiveTransaction, session (7baac821)
// Error: unable to evaluate command: Sourced file: inline evaluation of: ``typeAddAttr("GroupInterface","cnLDAP");'' : Error invoking compiled command: : Error in compiled command: edu.internet2.middleware.grouper.app.gsh.GrouperShellException: unable to add attribute to group type: GroupInterface


Note : at this wiki page : https://spaces.internet2.edu/pages/viewpage.action?pageId=14517859, the command indicate this format : typeAddAttr(type name, attr name, read, write, required) but this one is ok :  typeAddAttr(type name, attr name)

Thanks for help !

--
Logo Université de Lille Sciences et Technologies

Brigitte WALLAERT TAQUET
Cheffe de projet GED Nuxeo
Experte Grouper d'Internet2


Université de Lille - Sciences et Technologies
| www.univ-lille1.fr
Service: CRI Bât. M4 - Bureau 34 59655 Villeneuve d'Ascq
Tél. +33 (0)3 20 33 71 65

Attachment: newui-legacyattribute.png
Description: PNG image

Attachment: admin-type.png
Description: PNG image

Attachment: admin-legacyattribute.png
Description: PNG image




Archive powered by MHonArc 2.6.16.

Top of Page