-
Type: Bug
-
Status: Resolved
-
Priority: Minor
-
Resolution: Fixed
-
Affects Version/s: 9.10, 10.10, 11.1-SNAPSHOT
-
Fix Version/s: 9.10-HF38, 10.10-HF19, 11.1, 2021.0
-
Component/s: Seam / JSF UI, Template Rendering
-
Release Notes Summary:Template whose model name contains a comma is correctly rendered.
-
Tags:
-
Backlog priority:500
- install Nuxeo
- install nuxeo-template-rendering addon
- start server
- login to Nuxeo as Administrator
- create a workspace testWks
- inside testWks create a model named test,test and attach it a docx file (see attached simple-nuxeo-tr.odt)
- create a Note document named myNote
- bind the test,test template to myNote
- head over to Associated Templates
- click Render
- observe everything works fine and the generated document is downloaded
- now click the Summary tab
- click the test,test link at the bottom-right part of the page in the Associated Templates zone. (scroll down if necessary). (see link.png)
- observe an error is returned
Expected behavior: the generated file should be downloaded (as it is with the Render button)
Note: reproduced on 9.10 and master.
Pre-analysis: observing the generated url:
http://localhost:8080/nuxeo/nxtemplate/default/default-domain/workspaces/testWks/myNote@test,test?tabIds=%3A&conversationId=0NXMAIN2
the comma is not url encoded.
Using the following url does indeed download the generated document successfully:
http://localhost:8080/nuxeo/nxtemplate/default/default-domain/workspaces/testWks/myNote@test%2Ctest?tabIds=%3A&conversationId=0NXMAIN2