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: "Hyzer, Chris" <>
- To: "Redman, Chad Eric" <>, Liam Hoekenga <>, "" <>
- Subject: RE: [grouper-users] grouper displaying "description" when searching for entities
- Date: Thu, 2 Mar 2017 14:05:50 +0000
- Accept-language: en-US
- Authentication-results: unc.edu; dkim=none (message not signed) header.d=none;unc.edu; dmarc=none action=none header.from=isc.upenn.edu;
- Ironport-phdr: 9a23:Rsu6mBcSnHBr7kk4F737bE+XlGMj4u6mDksu8pMizoh2WeGdxc26YBSN2/xhgRfzUJnB7Loc0qyN4v2mAjZLvMjJmUtBWaQEbwUCh8QSkl5oK+++Imq/EsTXaTcnFt9JTl5v8iLzG0FUHMHjew+a+SXqvnYdFRrlKAV6OPn+FJLMgMSrzeCy/IDYbxlViDanb75/KBW7oR/fu8UIjodvKqc8wQbVr3VVfOhb2XlmLk+JkRbm4cew8p9j8yBOtP8k6sVNT6b0cbkmQLJBFDgpPHw768PttRnYUAuA/WAcXXkMkhpJGAfK8hf3VYrsvyTgt+p93C6aPdDqTb0xRD+v4btnRAPuhSwaLDMy7n3ZhdJsg6JauBKhpgJww4jIYIGOKfFyerrRcc4GSWZdW8pcUTFKDIGhYIsVF+cPPfhWoZThp1UArhW+CwujBOLzxTBHnXL5x7E23/g7HA3awAAsAdQDu2nUotXvM6cSVPi4wKfKwzTDbvJZxy395JDVeR0/ofGMR7NwcdHfxUIyEA7Fi0mfqYzlPjKUyOsNqXOW7+t7Ve2zkWInthlxrSapxscqkIXGmJ8ayk3d+Ch/3Y07K9q4SEthbt6lFptdryCaN41qQsw8WWFovjg1yqEYtZKhYicF1YknywbYa/yab4iI5hXjVOGSITtimH1lf7e/ihCv+kaj0u3xTte43EtLoyZfnNTAqGoB2wHQ58SbUPdw/lut1S6S2w3d9u1IO0Q5mbfBJ5I/37I9koAfvVnBEyL3nkj9kbWYeV8++uey7uTqerXmqYGYN49zkgzwKrgjlMujDek2KwQDQmqU9fql2L3k5kL2Xq9GjvorkqnFq5/aItkbpqikDANPyoYj8RG/Dyu439sEgXkHLVVFeBSdg4juJlHOPPT4DfC4g1Svijtk2/fGPrj5DpXMKHjMjqvhcK5j50JByQc/195S64xOBr0cI///RlX9udzEAhMhNgy72efnCNFz1oMEXmKPB7eUMKbOvl+I5uMuIveDZJUOtTb8MPgq++TijWIhmVADe6mp24EbZ26lEfR7O0mZe2bjgs8dEWcWuQozVOPqiEeFUT5Of3a9Qbg86igmCIK9E4jDXJutjaeF3Ce6BZ1WentGBk6WHXfpcYWER+kDaDiUIsB/jjwIS6KtRJE82hGz50fGzO8tFOfY/yQe8drI1NF5r8DJlBp4vWh/D82R5HuAQ2R9mEsVQTRw0axi9wg17laK1OBYhPFbGNpc7rsdVgYzMIT00ul7ANC0Vw7cKJPBAlm8Rci+DCt0U8k82cQmYkBhFs+kgwyZmSemHvVdw7ORA4Es/7iZwmP8Pd1VynDa2bMngkV8BMZDKDv1qLR48l2ZJ5/bnl/d342qb6UHlmaZ8WyD3HiDpmlZSwU2TL3IW3ZZa0fL+4eqrnjeRqOjXOx0ejBKztSPf+4TMoXk
- Spamdiagnosticmetadata: NSPM
- Spamdiagnosticoutput: 1:99
The new UI has yet another config which is on the diagnostics page. So you could either: 1.
Make description a standalone field in your subject source configuration (recommended, and you can use a virtual attribute if the actual attribute isn’t
enough) 2.
Change the config so the “description” alone is not displayed on screen, but rather whatever concatenations you want Thanks Chris From: Redman, Chad Eric [mailto:]
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:
[]
On Behalf Of Hyzer, Chris 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 <> 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 |
- RE: [grouper-users] grouper displaying "description" when searching for entities, Redman, Chad Eric, 03/01/2017
- RE: [grouper-users] grouper displaying "description" when searching for entities, Hyzer, Chris, 03/02/2017
- Re: [grouper-users] grouper displaying "description" when searching for entities, Liam Hoekenga, 03/30/2017
- RE: [grouper-users] grouper displaying "description" when searching for entities, Hyzer, Chris, 03/30/2017
- Re: [grouper-users] grouper displaying "description" when searching for entities, Liam Hoekenga, 03/30/2017
- Re: [grouper-users] grouper displaying "description" when searching for entities, Liam Hoekenga, 03/30/2017
- <Possible follow-up(s)>
- Re: [grouper-users] grouper displaying "description" when searching for entities, Liam Hoekenga, 03/30/2017
- RE: [grouper-users] grouper displaying "description" when searching for entities, Hyzer, Chris, 03/30/2017
- RE: [grouper-users] grouper displaying "description" when searching for entities, Hyzer, Chris, 03/02/2017
Archive powered by MHonArc 2.6.19.