Uploaded image for project: 'Shindig'
  1. Shindig
  2. SHINDIG-1392

Only the first OSML Tag in a template gets parsed

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 2.0.0-RC2
    • PHP
    • None

    Description

      The problem is that the original node is removed to early which causes some code later on to loose its reference node. This patch fixes the issue:

      Index: php/src/gadgets/templates/TemplateParser.php
      ===================================================================
      157d156
      < $node->parentNode->removeChild($node);
      288a288
      >
      394a395
      > return $node;
      398a400
      > return $node;
      402a405
      > return $node;

      Attachments

        Activity

          People

            Unassigned Unassigned
            bhofmann Bastian Hofmann
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: