You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tapestry.apache.org by "Howard M. Lewis Ship (Updated) (JIRA)" <ji...@apache.org> on 2011/10/17 19:59:10 UTC

[jira] [Updated] (TAP5-1693) Spring beans of type java.lang.String can confuse Tapestry, which will use them in preference to other injections, such as @Symbol

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

Howard M. Lewis Ship updated TAP5-1693:
---------------------------------------

    Priority: Critical  (was: Blocker)
     Summary: Spring beans of type java.lang.String can confuse Tapestry, which will use them in preference to other injections, such as @Symbol  (was: Improper Detection of "String" Beans in Symbol Injection)
    
> Spring beans of type java.lang.String can confuse Tapestry, which will use them in preference to other injections, such as @Symbol
> ----------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: TAP5-1693
>                 URL: https://issues.apache.org/jira/browse/TAP5-1693
>             Project: Tapestry 5
>          Issue Type: Bug
>          Components: tapestry-ioc, tapestry-spring
>    Affects Versions: 5.3
>            Reporter: Martin Papy
>            Assignee: Howard M. Lewis Ship
>            Priority: Critical
>             Fix For: 5.3
>
>         Attachments: screenshot-1.jpg
>
>
> I found a pretty confusing issue that seems Blocker to me.
> In my project I am using a JNDI name to configure a piece of my application. Basically in this case Spring creates of Bean of type "java.lang.String". That was perfectly working under Tapestry 5.2.6.
> Since I updated to 5.3-beta-19 1 time out of 3 the whole application if failling because Tapestry cannot resolve Page Name anymore.
> After digging it turns out that Tapestry is Injecting the value of this Bean in several places where it should not : example  applicationCharset or startPageName.
> Please see attached screenshots for better understanding.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira