[GRP-725] subject api caching problem Created: 12/Jan/12 Updated: 14/Jan/12 Resolved: 13/Jan/12 |
|
Status: | Resolved |
Project: | Grouper |
Component/s: | UI |
Affects Version/s: | 2.0.3 |
Fix Version/s: | 2.0.4 |
Type: | Bug | Priority: | Minor |
Reporter: | Chris Hyzer (upenn.edu) | Assignee: | Chris Hyzer (upenn.edu) |
Resolution: | Fixed | Votes: | 0 |
Labels: | None | ||
Remaining Estimate: | Not Specified | ||
Time Spent: | Not Specified | ||
Original Estimate: | Not Specified |
Attachments: | patchSubjectResolver.txt |
Description |
There was a subject search caching issue with the lite ui combobox which made it difficult for users to add people to groups. I changed the grouper.ehcache.xml config file so that the caching is not used (1 second), which fixes the problem. I will look through the code to find out why this occurs and what the real solution is. (Note, I dont know which subject searches/caches are affected yet, so to be safe I set all to 1, but it is at least FindPage) <!-- @see CachingResolver#find(...) --> <!-- @see CachingResolver#findAll(...) --> <!-- @see CachingResolver#findPage(...) --> <!-- @see CachingResolver#findByIdentifier(...) --> <!-- @see CachingResolver#findByIdOrIdentifier(...) --> Thanks, |
Comments |
Comment by mchyzer [ 13/Jan/12 ] |
This is fixed, tweak in CachingResolver. Note that this is only a problem on searches when multiple sources are specified, which is rare, at Penn this happened in our SubjectPicker screen where we specify that the sources are PennPerson or groups (not external people or kerberos principals). Attached is the patch |