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

Pedro Santos resolved WICKET-6219.
----------------------------------
       Resolution: Fixed
    Fix Version/s: 7.5.0
                   6.25.0
                   8.0.0-M2

Wicket's rendering mechanism were improved and the reported usage of a Fragment 
type identifier matching its instance id is now valid.

> Fragment fails to report an error in development mode
> -----------------------------------------------------
>
>                 Key: WICKET-6219
>                 URL: https://issues.apache.org/jira/browse/WICKET-6219
>             Project: Wicket
>          Issue Type: Bug
>          Components: wicket
>    Affects Versions: 6.24.0
>            Reporter: Octavian Ciubotaru
>            Assignee: Pedro Santos
>             Fix For: 8.0.0-M2, 6.25.0, 7.5.0
>
>         Attachments: fragmentbug.zip
>
>
> Fragment under certain circumstances fails to report errors while in 
> development mode.
> In my case Fragment had the same id as markupId. Probably this should be 
> allowed but in this case it triggers a bigger problem, it is silently ignored 
> errors and even works in development, and fails in deployment mode.
> To trigger this bug, fragment must be inside a TransparentWebMarkupCotainer 
> and <wicket:child>. If we leave out either TransparentWebMarkupCotainer or 
> <wicket:child> it works, i.e. fails with correct message in either mode.
> Please check attached sample project that exhibits this behavior. Try an run 
> it with a different configuration type.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to