-
Bug
-
Resolution: Fixed
-
Critical
-
None
-
None
The content export/rendering pipelines (versioned and not versioned) in the CMS workspace can't handle binary formats:
workspace.xml
<map:match pattern="_content.*"> <map:act type="get-content"> <map:parameter name="id" value="{request-param:contentId}"/> <map:parameter name="contentVersion" value="{request-param:contentVersion}"/> <map:generate src="cocoon://_plugins/{plugin}/{contentType}.{../1}"/> <map:serialize type="xml"/> </map:act> </map:match>
If "_content.pdf" is called to generate a PDF version of the content, this pipeline is still serialized in XML...
The pipeline should be reverted to a "map:redirect-to" instead of generate/serialize calls.
This bug applies to the versioned "_content/v_**.*" pipeline as well.
[CMS-2375] Content export/rendering pipeline in the CMS workspace can't handle binary formats
Status | Original: Resolved [ 5 ] | New: Closed [ 6 ] |
Resolution | New: Fixed [ 1 ] | |
Status | Original: Open [ 1 ] | New: Resolved [ 5 ] |
Assignee | New: Cédric Damioli [ cedric ] |
Description |
Original:
The content export/rendering pipelines (versioned and not versioned) in the CMS workspace can't handle binary formats:
{code:xml|title=workspace.xml} <map:match pattern="_content.*"> <map:act type="get-content"> <map:parameter name="id" value="{request-param:contentId}"/> <map:parameter name="contentVersion" value="{request-param:contentVersion}"/> <map:generate src="cocoon://_plugins/{plugin}/{contentType}.{../1}"/> <map:serialize type="xml"/> </map:act> </map:match> {code} If "_content.pdf" is called to generate a PDF version of the content, this pipeline is still serialized in XML... The pipeline should be reverted to a "map:redirect-to" instead of generate/serialize calls. This bug applies to the versioned "\_content/v\_**.*" pipeline as well. |
New:
The content export/rendering pipelines (versioned and not versioned) in the CMS workspace can't handle binary formats:
{code:xml|title=workspace.xml} <map:match pattern="_content.*"> <map:act type="get-content"> <map:parameter name="id" value="{request-param:contentId}"/> <map:parameter name="contentVersion" value="{request-param:contentVersion}"/> <map:generate src="cocoon://_plugins/{plugin}/{contentType}.{../1}"/> <map:serialize type="xml"/> </map:act> </map:match> {code} If "_content.pdf" is called to generate a PDF version of the content, this pipeline is still serialized in XML... The pipeline should be reverted to a "map:redirect-to" instead of generate/serialize calls. This bug applies to the versioned "\_content/v\_\*\*.*" pipeline as well. |
Description |
Original:
The content export/rendering pipelines (versioned and not versioned) in the CMS workspace can't handle binary formats:
{code:xml|title=workspace.xml} <map:match pattern="_content.*"> <map:act type="get-content"> <map:parameter name="id" value="{request-param:contentId}"/> <map:parameter name="contentVersion" value="{request-param:contentVersion}"/> <map:generate src="cocoon://_plugins/{plugin}/{contentType}.{../1}"/> <map:serialize type="xml"/> </map:act> </map:match> {code} If "_content.pdf" is called to generate a PDF version of the content, this pipeline is still serialized in XML... The pipeline should be reverted to a "map:redirect-to" instead of generate/serialize calls. This bug applies to the "_content/v_**.*" pipeline as well. |
New:
The content export/rendering pipelines (versioned and not versioned) in the CMS workspace can't handle binary formats:
{code:xml|title=workspace.xml} <map:match pattern="_content.*"> <map:act type="get-content"> <map:parameter name="id" value="{request-param:contentId}"/> <map:parameter name="contentVersion" value="{request-param:contentVersion}"/> <map:generate src="cocoon://_plugins/{plugin}/{contentType}.{../1}"/> <map:serialize type="xml"/> </map:act> </map:match> {code} If "_content.pdf" is called to generate a PDF version of the content, this pipeline is still serialized in XML... The pipeline should be reverted to a "map:redirect-to" instead of generate/serialize calls. This bug applies to the versioned "\_content/v\_**.*" pipeline as well. |