[
http://jira.jboss.com/jira/browse/JBSEAM-2798?page=comments#action_12411971 ]
Lars Huber commented on JBSEAM-2798:
------------------------------------
Look at the comment above
-------------------------
I created a project to reproduce the error. My conclusion is that it is a problem of
debugging. The variables in the debug view are not correct because you get proxies
returned from 'getInstance("...")'. At the moment you enter the
component by a method you get the correct initialization and states of the properties.
--------------------------
I think it's a problem of watching variables (proxies) during debugging.
thanks
Integration Tests returns different component instances when
accessing it in different ways
-------------------------------------------------------------------------------------------
Key: JBSEAM-2798
URL:
http://jira.jboss.com/jira/browse/JBSEAM-2798
Project: Seam
Issue Type: Bug
Components: Test Harness
Affects Versions: 2.1.0.A1
Environment: Seam 2.1.0.A1 / WinXP / JDK 1.5.0_15
Reporter: Lars Huber
Assigned To: Norman Richards
Fix For: 2.1.0.GA
Attachments: testExample.zip
When getting a component as reference the instance can be different than invoking a
method over an EL expression.
Example see JBoss Forum Reference below
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira