Only one failing test left.

Failed tests:
  
testUsingDefaultInterceptorThatAliasPropertiesAreCopied(com.opensymphony.xwork2.interceptor.AliasInterceptorTest)

Tests run: 518, Failures: 1, Errors: 0, Skipped: 0


-------------------------------------------------------------------------------
Test set: com.opensymphony.xwork2.interceptor.AliasInterceptorTest
-------------------------------------------------------------------------------
Tests run: 4, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 0.078 sec <<< 
FAILURE!
testUsingDefaultInterceptorThatAliasPropertiesAreCopied(com.opensymphony.xwork2.interceptor.AliasInterceptorTest)
  Time elapsed: 0.062 sec  <<< FAILURE!
Error setting expression 'aliases' with value '#{ "aliasSource" : "aliasDest", 
"bar":"baz" }' - [unknown location]
        at 
com.opensymphony.xwork2.util.OgnlValueStack.setValue(OgnlValueStack.java:171)
        at 
com.opensymphony.xwork2.util.OgnlValueStack.setValue(OgnlValueStack.java:146)
        at 
com.opensymphony.xwork2.interceptor.StaticParametersInterceptor.intercept(StaticParametersInterceptor.java:97)
        at 
com.opensymphony.xwork2.DefaultActionInvocation$2.doProfiling(DefaultActionInvocation.java:219)
        at 
com.opensymphony.xwork2.DefaultActionInvocation$2.doProfiling(DefaultActionInvocation.java:218)
        at 
com.opensymphony.xwork2.util.profiling.UtilTimerStack.profile(UtilTimerStack.java:455)
        at 
com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:216)
        at 
com.opensymphony.xwork2.DefaultActionProxy.execute(DefaultActionProxy.java:133)
        at 
com.opensymphony.xwork2.interceptor.AliasInterceptorTest.testUsingDefaultInterceptorThatAliasPropertiesAreCopied(AliasInterceptorTest.java:45)



       <action name="aliasTest" class="com.opensymphony.xwork2.SimpleAction">
            <param name="foo">17</param>
            <param name="bar">23</param>
                <param name="aliases">#{ "aliasSource" : "aliasDest", 
"bar":"baz" }</param>
                        <interceptor-ref name="defaultStack"/>
                <interceptor-ref name="alias"/>
                <result name="success" type="mock" />
        </action>


Looks like trouble setting the map using OGNL.
#{ "aliasSource" : "aliasDest", "bar":"baz" 

Anyone knows why? I havent tracked the latest OGNL and XWork changes.
---------------------------------------------------------------------
Posted via Jive Forums
http://forums.opensymphony.com/thread.jspa?threadID=72225&messageID=135765#135765


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to