Details
-
Type:
Bug
-
Status: Closed
-
Priority:
Critical
-
Resolution: Fixed
-
Affects Version/s: 5.4
-
Fix Version/s: 5.4
-
Component/s: tapestry-core
-
Labels:None
Description
Rendering an empty If component causes the following error:
00:37:07.680 ERROR My5oosh - Render queue error in PostRenderCleanup[My5oosh:layout.if]: Component My5oosh:layout.if has rendered unbalanced elements; either it has started an element with MarkupWriter.element() and not followed up with MarkupWriter.end(), or it has invoked MarkupWriter.end() without first invoking MarkupWriter.element().
org.apache.tapestry5.ioc.internal.util.TapestryException: Component My5oosh:layout.if has rendered unbalanced elements; either it has started an element with MarkupWriter.element() and not followed up with MarkupWriter.end(), or it has invoked MarkupWriter.end() without first invoking MarkupWriter.element().
I suspect this is a bug in render-phase optimization.