Ok, I just figured out the problem I think - it occurs when OGNL tries to parse a negative double. I've been able to reproduce it in a small test app that you can unpack and run via mvn jetty:run at http://libai.la.asu.edu/src/tdartest.tar.bz2 -- it looks like any negative numbers fails to get parsed by OGNL. Is this by design or should I file a JIRA ticket with OGNL?
Allen On Thu, Jan 29, 2009 at 5:24 PM, Wes Wannemacher <w...@wantii.com> wrote: > On Thursday 29 January 2009 15:52:52 you wrote: >> Hi Wes, >> >> I have an AuthenticationInterceptor that checks for a Spring-injected >> session scoped bean for authentication information (though I'm not >> sure if this is actually thread-safe, I should probably check on >> that... if Interceptors in Struts are singletons then it'd need to be >> a ThreadLocal, but that's probably a separate issue. In any case, the >> interceptor is just tacked on top of the defaultStack and appears to >> work properly and is configured as the default interceptor stack >> within a "secured" package that I've created. Then any . I've set up >> a sandbox with config-browser enabled at >> http://dev.tdar.org:8080/tdar2/config-browser/index.action but I don't >> see anything immediately suspect... here's a direct link to the >> action that's giving me type conversion trouble: >> >> http://dev.tdar.org:8080/tdar2/config-browser/showConfig.action?namespace=% >>2Fresource%2Fdataset&actionName=add >> > > You're right about interceptors being thread locals, but you are also right > that it is a separate issue. > > I'm not seeing anything suspect either. Does this work with the REST plugin > (sans Convention plugin?) Can you create a small-ish app that would make a > good test-case for a JIRA? I'd like to debug it and get to the bottom of it, > but I'm not really getting a sense of where it's going wrong. > > -Wes > > -- > > Wes Wannemacher > Author - Struts 2 In Practice > Includes coverage of Struts 2.1, Spring, JPA, JQuery, Sitemesh and more > http://www.manning.com/wannemacher > > -- Allen Lee Center for the Study of Institutional Diversity [http://csid.asu.edu] School of Human Evolution and Social Change [http://shesc.asu.edu] The Virtual Commons [http://commons.asu.edu] The Digital Archaeological Record [http://www.tdar.org] The OpenABM Consortium [http://www.openabm.org] Arizona State University | P.O. Box 872402 | Tempe, Arizona 85287-2402 Office: 480.727.0401 | Fax: 480.965.7671 --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org