[ http://issues.apache.org/jira/browse/COCOON-1354?page=all ]
David Crossley updated COCOON-1354: ----------------------------------- Bugzilla Id: (was: 32336) Other Info: [Patch available] Description: <map:serialize type="html" status-code="{sc}"/> does not return the resolved variable sc as HTTP status code but simply returns 200 OK as HTTP code. Some applications may want to store the status code in a variable and pass this varibale to the serialzer, expecting it to expand it (Cocoon-Lenya is an example). Suggested enhancement patch to expand variables on the serializer is attached. was: <map:serialize type="html" status-code="{sc}"/> does not return the resolved variable sc as HTTP status code but simply returns 200 OK as HTTP code. Some applications may want to store the status code in a variable and pass this varibale to the serialzer, expecting it to expand it (Cocoon-Lenya is an example). Suggested enhancement patch to expand variables on the serializer is attached. > [Patch] status-code on serializer not expanding variables > --------------------------------------------------------- > > Key: COCOON-1354 > URL: http://issues.apache.org/jira/browse/COCOON-1354 > Project: Cocoon > Type: Improvement > Components: - Components: Sitemap > Versions: 2.1.8 > Environment: Operating System: All > Platform: All > Reporter: Jochen Seifarth > Assignee: Cocoon Developers Team > Priority: Minor > Attachments: status-code.diff > > <map:serialize type="html" status-code="{sc}"/> > does not return the resolved variable sc as HTTP status code but simply > returns > 200 OK as HTTP code. Some applications may want to store the status code in a > variable and pass this varibale to the serialzer, expecting it to expand it > (Cocoon-Lenya is an example). > Suggested enhancement patch to expand variables on the serializer is attached. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira