You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by "Martin Makundi (JIRA)" <ji...@apache.org> on 2008/08/16 08:05:44 UTC

[jira] Created: (WICKET-1789) Border fails to render if its contents are not visible by default

Border fails to render if its contents are not visible by default
-----------------------------------------------------------------

                 Key: WICKET-1789
                 URL: https://issues.apache.org/jira/browse/WICKET-1789
             Project: Wicket
          Issue Type: Bug
          Components: wicket
    Affects Versions: 1.4-M3
            Reporter: Martin Makundi


If the "contents" -element is visible=false during the first time the page is loaded, Wicket crashes

<wicket:border>
	<fieldset style="padding: 0px;">
	<legend> 
	  <input type="button" wicket:id="toggle_contents_button" value="Click here to show/hide"> 
	  <span wicket:id="legend"></span> 
	</legend> 
	
	<span wicket:id="contents">
		<wicket:body />
	</span>
	
	</fieldset>

</wicket:border>


Unexpected RuntimeException:

WicketMessage: Expected close tag for <span id="show_hide_bordera" wicket:id="show-hide-border">
[markup = file:/C:/workspaces/testspace/border-bug/target/classes/org/wicket/quickstart/HomePage.html
<html>
<head>
<title>Wicket Quickstart Archetype Homepage</title>
</head>
<body>
<strong>Wicket Quickstart Archetype Homepage</strong>
<br/><br/>
<span wicket:id="message">message will be here</span>
Show-hide -content:
<form wicket:id="form">
<span wicket:id="show-hide-border">Rendering the border crashes if its contents are hidden by default.</span>
</form>
</body>
</html>

, index = 12, current = [Raw markup]]

Root cause:

org.apache.wicket.markup.MarkupException: Expected close tag for <span id="show_hide_bordera" wicket:id="show-hide-border">
[markup = file:/C:/workspaces/testspace/border-bug/target/classes/org/wicket/quickstart/HomePage.html

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


[jira] Updated: (WICKET-1789) Border fails to render if its contents are not visible by default

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

Martin Makundi updated WICKET-1789:
-----------------------------------

    Attachment: border-bug-quickstart.zip

Quickstart application for reproducing the border bug.

Try running it and it should crash.

However, if you adjust the border contents to be visible by default (HomePage.java and ShowHideBorder constructor), it will render just fine and continue operating. This suggests to me that it is a bug as it fails only if the contents are hidden by default.

> Border fails to render if its contents are not visible by default
> -----------------------------------------------------------------
>
>                 Key: WICKET-1789
>                 URL: https://issues.apache.org/jira/browse/WICKET-1789
>             Project: Wicket
>          Issue Type: Bug
>          Components: wicket
>    Affects Versions: 1.4-M3
>            Reporter: Martin Makundi
>         Attachments: border-bug-quickstart.zip
>
>   Original Estimate: 0.08h
>  Remaining Estimate: 0.08h
>
> If the "contents" -element is visible=false during the first time the page is loaded, Wicket crashes
> <wicket:border>
> 	<fieldset style="padding: 0px;">
> 	<legend> 
> 	  <input type="button" wicket:id="toggle_contents_button" value="Click here to show/hide"> 
> 	  <span wicket:id="legend"></span> 
> 	</legend> 
> 	
> 	<span wicket:id="contents">
> 		<wicket:body />
> 	</span>
> 	
> 	</fieldset>
> </wicket:border>
> Unexpected RuntimeException:
> WicketMessage: Expected close tag for <span id="show_hide_bordera" wicket:id="show-hide-border">
> [markup = file:/C:/workspaces/testspace/border-bug/target/classes/org/wicket/quickstart/HomePage.html
> <html>
> <head>
> <title>Wicket Quickstart Archetype Homepage</title>
> </head>
> <body>
> <strong>Wicket Quickstart Archetype Homepage</strong>
> <br/><br/>
> <span wicket:id="message">message will be here</span>
> Show-hide -content:
> <form wicket:id="form">
> <span wicket:id="show-hide-border">Rendering the border crashes if its contents are hidden by default.</span>
> </form>
> </body>
> </html>
> , index = 12, current = [Raw markup]]
> Root cause:
> org.apache.wicket.markup.MarkupException: Expected close tag for <span id="show_hide_bordera" wicket:id="show-hide-border">
> [markup = file:/C:/workspaces/testspace/border-bug/target/classes/org/wicket/quickstart/HomePage.html

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


[jira] Resolved: (WICKET-1789) Border fails to render if its contents are not visible by default

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

Igor Vaynberg resolved WICKET-1789.
-----------------------------------

       Resolution: Fixed
    Fix Version/s: 1.4-M4
                   1.3.5
         Assignee: Igor Vaynberg

> Border fails to render if its contents are not visible by default
> -----------------------------------------------------------------
>
>                 Key: WICKET-1789
>                 URL: https://issues.apache.org/jira/browse/WICKET-1789
>             Project: Wicket
>          Issue Type: Bug
>          Components: wicket
>    Affects Versions: 1.4-M3
>            Reporter: Martin Makundi
>            Assignee: Igor Vaynberg
>             Fix For: 1.3.5, 1.4-M4
>
>         Attachments: border-bug-quickstart.zip
>
>   Original Estimate: 0.08h
>  Remaining Estimate: 0.08h
>
> If the "contents" -element is visible=false during the first time the page is loaded, Wicket crashes
> <wicket:border>
> 	<fieldset style="padding: 0px;">
> 	<legend> 
> 	  <input type="button" wicket:id="toggle_contents_button" value="Click here to show/hide"> 
> 	  <span wicket:id="legend"></span> 
> 	</legend> 
> 	
> 	<span wicket:id="contents">
> 		<wicket:body />
> 	</span>
> 	
> 	</fieldset>
> </wicket:border>
> Unexpected RuntimeException:
> WicketMessage: Expected close tag for <span id="show_hide_bordera" wicket:id="show-hide-border">
> [markup = file:/C:/workspaces/testspace/border-bug/target/classes/org/wicket/quickstart/HomePage.html
> <html>
> <head>
> <title>Wicket Quickstart Archetype Homepage</title>
> </head>
> <body>
> <strong>Wicket Quickstart Archetype Homepage</strong>
> <br/><br/>
> <span wicket:id="message">message will be here</span>
> Show-hide -content:
> <form wicket:id="form">
> <span wicket:id="show-hide-border">Rendering the border crashes if its contents are hidden by default.</span>
> </form>
> </body>
> </html>
> , index = 12, current = [Raw markup]]
> Root cause:
> org.apache.wicket.markup.MarkupException: Expected close tag for <span id="show_hide_bordera" wicket:id="show-hide-border">
> [markup = file:/C:/workspaces/testspace/border-bug/target/classes/org/wicket/quickstart/HomePage.html

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