Details
-
Bug
-
Resolution: Fixed
-
Medium
-
3.9.1
-
None
-
Operating System: Debian
PHP Version: 4.4.4-8+etch1
Database and version: 5.0.32-7etch1
Browser (and version):eZ version: stable/svn rev 18278 (revision from admin interface)
Description
Hi
I have an override for an e template, in this case one that is used when a node is edited, content/edit_attribute.tpl defined for a specific section in override.ini.append.php:
[edit_attribute_cs] Source=content/edit_attribute.tpl MatchFile=content/edit_attribute_cs.tpl Subdir=templates Match[section]=6
The override does not work when a new node is created in section 6. It does work when an existing node in section 6 is edited.
This seems to imply either that the node is not being correctly assigned to the section until it is first published, or that the template override mechanism is not checking the section-to-be when rendering the edit view for the new node.
Thanks
Matthew
Steps to reproduce
1. Create new section.
2. Override edit template based on that section.
3. Override doesn't work for new nodes, only existing nodes being edited.