History | Log In     View a printable version of the current page.  
Issue Details (XML | Word | Printable)

Key: NXP-1626
Type: Improvement Improvement
Status: Resolved Resolved
Resolution: Fixed
Priority: Minor Minor
Assignee: Florent Guillaume
Reporter: Florent Guillaume
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
Google issue summary
Nuxeo Enterprise Platform

User search does 20 identical requests to the user directory

Created: 12/10/07 14:46   Updated: 12/10/07 16:00
Component/s: None
Affects Version/s: None
Fix Version/s: 5.1.2

Time Tracking:
Original Estimate: 2 hours
Original Estimate - 2 hours
Remaining Estimate: 2 hours
Remaining Estimate - 2 hours
Time Spent: Not Specified
Remaining Estimate - 2 hours

Resolution Date: 12/10/07 16:00
Require Callback: No
Participants: Florent Guillaume
Tags:


 Description  « Hide
When doing a user search to add users to groups or add a user to an ACL, the same search is passed 20 times to the backend.
This is due to UserManagerImpl.getSuggestedEntries being called every time because select_users_results.xhtml calls principalListManager.suggestedEntries 4 times and this is done for every phase, and nothing is cached.



 All   Comments   Work Log   Change History      Sort Order: Ascending order - Click to sort in descending order
Florent Guillaume - 12/10/07 14:47
This leads to a simple LDAP search with only one result to take 20 seconds.


Florent Guillaume - 12/10/07 16:00
Fixed by caching the last result.