grouper-users - RE: [grouper-users] How export multivalued attribute ldap in LiteUI + Sort with Accents
Subject: Grouper Users - Open Discussion List
List archive
RE: [grouper-users] How export multivalued attribute ldap in LiteUI + Sort with Accents
Chronological Thread
- From: Chris Hyzer <>
- To: Wallaert-Taquet Brigitte <>
- Cc: "" <>
- Subject: RE: [grouper-users] How export multivalued attribute ldap in LiteUI + Sort with Accents
- Date: Fri, 25 Nov 2011 16:13:06 +0000
- Accept-language: en-US
I opened this jira...
Just curious, if you do a SQL query with an order by, does it sort correctly?
There are two places where things are sorted in Grouper, in order by, and in
Java. We can do a better job sorting in Java, but we also need sorting in
the DB.
https://bugs.internet2.edu/jira/browse/GRP-711
Thanks,
Chris
-----Original Message-----
From: Wallaert-Taquet Brigitte
[mailto:]
Sent: Thursday, November 24, 2011 8:26 AM
To: Chris Hyzer
Cc:
Subject: Re: [grouper-users] How export multivalued attribute ldap in LiteUI
+ Sort with Accents
Hello,
It works, you can commit to SVN, thank you !
Also, someone here tells me that we have problems with sort : the sort
doesn't take care of the accents. In the example joined, "Sébastien
Deconinck" should appear before "Sophie Gallina".
Thanks for help !
Brigitte
Le 23/11/2011 18:41, Chris Hyzer a écrit :
> Currently it doesn't work that way, I opened a jira, and it has a code
> tweak you could try if you want the multi-valued attribute to export as
> comma separated:
>
> https://bugs.internet2.edu/jira/browse/GRP-710
>
> If you do this and it works, let me know and I can commit to SVN...
>
> Should need to change: SimpleMembershipUpdateImportExport.java
>
> FROM:
>
> //lets see what we can get from the subject
> for (int i=0;i<headers.length;i++) {
> String header = headers[i];
> if ("name".equalsIgnoreCase(header)) {
> result[i] = subject.getName();
> } else if ("description".equalsIgnoreCase(header)) {
> result[i] = subject.getDescription();
> } else if ("screenLabel".equalsIgnoreCase(header)) {
> result[i] =
> GrouperUiUtils.convertSubjectToLabelConfigured(subject);
> } else if (isAttribute[i]) {
> result[i] = subject.getAttributeValue(header);
> }
> }
>
>
> TO:
>
> //lets see what we can get from the subject
> for (int i=0;i<headers.length;i++) {
> String header = headers[i];
> if ("name".equalsIgnoreCase(header)) {
> result[i] = subject.getName();
> } else if ("description".equalsIgnoreCase(header)) {
> result[i] = subject.getDescription();
> } else if ("screenLabel".equalsIgnoreCase(header)) {
> result[i] =
> GrouperUiUtils.convertSubjectToLabelConfigured(subject);
> } else if (isAttribute[i]) {
> result[i] = subject.getAttributeValueOrCommaSeparated(header);
> }
> }
>
> Thanks,
> Chris
>
> -----Original Message-----
> From:
>
>
> [mailto:]
> On Behalf Of Wallaert-Taquet Brigitte
> Sent: Wednesday, November 23, 2011 11:51 AM
> To:
>
> Subject: [grouper-users] How export multivalued attribute ldap in LiteUI
>
> Hello,
>
> My question is in the subject : I put a multivalued attribute
> (ustlDepartement) in my media.properties :
> simpleMembershipUpdate.exportAllSubjectFields=name, mail, ustlDepartement
> but I obtain only one value of this attribute in the export file.
>
> Anyone has an idea ?
>
> Thanks for help.
>
--
Brigitte Wallaert-Taquet
Ingénieure d'études
Chargée d'étude
Espace collaboratif de Documents
Université Lille1
Sciences et Technologies
- [grouper-users] Lite UI customisation, richard.james, 11/23/2011
- [grouper-users] How export multivalued attribute ldap in LiteUI, Wallaert-Taquet Brigitte, 11/23/2011
- RE: [grouper-users] How export multivalued attribute ldap in LiteUI, Chris Hyzer, 11/23/2011
- Re: [grouper-users] How export multivalued attribute ldap in LiteUI + Sort with Accents, Wallaert-Taquet Brigitte, 11/24/2011
- RE: [grouper-users] How export multivalued attribute ldap in LiteUI + Sort with Accents, Chris Hyzer, 11/25/2011
- Re: [grouper-users] How export multivalued attribute ldap in LiteUI + Sort with Accents, Wallaert-Taquet Brigitte, 11/28/2011
- RE: [grouper-users] How export multivalued attribute ldap in LiteUI + Sort with Accents, Chris Hyzer, 11/28/2011
- Re: [grouper-users] How export multivalued attribute ldap in LiteUI + Sort with Accents, Wallaert-Taquet Brigitte, 11/28/2011
- RE: [grouper-users] How export multivalued attribute ldap in LiteUI + Sort with Accents, Chris Hyzer, 11/25/2011
- Re: [grouper-users] How export multivalued attribute ldap in LiteUI + Sort with Accents, Wallaert-Taquet Brigitte, 11/24/2011
- RE: [grouper-users] How export multivalued attribute ldap in LiteUI, Chris Hyzer, 11/23/2011
- RE: [grouper-users] Lite UI customisation, Chris Hyzer, 11/23/2011
- [grouper-users] How export multivalued attribute ldap in LiteUI, Wallaert-Taquet Brigitte, 11/23/2011
Archive powered by MHonArc 2.6.16.