Skip to Content.
Sympa Menu

grouper-users - Re: [grouper-users] grouper displaying "description" when searching for entities

Subject: Grouper Users - Open Discussion List

List archive

Re: [grouper-users] grouper displaying "description" when searching for entities


Chronological Thread 
  • From: Liam Hoekenga <>
  • To: "Hyzer, Chris" <>
  • Cc: "" <>
  • Subject: Re: [grouper-users] grouper displaying "description" when searching for entities
  • Date: Thu, 30 Mar 2017 09:17:01 -0500
  • Ironport-phdr: 9a23:EjVPChFF8iac/VkAgPNfyJ1GYnF86YWxBRYc798ds5kLTJ7zp8uwAkXT6L1XgUPTWs2DsrQf2reQ4/GrBjBIyK3CmUhKSIZLWR4BhJdetC0bK+nBN3fGKuX3ZTcxBsVIWQwt1Xi6NU9IBJS2PAWK8TW94jEIBxrwKxd+KPjrFY7OlcS30P2594HObwlSijewZbN/IA+1oAjVucUbg4RvIbstxxXUpXdFZ/5Yzn5yK1KJmBb86Maw/Jp9/ClVpvks6c1OX7jkcqohVbBXAygoPG4z5M3wqBnMVhCP6WcGUmUXiRVHHQ7I5wznU5jrsyv6su192DSGPcDzULs5Vyiu47ttRRT1jioMKjw3/3zNisFojq1brhKvqRJ8zYDJfo+aKOFzfqbBcd4AX2dNQtpdWi5HD4ihb4UPFe0BPeNAoof7plsBtx6+DhSuCuPo1DBIhWH53as10+s7DArL2wggH9MUv3TRttX4L7oSUeW0zKbUzTXPde1Z1irg6IXRdB0qvP+CXbV1ccXLyEkvERvIjlSWqYz5ITyVzOINvHaH7+Z+T+6glXMoqxx3rzOyxckskpHEipwUx1zY9yh0xYg1KN6jR0JnZNOpH4dcuz2GOIZzXswuX2FltSM/x7EYt5O2fS4Hw4k9yRHFcfyIaY2I7wrjVOmPJTd4g2poeLeliBaz9Uis0/P8Vsqo3FpToStJjNfBu3EX2xzc7ciHTfR9/kO/1jqVyw/T7eRELVg1lardNZEh3qY9moQSvEjfHCL7nUv2gayNeUk4/+Wl5Pjrbqn6qZKZK4B4lgHzP6Erl8ChD+k1MxACX22B9uS90L3j81f5QLJPjvAulqnZsYrVJcEBpqOiHg9V14cj5Aq/Dzu8ztsXgGQHIEpfeB2bl4jpJ03OIPfgAPewmVSslyprx+jYMb37G5nNM2PDn6n7fbZm8ENczAszzctD55JPFL0NOvPzWknttNPGFB85NRK7w/r5BNlnyIwRRH+PUeelN/aYkU6a6/hra8KMfo4O8n6pLvMl9uzjl1c4glRbYLGk251RZXylSKdIOUKcNF7ti9JJMWAHvQc4Q+Wi3FmDWDtJT2u3Xqk8oDw3FdT1Xs/4WomxjenZj2+AFZpMazUeBw==

So.. at Penn, your description attribute contains all of "Chris Hyzer (mchyzer, 10021368), Staff, IT department, Architect"?  The attribute I've been using just contains a title, which would explain what I'm seeing.

Liam


On Tue, Feb 28, 2017 at 9:32 AM, Hyzer, Chris <> wrote:

Was this resolved?  Are you in a fully patched 2.3?  There is a subject source diagnostics page that could help:


https://spaces.internet2.edu/display/Grouper/Grouper+subject+API+diagnostics+in+UI


Ive always considered the "description" to be a standalone description, not needing the name.  e.g. at penn the description is: Chris Hyzer (mchyzer, 10021368), Staff, IT department, Architect


So if you dont do that you would need to configure some things to make it work, and the diagnostics page can help with that..


ok?

Thanks

Chris




From: <> on behalf of Liam Hoekenga <>
Sent: Thursday, February 16, 2017 5:04 PM
To:
Subject: [grouper-users] grouper displaying "description" when searching for entities
 
Weird issue with the entity search in grouperUI.

If I try to look someone up, sometimes it returns their description as the entity name, e.g.

    Service Desk Consultant Intermediate

2017-02-16 16:55:16,318: [ajp-apr-127.0.0.1-8009-exec-7] DEBUG GrouperUtil.substituteExpressionLanguage(9363) -  - Subsituting EL: '<i class="fa fa-user"></i> ${grouperUtil.xmlEscape(grouperRequestContainer.commonRequestContainer.guiSubject.screenLabelLong)}', and with env vars: grouperRequestContainer, request, textContainer, grouperUtil with result: '<i class="fa fa-user"></i> Service Desk Consultant Intermediate'


/Sometimes/ it returns something more useful (a string with the data source, the display name and subject in it), e.g.

    mcommDir - 12345678 - Babs Jensen

2017-02-16 16:55:16,302: [ajp-apr-127.0.0.1-8009-exec-7] DEBUG GrouperUtil.substituteExpressionLanguage(9363) -  - Subsituting EL: '<i class="fa fa-user"></i> ${grouperUtil.xmlEscape(grouperRequestContainer.commonRequestContainer.guiSubject.screenLabelLong)}', and with env vars: grouperRequestContainer, request, textContainer, grouperUtil with result: '<i class="fa fa-user"></i> mcommDir - 12345678 - Babs Jensen'


I think I know where I /could/ misconfigure that, but I don't think that I have.  In sources.xml...

     <init-param>
      <param-name>SubjectID_AttributeType</param-name>
      <param-value>entityid</param-value>
    </init-param>
    <init-param>
      <param-name>Name_AttributeType</param-name>
      <param-value>displayName</param-value>
    </init-param>
    <init-param>
      <param-name>Description_AttributeType</param-name>
      <param-value>umichTitle</param-value>
    </init-param>

Any pointers?

Liam

Attachment: member weirdness.png
Description: PNG image




Archive powered by MHonArc 2.6.19.

Top of Page