[MAGNOLIA-5894] Add boolean voter that votes on a particular GET parameter and an optional value Created: 22/Aug/14  Updated: 01/Sep/14  Resolved: 22/Aug/14

Status: Closed
Project: Magnolia
Component/s: core
Affects Version/s: None
Fix Version/s: 5.3.3

Type: Improvement Priority: Neutral
Reporter: Philip Mundt Assignee: Philip Mundt
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
dependency
is depended upon by MGNLPN-184 Switching to original of a page in pa... Closed
Template:
Acceptance criteria:
Empty
Task DoD:
[ ]* Doc/release notes changes? Comment present?
[ ]* Downstream builds green?
[ ]* Solution information and context easily available?
[ ]* Tests
[ ]* FixVersion filled and not yet released
[ ]  Architecture Decision Record (ADR)

 Description   

It's currently not possible to e.g. add bypasses for servlets that vote on the existence of a GET parameter (and an optional value).

info.magnolia.voting.voters.BasePatternVoter#resolveURIFromValue(Object value) will only consider the RequestURI which doesn't contain any query string.

info.magnolia.voting.voters.RequestHasParametersVoter only votes whenever there is any parameter (GET or POST).


Generated at Mon Feb 12 04:09:23 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.