PrettyURL bug with Products module
Posted: Thu Nov 24, 2016 3:37 am
CMSMS Version: 2.1.5
Products Module Version: 2.25.3
Bug reported here: http://dev.cmsmadesimple.org/bug/view/11225
I'm not actually sure if this ever behaved as I would expect it to behave in any version of the Products module. This behaviour definitely goes back quite a few versions.
Description:
When URL rewriting is enabled, and the action is set to 'hierarchy' the summarytemplate parameter is not incorporated into the pretty URL.
Example 1 - Pretty URLs disabled:
{Products action='hierarchy' summarytemplate="summary2"}
When the above tag is used, the resulting URL from a hierarchy report will be:
http://www.myhost.com/index.php?mact=Pr ... eturnid=34
...which will link to the summary list with the appropriate summary template.
Example 2 - Pretty URLs enabled:
{Products action='hierarchy' summarytemplate="summary2"}
When the above tag is used, the resulting URL from a hierarchy report will be:
http://www.myhost.com/products/byhierarchy/1/34.html
...which will link to the summary list with the *default* summary template, ignoring the summary template parameter which specifies the template to be used for the (default) summary action.
Products Module Version: 2.25.3
Bug reported here: http://dev.cmsmadesimple.org/bug/view/11225
I'm not actually sure if this ever behaved as I would expect it to behave in any version of the Products module. This behaviour definitely goes back quite a few versions.
Description:
When URL rewriting is enabled, and the action is set to 'hierarchy' the summarytemplate parameter is not incorporated into the pretty URL.
Example 1 - Pretty URLs disabled:
{Products action='hierarchy' summarytemplate="summary2"}
When the above tag is used, the resulting URL from a hierarchy report will be:
http://www.myhost.com/index.php?mact=Pr ... eturnid=34
...which will link to the summary list with the appropriate summary template.
Example 2 - Pretty URLs enabled:
{Products action='hierarchy' summarytemplate="summary2"}
When the above tag is used, the resulting URL from a hierarchy report will be:
http://www.myhost.com/products/byhierarchy/1/34.html
...which will link to the summary list with the *default* summary template, ignoring the summary template parameter which specifies the template to be used for the (default) summary action.