Ticket #14429 (confirmed Bug)
Template files starting with underscores break the file tree
Reported by: | simon.kohlmeyer@… | Owned by: | |
---|---|---|---|
Priority: | minor | Milestone: | 4.x |
Component: | Diazo (plone.app.theming) | Version: | 4.3 |
Keywords: | Cc: |
Description
When I create a new Diazo theme and add a file whose name starts with an underscore (e.g. _foo.html), re-opening the "modify design" view will just render "Load error! (error)" on the left instead of showing the file list.
Uploading a zip that contains files starting with underscores results in the same behavior. This also occurs when the files are in subdirectories.
Steps to reproduce:
- Create new diazo theme
- New file -> name: _foo.html
- Back to Settings
- Modify the new theme
- Observe error on the left.
Exact versions:
- Plone 4.3.3 (4308)
- CMF 2.2.7
- Zope 2.13.22
- Python 2.7.6 (default, Mar 22 2014, 22:59:38) [GCC 4.8.2]
- PIL 2.3.0 (Pillow)
Change History
Note: See
TracTickets for help on using
tickets.
I was also able to reproduce this in Plone 4.3.3. I was able to add the file without error, but was not able to edit it.