Uploaded image for project: 'eZ Publish / Platform'
  1. eZ Publish / Platform
  2. EZP-11850

dynamic content structure menu breaks on nodes with numeric name

    XMLWordPrintable

Details

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Medium Medium
    • 3.10.1, 4.0.0beta1
    • 3.10.0, 4.0.0alpha2
    • None
    • Browser: Firefox 2.0.0.8
      eZ Publish: svn stable/3.10 rev 20624

    Description

      The new (3.10) built-in dynamic csm fails to handle tree levels containing nodes that have a numeric name. A javascript error is recorded:

      Error: item.name.replace is not a function
      Source File: http://admin.captainhookawards.org/
      Line: 402

      The javascript line in question is generated bythe csm templates, in design/admin/templates/contentstructuremenu/content_structure_menu_dynamic.tpl line 229

      Thanks
      Matthew

      Steps to reproduce

      1. Enable dynamic csm in admin siteaccess.
      2. Create folder with a name that is numeric, e.g. "2006".
      3. Publish

      Result:

      Level of csm containing that folder is not displayed.

      Attachments

        Activity

          People

            cyberwolf cyberwolf
            matthewc matthewc
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: