Uploaded image for project: 'Magnolia'
  1. Magnolia
  2. MAGNOLIA-6460

cmsfn.children from root returns "rep:accesscontrol" on first

    XMLWordPrintable

Details

    • Bug
    • Resolution: Won't Do
    • Neutral
    • None
    • None
    • None
    • None
    • Magnolia EE pro 5.4.3

    Description

      When having code below in freemarker
      {{assign items = cmsfn.children(cmsfn.contentByPath("/","culture"))
      list items as item ...}}
      to list all nodes from root from custom repository (app, "culture" in this case), which was created by out of the box groovy script (but that shouldn't be relevant), then in list first item has @name="rep:accesscontrol"....

      Because of that I always have to check for mgnlType and is thought to work with item_index or items?size .

      This "rep:accesscontrol" shouldn't go to list.

      Thank you

      Checklists

        Acceptance criteria

        Attachments

          Activity

            People

              Unassigned Unassigned
              tgregovsky Tomáš Gregovský
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Checklists

                  Bug DoR
                  Task DoD