You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@shindig.apache.org by "Bastian Hofmann (JIRA)" <ji...@apache.org> on 2010/07/21 14:46:50 UTC

[jira] Created: (SHINDIG-1392) Only the first OSML Tag in a template gets parsed

Only the first OSML Tag in a template gets parsed
-------------------------------------------------

                 Key: SHINDIG-1392
                 URL: https://issues.apache.org/jira/browse/SHINDIG-1392
             Project: Shindig
          Issue Type: Bug
          Components: PHP
            Reporter: Bastian Hofmann


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;

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Resolved: (SHINDIG-1392) Only the first OSML Tag in a template gets parsed

Posted by "Paul Lindner (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/SHINDIG-1392?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Paul Lindner resolved SHINDIG-1392.
-----------------------------------

    Fix Version/s: 2.0.0-RC1
       Resolution: Fixed

patch applied.


> Only the first OSML Tag in a template gets parsed
> -------------------------------------------------
>
>                 Key: SHINDIG-1392
>                 URL: https://issues.apache.org/jira/browse/SHINDIG-1392
>             Project: Shindig
>          Issue Type: Bug
>          Components: PHP
>            Reporter: Bastian Hofmann
>             Fix For: 2.0.0-RC1
>
>
> 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;

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.