You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by "Andrea Del Bene (JIRA)" <ji...@apache.org> on 2011/09/08 19:22:08 UTC

[jira] [Updated] (WICKET-4016) MarkupContainer.toString(true) fails with MarkupNotFoundException if the call is made in the component constructor

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

Andrea Del Bene updated WICKET-4016:
------------------------------------

    Attachment: toStringComponentPatch.txt

> MarkupContainer.toString(true) fails with MarkupNotFoundException if the call is made in the component constructor
> ------------------------------------------------------------------------------------------------------------------
>
>                 Key: WICKET-4016
>                 URL: https://issues.apache.org/jira/browse/WICKET-4016
>             Project: Wicket
>          Issue Type: Bug
>          Components: wicket
>    Affects Versions: 1.5-RC7
>            Reporter: Martin Grigorov
>         Attachments: toStringComponentPatch.txt
>
>
> org.apache.wicket.MarkupContainer.toString(boolean) uses "if (getMarkup() != null)" to decide whether to write something for the markup but since recently Component#getMarkup() throws MarkupNotFoundException when there is no markup and doesn't return null.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira