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

Template reference issue loss of xml information

    XMLWordPrintable

Details

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Medium Medium
    • 3.10.0rc1, 3.9.4
    • 3.10.0beta1, 3.9.3
    • Misc
    • None

    Description

      following code should be used in a full view template

      In the following code "output_text" looses it`s reference to the text after the first run through the loop. Even if you would fetch the node again you still can`t receive the information. We guess it has also broke the internal content object cache.

      Steps to reproduce
              {def $page_limit=40
                   $children=fetch_alias( children, hash( parent_node_id, $node.node_id,
                                                         offset, $view_parameters.offset,
                                                         limit, $page_limit,
                                                         sort_by, $node.sort_array ) )
                   $children_count=fetch_alias( children_count, hash( parent_node_id, $node.node_id ) )}
      {foreach $children as $child}
          {$children.0.object.data_map.caption.content.output.output_text}
          {node_view_gui view=galleryline content_node=$child}
      {/foreach}
      

      Attachments

        Activity

          People

            dl dl
            a7ccb6eb-752c-4f73-908e-4baabf343cdd@accounts.ibexa.co Björn Dieding
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: