Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Not A Problem
-
3.0.0-beta-1
Description
Following construct is in a sitemap match of:
<map:match pattern="/staticstuff/{docid}/{nn}">
<map:select value="{jexl:cocoon.request.method}">
<map:when equals="POST">
<map:transform type="tee">
<map:parameter name="nn" value="{map:nn}"/>
<map:parameter name="Url" value="repo:/{map:docid}"/>
</map:transform>
<map:transform type="edit">
<map:parameter name="nn" value="{map:nn}"/>
<map:parameter name="element" value="{jexl:cocoon.request.parameter.element}"/>
</map:transform>
</map:when>
<map:otherwise/>
</map:select>
<map:match pattern="/staticstuff/{docid}/{nn}">
<map:select value="{jexl:cocoon.request.method}">
<map:when equals="POST">
<map:transform type="tee">
<map:parameter name="nn" value="{map:nn}"/>
<map:parameter name="Url" value="repo:/{map:docid}"/>
</map:transform>
<map:transform type="edit">
<map:parameter name="nn" value="{map:nn}"/>
<map:parameter name="element" value="{jexl:cocoon.request.parameter.element}"/>
</map:transform>
</map:when>
<map:otherwise/>
</map:select>