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: "Redman, Chad Eric" <>
  • To: "Hyzer, Chris" <>, Liam Hoekenga <>, "" <>
  • Subject: RE: [grouper-users] grouper displaying "description" when searching for entities
  • Date: Wed, 1 Mar 2017 13:55:54 +0000
  • Accept-language: en-US
  • Authentication-results: isc.upenn.edu; dkim=none (message not signed) header.d=none;isc.upenn.edu; dmarc=none action=none header.from=unc.edu;
  • Ironport-phdr: 9a23:BarebhXyFlYkQg7/O3mda8ZI97/V8LGtZVwlr6E/grcLSJyIuqrYZRSPvadThVPEFb/W9+hDw7KP9fuxBCpbud3c7jgrS99lb1c9k8IYnggtUoauKHbQC7rUVRE8B9lIT1R//nu2YgB/Ecf6YEDO8DXptWZBUhrwOhBoKevrB4Xck9q41/yo+53Ufg5EmCexbal8IRiyrQjdrMcbjZdtJqsxyxbCv2dFdflRyW50P1yYggzy5t23/J5t8iRQv+wu+stdWqjkfKo2UKJVAi0+P286+MPkux/DTRCS5nQHSWUZjgBIAwne4x7kWJr6rzb3ufB82CmeOs32UKw0VDG/5KplVBPklCEKPCMi/WrJlsJ/kr5UoBO5pxx+3YHUZp2VNOFjda/ZZN8WWHZNUtpUWyFHH4iybZYAD/AZMOhYsYfzukcOoxW9CwmiBuzvyyNHiXDt0KIgz+gtDRvL0BA8E94QtnnfsdX7NL0VUeCw1KTEwynNYO1L1jf48ofIdAgtquySULJwa8Xe1FQkGQzfjlWRtYPpMS6e2+MRvGib9eVvSPqgi3Q5pA5spzig3MEsh5LUhoIT1l/I7zt2z5soJdChTkNwfNCqEJxVty6ANot2RNsvQ2BuuCYm1LIGo5i7czYWyJg53RLQdeGIc5WQ7hLkSeaRPTN4hHVieLK8nRq97U+gyuj6W8Kp01hKtjJInsfWuXwRyhDe79WLRuZg8kqk1zaC2Bzf5v1BLEA6i6XWJIAtz7s1m5cSrUjMBTf6lFj2gaOIbEko5PKk5/n7brn4vJOQKoB5hwL4P68zgMKwG/44PRILX2WD+eSzyrnj/UrhTbtSkvA4lbXVvI3DKckGpKG1HRZZ0oE45BmhFTum18kYnWUcI1JCZRKHiZXmN0vWIPDiCve/n0qjnyt3x/DHOb3hBI/BLn/ekLf9ebZ97ElcyAkpwd9D4JJUD6kNIPP1WkDvqNzVFgE1PBaoz+r6Ddhxy54SVX+KD6+XP67erUOE6+chI+aSa4IZpjPwJv0k6vLylnA1gVodcrOo3ZsTZnC4BPNmI0CBbHXwgtcOC3oFsRIkTOP0lVKCVCRcZ3CpUqIh4DE0FJiqApneSYCwmLCBxju0HoVKZmBaDVCBCXjod5+DW/cRcCKdPNVhniUZVbi6VYAhzwquuRT+y7pmNerU5jYYuYz52Nh04e3TiQ899SZyD8uDz2GBUXt4kX0VSD8rj+hDphk36kaR3LI8y9dYD91IrbsdVww6JIzR1cR7ENu0RxrMeNHPRVq7FJHuJTA4S5oRxNINbkByEp32ihHK2jCCHroUnLzNCZAppOaUlXfrINtlxmyDybIslUIOQ81TOHegi7IlsQXfGsSBx0qDkLuyeL5ZwTXA7nyrzGySsVteXRIqF6jJQCZMSFHRqIGz3E7OSraoTfwMMgJNgeOYK6AAIonijVxKc+3uNNHXZUqsnWz2CBqVkODfJLH2cnkQiX2OQHMPlBoeqDPfbVAz
  • Spamdiagnosticmetadata: NSPM
  • Spamdiagnosticoutput: 1:99

The template for the guiSubject.screenLabelLong _expression_ gets set in grouper-ui.base.properties and grouper-ui.properties, property "grouperUi.subjectImgLong.screenEl.[index]", falling back to grouperUi.subjectImg.screenEl.[index] if not defined. These are defined per data source. The second example you showed looks like it could be the default value:

 

    subject.getSourceId() + " - " + subject.getId() + " - " + subject.getName()

 

I can't explain the first example. Is it possible that it's a different subject source, and there is a property that uses description to populate? Or, it's the same data source, is set to always use the description, but it falls back to the default above because the description is blank?

 

-Chad

 

 

From: [mailto:] On Behalf Of Hyzer, Chris
Sent: Tuesday, February 28, 2017 10:33 AM
To: Liam Hoekenga <>;
Subject: Re: [grouper-users] grouper displaying "description" when searching for entities

 

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




Archive powered by MHonArc 2.6.19.

Top of Page