You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tapestry.apache.org by "Thiago Henrique De Paula Figueiredo (Jira)" <ji...@apache.org> on 2021/01/26 21:50:00 UTC

[jira] [Closed] (TAP5-2660) Empty string and null namespaces should be treated as the same in Element

     [ https://issues.apache.org/jira/browse/TAP5-2660?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Thiago Henrique De Paula Figueiredo closed TAP5-2660.
-----------------------------------------------------
    Resolution: Fixed

Issue fixed in Element by always handling the empty namespace as the null namespace.

> Empty string and null namespaces should be treated as the same in Element
> -------------------------------------------------------------------------
>
>                 Key: TAP5-2660
>                 URL: https://issues.apache.org/jira/browse/TAP5-2660
>             Project: Tapestry 5
>          Issue Type: Bug
>          Components: tapestry-core
>    Affects Versions: 5.6.0, 5.6.1
>            Reporter: Thiago Henrique De Paula Figueiredo
>            Assignee: Thiago Henrique De Paula Figueiredo
>            Priority: Major
>             Fix For: 5.6.2, 5.7.0
>
>
> This causes a bug when you have an element in a template with an attribute and you try to set a value to it. The one from the template gets an empty namespace, while the one set using DOM rewriting gets a null namespace, so you end up with two attributes instead of one.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)