You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by "Olaf Siefart (Created) (JIRA)" <ji...@apache.org> on 2012/03/26 22:54:29 UTC

[jira] [Created] (WICKET-4476) Inline Enclosure generates not unique markup ids

Inline Enclosure generates not unique markup ids
------------------------------------------------

                 Key: WICKET-4476
                 URL: https://issues.apache.org/jira/browse/WICKET-4476
             Project: Wicket
          Issue Type: Bug
          Components: wicket
    Affects Versions: 1.4.20
         Environment: Java 6, Mac OS
            Reporter: Olaf Siefart
            Priority: Critical


Using a repeater with nested inline enclosure i found identical markup ids in the html markup, so ajax is not working properly. 

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (WICKET-4476) Inline Enclosure generates not unique markup ids

Posted by "Martin Grigorov (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/WICKET-4476?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13244083#comment-13244083 ] 

Martin Grigorov commented on WICKET-4476:
-----------------------------------------

Works fine in 1.5-SNAPSHOT.
Both InlineEnclosures have unique ids and the children (links) inside them as well.
Maybe it is a problem in 1.4-SNAPSHOT but 1.4.x receives only security fixes. You are recommended to upgrade to 1.5.5.
                
> Inline Enclosure generates not unique markup ids
> ------------------------------------------------
>
>                 Key: WICKET-4476
>                 URL: https://issues.apache.org/jira/browse/WICKET-4476
>             Project: Wicket
>          Issue Type: Bug
>          Components: wicket
>    Affects Versions: 1.4.20
>         Environment: Java 6, Mac OS
>            Reporter: Olaf Siefart
>            Priority: Critical
>              Labels: enclosure, inline, markupid
>   Original Estimate: 2h
>  Remaining Estimate: 2h
>
> Using a repeater with nested inline enclosure i found identical markup ids in the html markup, so ajax is not working properly. 

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (WICKET-4476) Inline Enclosure generates not unique markup ids

Posted by "Olaf Siefart (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/WICKET-4476?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13238813#comment-13238813 ] 

Olaf Siefart commented on WICKET-4476:
--------------------------------------

Showcase: https://github.com/osiefart/wicket-jira-bugs/tree/master/WICKET-4476
                
> Inline Enclosure generates not unique markup ids
> ------------------------------------------------
>
>                 Key: WICKET-4476
>                 URL: https://issues.apache.org/jira/browse/WICKET-4476
>             Project: Wicket
>          Issue Type: Bug
>          Components: wicket
>    Affects Versions: 1.4.20
>         Environment: Java 6, Mac OS
>            Reporter: Olaf Siefart
>            Priority: Critical
>              Labels: enclosure, inline, markupid
>   Original Estimate: 2h
>  Remaining Estimate: 2h
>
> Using a repeater with nested inline enclosure i found identical markup ids in the html markup, so ajax is not working properly. 

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (WICKET-4476) Inline Enclosure generates not unique markup ids

Posted by "Olaf Siefart (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/WICKET-4476?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13238826#comment-13238826 ] 

Olaf Siefart commented on WICKET-4476:
--------------------------------------

I found two possible reasons for the not unique markup ids:

org.apache.wicket.markup.parser.filter.InlineEnclosureHandler:
--> Line number: 108
--> tag.getAttributes().put("id", tag.getId());

org.apache.wicket.markup.html.internal.InlineEnclosure
--> Line number: 64
--> setMarkupId(getId());

                
> Inline Enclosure generates not unique markup ids
> ------------------------------------------------
>
>                 Key: WICKET-4476
>                 URL: https://issues.apache.org/jira/browse/WICKET-4476
>             Project: Wicket
>          Issue Type: Bug
>          Components: wicket
>    Affects Versions: 1.4.20
>         Environment: Java 6, Mac OS
>            Reporter: Olaf Siefart
>            Priority: Critical
>              Labels: enclosure, inline, markupid
>   Original Estimate: 2h
>  Remaining Estimate: 2h
>
> Using a repeater with nested inline enclosure i found identical markup ids in the html markup, so ajax is not working properly. 

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Resolved] (WICKET-4476) Inline Enclosure generates not unique markup ids

Posted by "Martin Grigorov (Resolved) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/WICKET-4476?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Martin Grigorov resolved WICKET-4476.
-------------------------------------

    Resolution: Cannot Reproduce
    
> Inline Enclosure generates not unique markup ids
> ------------------------------------------------
>
>                 Key: WICKET-4476
>                 URL: https://issues.apache.org/jira/browse/WICKET-4476
>             Project: Wicket
>          Issue Type: Bug
>          Components: wicket
>    Affects Versions: 1.4.20
>         Environment: Java 6, Mac OS
>            Reporter: Olaf Siefart
>            Priority: Critical
>              Labels: enclosure, inline, markupid
>   Original Estimate: 2h
>  Remaining Estimate: 2h
>
> Using a repeater with nested inline enclosure i found identical markup ids in the html markup, so ajax is not working properly. 

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira