Bad restrictions on EntityBroker access

Description

PollListManagerImpl.findAllPollsForUserAndSitesAndPermission tries to apply a restriction on loaded polls based on the open and close date:

search.addRestriction(new Restriction("voteOpen", now));
search.addRestriction(new Restriction("voteClose", now));

Unfortunately, those restrictions are incomplete, by default the restriction will check that voteOpen and voteClose are equals to now instead of less or greater than now.

Attachments

1

Activity

Show:

Neal Caidin August 14, 2017 at 1:59 PM

Bulk closing issues that have not been updated since 2014 and earlier. Please reopen if this is still an issue and you have new information.

Stephen Marquard August 10, 2013 at 5:19 AM

Reassigning as David won't be working on Sakai in the near future.

Colin Hebert May 22, 2012 at 8:23 AM

Attached a patch fixing this issue.

Won't Fix

Details

Priority

Affects versions

Components

Assignee

Reporter

Created May 22, 2012 at 8:12 AM
Updated August 14, 2017 at 1:59 PM
Resolved August 14, 2017 at 1:59 PM