-
Type: Bug
-
Status: Resolved
-
Priority: Major
-
Resolution: Fixed
-
Affects Version/s: 9.10, 10.10, 11.1-SNAPSHOT
-
Component/s: Template Rendering, Web UI
-
Release Notes Summary:Render With Template shows only the last template version.
-
Backlog priority:300
-
Browser:
-
Sprint:nxGang Sprint 11.1.5, nxGang Sprint 11.1.6
-
Story Points:2
When using the Template Rendering addon, a new user action is displayed to "Render With Template". This shows a list of available templates, but it includes all versions of each template document/object. I think this is defined in:
where the search query is:
select * from Document where ecm:mixinType = "Template" AND ecm:currentLifeCycleState != "deleted" AND tmpl:applicableTypes IN ( "all", "' + input['type'] + '")'
I think this should include a clause to exclude document versions. e.g. ecm:isVersion = 0
Compare with the default query in the WebUI admin NXQL page:
SELECT * FROM Document WHERE ecm:mixinType != 'HiddenInNavigation' AND ecm:isProxy = 0 AND ecm:isCheckedInVersion = 0 AND ecm:currentLifeCycleState != 'deleted'
Should proxies be excluded too? i.e.
ecm:isProxy = 0
As it stands, it is very difficult to establish which entry in the list is the latest version of the template, and therefore will provide unpredictable results when rendering the output.
- is related to
-
NXP-28225 Revert commit so Render With Template shows all template versions
- Resolved