dtml-tree is failing when opening ZMI in trunk

Bug #318234 reported by Baiju Muthukadan
2
Affects Status Importance Assigned to Milestone
Zope 2
Fix Released
Undecided
Unassigned

Bug Description

When opening ZMI after a fresh installation of trunk code, it produces this error:

Traceback (innermost last):
  Module ZPublisher.Publish, line 119, in publish
  Module ZPublisher.mapply, line 77, in mapply
  Module ZPublisher.Publish, line 42, in call_object
  Module Shared.DC.Scripts.Bindings, line 324, in __call__
  Module Shared.DC.Scripts.Bindings, line 361, in _bindAndExec
  Module App.special_dtml, line 116, in _exec
  Module App.special_dtml, line 50, in _cook_check
   - __traceback_info__: /opt/baiju/ztpy25/lib/python/App/dtml/menu.dtml
  Module DocumentTemplate.DT_String, line 343, in cook
  Module DocumentTemplate.DT_String, line 165, in parse
  Module DocumentTemplate.DT_String, line 63, in parse_error
ParseError: Unexpected tag, for tag <dtml-tree nowrap=1>, on line 37 of manage_menu

Revision history for this message
Baiju Muthukadan (baijum) wrote :

I guess this is because 'TreeDisplay' package is not imported anywhere explicitly.
Earlier it was imported in lib/python/Globals/__init__.py
But now it is a deferred import. I think it should be imported in
one of startup module.

Revision history for this message
Stefan H. Holek (stefanholek) wrote :
Changed in zope2:
status: New → Fix Committed
Changed in zope2:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.