You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tapestry.apache.org by "Chris Mylonas (JIRA)" <ji...@apache.org> on 2014/10/01 09:47:33 UTC

[jira] [Comment Edited] (TAP5-2392) Commons-IO scoped for test only, causes HTTP/500 - no stack trace

    [ https://issues.apache.org/jira/browse/TAP5-2392?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14154519#comment-14154519 ] 

Chris Mylonas edited comment on TAP5-2392 at 10/1/14 7:47 AM:
--------------------------------------------------------------

To me, it doesn't make sense either!  :)

Attaching a zip file with my code.

You can comment out the pom.xml commons-io dependency, drop the version back to 5.3.7 and just see what happens (adjust hibernate.cfg.xml to your environment)

Go to http://localhost:8080/listfooter
add a footer
fail nicely with stack trace.

update to version 5.4-beta-6
repeat visit to listfooter try to add a new footer

update to version 5.4-beta-22
repeat visit to listfooter try to add a new footer




was (Author: cstachris):
To me, it doesn't make sense either!  :)

Attaching a zip file with my code.

You can comment out the pom.xml commons-io dependency, drop the version back to 5.3.7 and just see what happens (adjust hibernate.cfg.xml to your environment)

Go to http://localhost:8080/listfooter
add a footer
fail nicely with stack trace.

update to version 5.4-beta-6
repeat visit to listfooter

update to version 5.4-beta-22
repeat visit to listfooter



> Commons-IO scoped for test only, causes HTTP/500 - no stack trace
> -----------------------------------------------------------------
>
>                 Key: TAP5-2392
>                 URL: https://issues.apache.org/jira/browse/TAP5-2392
>             Project: Tapestry 5
>          Issue Type: Bug
>          Components: tapestry-core
>    Affects Versions: 5.4
>            Reporter: Chris Mylonas
>            Priority: Minor
>         Attachments: TAP5-2392.zip
>
>
> Updating from 5.3.7 -> 5.4-beta-6 not so bad.  Going to 5.4-beta-22, a requirement for commons-io when an exception occurs happens and a HTTP 500 page is shown.
> No stack trace is shown on command line after adding to maven - so not sure if that is ideal too.
> Added to my pom.xml 
>         <dependency>
>             <groupId>commons-io</groupId>
>             <artifactId>commons-io</artifactId>
>             <version>2.4</version>
>         </dependency>



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