Issue Type: Bug Bug
Affects Versions: 5.0
Assignee: Unassigned
Created: 02/Aug/13 8:10 AM
Description:

We have a page with a model class that uses one parameter ("constraint") which gets set multiple times in the url. e.g.
http://www.wetenschap24.nl/ondemand.html?constraint=extra_field_nl_vpro_subsite%3Alabyrint&constraint=extra_field_nl_vpro_page_type%3AVideo

However this does not work properly, all pages which end with same 'constraint' parameter get cached under the same cacheentry.

This is caused by line 146 of info.magnolia.module.cache.cachepolicy.Default:
params = MgnlContext.getWebContext().getParameters();

This function flattens the parameters so every one only occurs once.
info.magnolia.context.WebContextImpl.getParameters() even warns for that
effect.

This causes problems for every page which uses multiple times the same parameter.

Environment: Mac OSX , Java 1.6
Project: Magnolia Cache Module
Labels: vpro
Priority: Major Major
Reporter: Rico Jansen
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira



----------------------------------------------------------------
For list details, see: http://www.magnolia-cms.com/community/mailing-lists.html
Alternatively, use our forums: http://forum.magnolia-cms.com/
To unsubscribe, E-mail to: <[email protected]>
----------------------------------------------------------------

Reply via email to