missing subMenuItem directive into Products/Five/browser/meta.zcml

Bug #249405 reported by sagblmi
4
Affects Status Importance Assigned to Milestone
Zope 2
Invalid
Low
Unassigned

Bug Description

zope-2.11.0-final doesn't provide the subMenuItem directive.
I've manually changed my Products/Five/browser/meta.zcml to include it and nothing seems to be broken by the change.
Maybe is-it an oversight in the backport from zope.app.publisher.browser/meta.zcml ???

My changes:
....

   <meta:complexDirective
        name="menuItems"
        schema="zope.app.publisher.browser.metadirectives.IMenuItemsDirective"
        handler="zope.app.publisher.browser.menumeta.menuItemsDirective"
        >

      <meta:subdirective
          name="menuItem"
          schema="zope.app.publisher.browser.metadirectives.IMenuItemSubdirective"
          />

     <meta:subdirective
          name="subMenuItem"
          schema="zope.app.publisher.browser.metadirectives.ISubMenuItemSubdirective"
          />

    </meta:complexDirective>

    <meta:directive
        name="menuItem"
        schema="zope.app.publisher.browser.metadirectives.IMenuItemDirective"
        handler="zope.app.publisher.browser.menumeta.menuItemDirective"
        />

    <meta:directive
        name="subMenuItem"
        schema="zope.app.publisher.browser.metadirectives.ISubMenuItemDirective"
        handler="zope.app.publisher.browser.menumeta.subMenuItemDirective"
        />

....

Revision history for this message
sagblmi (laurent-mignon) wrote :
Changed in zope2:
importance: Undecided → Low
status: New → Confirmed
Revision history for this message
Colin Watson (cjwatson) wrote :

The zope2 project on Launchpad has been archived at the request of the Zope developers (see https://answers.launchpad.net/launchpad/+question/683589 and https://answers.launchpad.net/launchpad/+question/685285). If this bug is still relevant, please refile it at https://github.com/zopefoundation/zope2.

Changed in zope2:
status: Confirmed → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Bug attachments

Remote bug watches

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