Mantis Bugtracker
  

Viewing Issue Advanced Details Jump to Notes ] View Simple ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0002723 [Resin] major always 06-07-08 17:08 06-23-08 10:20
Reporter wirah View Status public  
Assigned To ferg
Priority normal Resolution fixed Platform
Status closed   OS
Projection none   OS Version
ETA none Fixed in Version 3.2.0 Product Version 3.1.5
  Product Build
Summary 0002723: Tapestry 5.0.11 PropertyDisplayBlocks.tml doesn't render in Resin
Description When trying to render a page which has the t:grid component, which renders fine in embedded jetty 7 servlet container, I get the following error instead of the page rendering like it should:

An unexpected application exception has occurred.

Render queue error in BeginRender[accountHistory/Page:grid.rows.gridcell]: Failure parsing template classpath:org/apache/tapestry/corelib/pages/PropertyDisplayBlocks.tml: Element <container> does not support any attributes.

I don't understand why this happens, since the <container> element in that tapestry supplied tml file doesn't have any attributes save for the xml namespace ones, I'm thinking resin is trying to parse the tml as some sort of configuration file - which is probably a bad thing!

The tml file in question is supplied by tapestry as part of the tapestry-core jar thus not created by me. The tml file in which I use the t:grid component looks like this:

        <t:parameter name="content1">

            <table t:type="grid" t:source="accountHistory" />

        </t:parameter>

as you can see, there isn't a huge amount to do wrong!

In jetty, the table+page render perfectly.
Steps To Reproduce
Additional Information Tested on 3.1.4 too.
Attached Files

- Relationships

- Notes
(0003147)
wirah
06-08-08 02:10

I have now also tested this issue on tomcat 6.0.16 and found the site to be working.

So to confirm it is only Resin on which this bug occurs.
 
(0003175)
ferg
06-11-08 13:50

This doesn't really give enough information to reproduce. The parse error is not Resin's error message, it looks like a Tapestry message.

Check the jars for the classpath:/org/apache/tapestry/corelib/pages/PropertyDisplayBlocks.tml file and see if it looks correct.

There might also be an obsolete file somewhere in an older jar.
 
(0003217)
ferg
06-23-08 10:20

server/00k{d,e}
 

- Issue History
Date Modified Username Field Change
06-07-08 17:08 wirah New Issue
06-08-08 02:10 wirah Note Added: 0003147
06-11-08 13:50 ferg Note Added: 0003175
06-23-08 10:20 ferg Note Added: 0003217
06-23-08 10:20 ferg Assigned To  => ferg
06-23-08 10:20 ferg Status new => closed
06-23-08 10:20 ferg Resolution open => fixed
06-23-08 10:20 ferg Fixed in Version  => 3.2.0


Mantis 1.0.0rc3[^]
Copyright © 2000 - 2005 Mantis Group
33 total queries executed.
28 unique queries executed.
Powered by Mantis Bugtracker