Skip to Content.
Sympa Menu

grouper-users - RE: [grouper-users] Missing subjects display

Subject: Grouper Users - Open Discussion List

List archive

RE: [grouper-users] Missing subjects display


Chronological Thread 
  • From: Chris Hyzer <>
  • To: Christopher Bongaarts <>, "" <>
  • Subject: RE: [grouper-users] Missing subjects display
  • Date: Tue, 20 Jan 2015 06:18:51 +0000
  • Accept-language: en-US

This is fixed. 

 

https://bugs.internet2.edu/jira/browse/GRP-1100

 

There are two patches to implement this change, one in API and one in UI.

There are sample patch commands below this screenshot

 

Thanks,

Chris

 

 

 

 

 

[appadmin@i2midev1 patches]$ java -jar grouperInstaller.jar

Do you want to 'install' a new installation of grouper, 'upgrade' an existing installation

  or 'patch' an existing installation

  (enter: 'install', 'upgrade', 'patch' or blank for the default) [install]: patch

Enter in a Grouper temp directory to download tarballs (note: better if no spaces or special chars) [/opt/grouper/2.2/patches]:

What do you want to patch?  api, ui, ws, or psp? [api]: ui

Where is the grouper UI installed? /opt/tomcats/tomcat_d/webapps/grouper_v2_2

What do you want to do with patches (install, revert, status)? [install]:

 

################ Checking patch grouper_v2_2_1_api_patch_0

Patch: grouper_v2_2_1_api_patch_0: was applied on: 2015/01/18 17:45:34

 

 

################ Checking patch grouper_v2_2_1_api_patch_1

Patch: grouper_v2_2_1_api_patch_1: was applied on: 2015/01/18 17:46:04

 

 

################ Checking patch grouper_v2_2_1_api_patch_2

Patch: grouper_v2_2_1_api_patch_2: was applied on: 2015/01/18 17:46:24

 

 

################ Checking patch grouper_v2_2_1_api_patch_3

Downloading from URL: http://software.internet2.edu/grouper/release/2.2.1/patches/grouper_v2_2_1_api_patch_3.tar.gz to file: /opt/grouper/2.2/patches/grouper_v2_2_1_api_patch_3.tar.gz

Unzipping: /opt/grouper/2.2/patches/grouper_v2_2_1_api_patch_3.tar.gz

Expanding: /opt/grouper/2.2/patches/grouper_v2_2_1_api_patch_3.tar

Patch grouper_v2_2_1_api_patch_3 is medium risk, is a security patch

GRP-1100 grouper new ui not showing unresolvable subjects correctly

Would you like to install patch grouper_v2_2_1_api_patch_3 (t|f)? [t]:

 

- set property: grouper_v2_2_1_api_patch_3.date from: 2015/01/20 06:03:03 to: 2015/01/20 06:07:54

This patch requires all processes that user Grouper to be stopped.

  Please stop these processes if they are running and press <enter> to continue...

 

Applying file: /opt/tomcats/tomcat_d/webapps/grouper_v2_2/WEB-INF/classes/edu/internet2/middleware/grouper/membership/MembershipSubjectContainer.java

Applying file: /opt/tomcats/tomcat_d/webapps/grouper_v2_2/WEB-INF/classes/edu/internet2/middleware/grouper/membership/MembershipSubjectContainer.class

Applying file: /opt/tomcats/tomcat_d/webapps/grouper_v2_2/WEB-INF/classes/edu/internet2/middleware/grouper/subj/LazySubject$LazySubjectType.class

Applying file: /opt/tomcats/tomcat_d/webapps/grouper_v2_2/WEB-INF/classes/edu/internet2/middleware/grouper/subj/UnresolvableSubject.class

Applying file: /opt/tomcats/tomcat_d/webapps/grouper_v2_2/WEB-INF/classes/edu/internet2/middleware/grouper/subj/UnresolvableSubject$LazySubjectType.class

Applying file: /opt/tomcats/tomcat_d/webapps/grouper_v2_2/WEB-INF/classes/edu/internet2/middleware/grouper/subj/LazySubject.java

Applying file: /opt/tomcats/tomcat_d/webapps/grouper_v2_2/WEB-INF/classes/edu/internet2/middleware/grouper/subj/UnresolvableSubject.java

Applying file: /opt/tomcats/tomcat_d/webapps/grouper_v2_2/WEB-INF/classes/edu/internet2/middleware/grouper/subj/LazySubject.class

Patch successfully applied: grouper_v2_2_1_api_patch_3

- added to end of property file: grouper_v2_2_1_api_patch_3.state = applied

 

 

################ Checking patch grouper_v2_2_1_api_patch_4

Patch doesnt exist yet (not an error): http://software.internet2.edu/grouper/release/2.2.1/patches/grouper_v2_2_1_api_patch_4.tar.gz

 

 

################ Checking patch grouper_v2_2_1_ui_patch_0

Patch: grouper_v2_2_1_ui_patch_0: was applied on: 2015/01/18 17:46:18

 

 

################ Checking patch grouper_v2_2_1_ui_patch_1

Patch: grouper_v2_2_1_ui_patch_1: was applied on: 2015/01/18 17:46:20

 

 

