From Bugzilla Helper: User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.5) Gecko/20030925 Description of problem: When one tries to assign a template to a content type and a category using the "Categories" tab of the content section admin UI, the system throws an exception. Version-Release number of selected component (if applicable): How reproducible: Always Steps to Reproduce: 1. Create a template (content section admin page, "Content types" tab, select one content type, click on "Add template"). 2. Go the admin pages of a content section and select the Categories tab. 3. Select a category on the left-hand side. 4. Click on the "Assign Template" button. 5. Click on the "Assign this template" link. Actual Results: (root cause: cursor does not fetch path: template.label) com.arsdigita.persistence.PersistenceException: (root cause: com.redhat.persistence.NotFetchedException: cursor does not fetch path: template.label) at com.arsdigita.persistence.PersistenceException.newInstance(PersistenceException.java:137) at com.arsdigita.persistence.PersistenceException.newInstance(PersistenceException.java:109) at com.arsdigita.persistence.DataQueryImpl.get(DataQueryImpl.java:389) at com.arsdigita.toolbox.ui.DataTable$DataQueryTableModel.getElementAt(DataTable.java:790) at com.arsdigita.bebop.Table.generateXML(Table.java:719) Expected Results: The template should be assigned and listed afterwards. Additional info: As you can see, the exception occurs when the system tries to list the assigned templates. The reason for the exception is that the definition of CategoryTemplateMapping in Template.pdl does not list template.label as an attribute which should be loaded aggressively, while some code in the CMS UI assumes that this attribute is available. A fix for this can be found in changelist 38975.
on dev @40356
Closing old tickets.