Re: Problem with ValueStack in struts-2.2.3 passing Object from Action to Result - WORKAROUND

2011-06-22 Thread UV
some properties get forgotten when no interface is mentioning them Looks like a bug to me! But I hope someone can make an educated remark to this! On 23/06/2011 03:37, UV wrote: In my website I am using an ajax method to request the current state. An action fires and provides the result

Problem with ValueStack in struts-2.2.3 passing Object from Action to Result

2011-06-22 Thread UV
In my website I am using an ajax method to request the current state. An action fires and provides the result object as a property (java.lang.Object). But for some reason my JsonResult class cannot find this object in the value Stack. Looking into the OgnlRuntime code, the superficial cause

Re: Problem with configured action method names and Testing Framework - Action Testing with configured method names is broken in struts-2.2.3

2011-06-17 Thread UV
which has not been addressed yet. So for now: Action Testing with configured method names is NOT WORKING in struts-2.2.3 On 17/06/2011 07:24, Lukasz Lenart wrote: 2011/6/17 UV: When I try to test an action with a method="actionMethod" attribute configured in a StrutsTe

Re: Problem with configured action method names and Testing Framework ===> StrutsTestCase cannot handle actions not calling execute()

2011-06-16 Thread UV
line: 150 SurefireStarter.runSuitesInProcess() line: 91 ForkedBooter.main(String[]) line: 69 On 17/06/2011 02:17, Maurizio Cucchiara wrote: Hi, could you send the stacktrace exception/error? What are you using to execute your test (f.i. maven, eclipse, etc)? Maurizio Cucchiara Il giorno 17/giu/2011 02.09, "UV" ha

Problem with configured action method names and Testing Framework

2011-06-16 Thread UV
Hi, When I try to test an action with a method="actionMethod" attribute configured in a StrutsTestCase the AnnotationValidationInterceptor fails in getActionMethod#75 cause it cannot find the method using the configured name on the proxy used in the testing framework. My only workaround so f