[jbossseam-issues] [JBoss JIRA] Commented: (JBSEAM-3361) 2.0 wiki contains circular injections that with new bijectionInterceptor changes cause an infinite loop
Jay Balunas (JIRA)
jira-events at lists.jboss.org
Sun Aug 31 21:18:38 EDT 2008
[ https://jira.jboss.org/jira/browse/JBSEAM-3361?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12427491#action_12427491 ]
Jay Balunas commented on JBSEAM-3361:
-------------------------------------
The Authenticator class injects Preferences using:
@In("#{preferences.get('UserManagement')}")
UserManagementPreferences prefs;
Although a little harder to find the Preferences class injects Authenticator during processing this:
@In(value = "#{currentPreferencesUser}", required = false)
Object currentUser;
I found in the debug logging that this line ends up attempting to inject authenticator
[testng] DEBUG [org.jboss.seam.Component] trying to inject with hierarchical context search: preferenceProvider
[testng] DEBUG [org.jboss.seam.contexts.Contexts] found in conversation context: preferenceProvider
[testng] DEBUG [org.jboss.seam.Component] trying to inject with EL expression: #{currentPreferencesUser}
[testng] DEBUG [org.jboss.seam.contexts.Contexts] found in event context: authenticator
> 2.0 wiki contains circular injections that with new bijectionInterceptor changes cause an infinite loop
> -------------------------------------------------------------------------------------------------------
>
> Key: JBSEAM-3361
> URL: https://jira.jboss.org/jira/browse/JBSEAM-3361
> Project: Seam
> Issue Type: Bug
> Components: Core, Examples, Test Harness, Wiki
> Affects Versions: 2.0.3.CR1
> Reporter: Jay Balunas
> Assignee: Jay Balunas
> Priority: Blocker
> Fix For: 2.0.3.CR2
>
>
> This issue initially surfaced after changes made August 23 for JBSEAM-3295.
> The two components involved with the loop are :
> org.jboss.seam.wiki.preferences.Preferences
> org.jboss.seam.wiki.core.action.Authenticator
> The loop continuously goes thought this line:
> at org.jboss.seam.core.BijectionInterceptor.aroundInvoke(BijectionInterceptor.java:44)
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the seam-issues
mailing list