[ http://jira.magnolia.info/browse/MAGNOLIA-1490?page=all ]
Philipp Bracher resolved MAGNOLIA-1490.
---------------------------------------
Fix Version/s: 3.1 M2
(was: 3.1)
Resolution: Fixed
Assignee: Philipp Bracher (was: Boris Kraft)
> core: combine bypass and cache voters
> -------------------------------------
>
> Key: MAGNOLIA-1490
> URL: http://jira.magnolia.info/browse/MAGNOLIA-1490
> Project: Magnolia
> Issue Type: Improvement
> Reporter: Philipp Bracher
> Assigned To: Philipp Bracher
> Fix For: 3.1 M2
>
>
> I propose to:
> - the voters should be moved from cache to the core
> - a voter has a vote() method (replacing the current allowCache method)
> - vote() returns an integer
> - negative and positve votes
> - the voter with the highest absolute value wins
> - 0 means no vote
> - the sign of the highest value defines if this is pro/contra
> cache/notcache bypass/accept
> - vote() should not take a request object, since all information is available
> in the context
> - the value of the default pattern based voter is the length of the pattern
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.magnolia.info/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
----------------------------------------------------------------
for list details see
http://www.magnolia.info/en/developer.html
----------------------------------------------------------------