################ Checking patch grouper_v2_2_1_ui_patch_2

Patch: grouper_v2_2_1_ui_patch_2: was applied on: 2015/01/18 17:46:22

 

 

################ Checking patch grouper_v2_2_1_ui_patch_3

Patch: grouper_v2_2_1_ui_patch_3: was applied on: 2015/01/18 18:12:10

 

 

################ Checking patch grouper_v2_2_1_ui_patch_4

Patch: grouper_v2_2_1_ui_patch_4: was applied on: 2015/01/18 17:46:30

 

 

################ Checking patch grouper_v2_2_1_ui_patch_5

Patch: grouper_v2_2_1_ui_patch_5: was applied on: 2015/01/18 17:46:31

 

 

################ Checking patch grouper_v2_2_1_ui_patch_6

Patch: grouper_v2_2_1_ui_patch_6: was applied on: 2015/01/18 19:55:29

 

 

################ Checking patch grouper_v2_2_1_ui_patch_7

Downloading from URL: http://software.internet2.edu/grouper/release/2.2.1/patches/grouper_v2_2_1_ui_patch_7.tar.gz to file: /opt/grouper/2.2/patches/grouper_v2_2_1_ui_patch_7.tar.gz

Unzipping: /opt/grouper/2.2/patches/grouper_v2_2_1_ui_patch_7.tar.gz

Expanding: /opt/grouper/2.2/patches/grouper_v2_2_1_ui_patch_7.tar

Patch grouper_v2_2_1_ui_patch_7 is medium risk, is a security patch

This patch fixes GRP-1100 grouper new ui not showing unresolvable subjects correctly

Would you like to install patch grouper_v2_2_1_ui_patch_7 (t|f)? [t]:

 

- added to end of property file: grouper_v2_2_1_ui_patch_7.date = 2015/01/20 06:07:59

Applying file: /opt/tomcats/tomcat_d/webapps/grouper_v2_2/WEB-INF/grouperUi2/stem/stemPrivilegeContents.jsp

Applying file: /opt/tomcats/tomcat_d/webapps/grouper_v2_2/WEB-INF/classes/edu/internet2/middleware/grouper/grouperUi/beans/api/GuiSubject.java

Applying file: /opt/tomcats/tomcat_d/webapps/grouper_v2_2/WEB-INF/classes/edu/internet2/middleware/grouper/grouperUi/beans/api/GuiSubject.class

Applying file: /opt/tomcats/tomcat_d/webapps/grouper_v2_2/WEB-INF/classes/edu/internet2/middleware/grouper/grouperUi/beans/api/GuiSubject$1.class

Applying file: /opt/tomcats/tomcat_d/webapps/grouper_v2_2/WEB-INF/classes/grouperText/grouper.text.en.us.base.properties

Patch successfully applied: grouper_v2_2_1_ui_patch_7

- added to end of property file: grouper_v2_2_1_ui_patch_7.state = applied

 

 

################ Checking patch grouper_v2_2_1_ui_patch_8

Patch doesnt exist yet (not an error): http://software.internet2.edu/grouper/release/2.2.1/patches/grouper_v2_2_1_ui_patch_8.tar.gz

 

Since patches were applied, you should delete files in your app server work directory,

  in tomcat it is named 'work

 

 

From: [mailto:] On Behalf Of Christopher Bongaarts
Sent: Thursday, January 15, 2015 1:45 PM
To:
Subject: [grouper-users] Missing subjects display

 

We're in the process of upgrading our Grouper install from 1.5.x to 2.2.1.  There's one issue that we'd like to clean up but I'm unsure of how to fix it.

We use our LDAP directory for our subject store (via the JNDI source).  At times, users can be deleted from the directory without being deleted from groups in Grouper.  In our 1.5 web UI, these users appear in group lists as "(uniqueID) not found".

In the 2.2.1 UI, in group membership lists, the table cell for the name field is completely empty.  Example HTML for a user that exists in the source:

<td class="expand foo-clicker">
    <a title="(username)" rel="tooltip" data-placement="right" data-delay-show="200" data-html="true" guiV2link('operation=UiV2Subject.viewSubject&subjectId=(uniqueID)&sourceId=umnldap');" href=""UiV2Main.index?operation=UiV2Subject.viewSubject&subjectId=uniqueID&sourceId=umnldap">
    <i class="fa fa-user">::before</i>First M Lastname</a>
    <br></br>
</td>

For a user that does not exist in the source:

<td class="expand foo-clicker">
    <br></br>
</td>


If you select the "edit membships" dropdown for the blank line, it brings up the Edit Memberships page, which shows "(uniqueID) entity not found" everywhere the person's name or description would have shown up (which is what we want).

I having trouble figuring out where/how to fix this (or if I've stumbled on an actual bug, but at this point my suspicion is we're missing some sort of config setting).  The fact that the Edit Membership pages behaves "correctly" but the list items don't confuses and frightens me.   Any ideas?  :)

-- 
%%  Christopher A. Bongaarts   %%            %%
%%  OIT - Identity Management  %%  http://umn.edu/~cab  %%
%%  University of Minnesota    %%  +1 (612) 625-1809    %%



Archive powered by MHonArc 2.6.16.

Top of Page