Ticket #14429 (confirmed Bug)

Opened 20 months ago

Last modified 20 months ago

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:

  1. Create new diazo theme
  2. New file -> name: _foo.html
  3. Back to Settings
  4. Modify the new theme
  5. 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

comment:1 Changed 20 months ago by cwainwright

  • Status changed from new to confirmed
  • Component changed from Unknown to Diazo (plone.app.theming)

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.

Note: See TracTickets for help on using tickets.