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

Only the first OSML Tag in a template gets parsed

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.0.0-RC2
    • Component/s: PHP
    • Labels:
      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

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

              Dates

              • Created:
                Updated:
                Resolved: