Ah  the tricky part is that these are no error messages nor
exceptions.  Just unit tests failing when we upgrade stripes.

This is because the url binding variables are not getting bound in the
MockRoundTrip properly (at all).

One thing I don't think I tested is removing the {$event} from the binding.

@UrlBinding("/admin/product/{$event}/{product.id}")


On Mon, Oct 18, 2010 at 7:45 PM, Nikolaos Giannopoulos
<nikol...@brightminds.org> wrote:
> Nathan,
>
> We have limited test cases for our Action Beans at this time.  So far no
> issues.
>
> Could you be more specific about the error that is being produced.
>
> --Nikolaos
>
>
>
>
> Nathan Maves wrote:
>> Is there anyone else out here using UrlBinding with MockRoundTrip?
>> This is killing me that we can upgrade to the latest Stripes codebase.
>>
>> Nathan
>>
>> On Wed, Oct 13, 2010 at 11:32 AM, Nathan Maves <nathan.ma...@gmail.com> 
>> wrote:
>>
>>> We have multiple test cases where we are using UrlBinding with 1.5 and
>>> everything works perfect.
>>>
>>> Here is an example of one of our bindings
>>>
>>> @UrlBinding("/admin/product/{$event}/{product.id}")
>>>
>>> All versions (1.5.1, 1.5.2, 1.5.3) work fine outside of the test
>>> fixture.  It is only within a test using the MockRoundTrip where we
>>> get the error.  The error is a validation error where it claims to
>>> have a conversion issue where the replacement parts are ["Product Id",
>>> "{product.id}"].  We get this when passing in a parameter or not.
>>>
>>> I did find the following change from 1.5 to 1.5.1 that might have
>>> something to do with it.
>>>
>>> http://www.stripesframework.org/jira/browse/STS-592
>>>
>>>
>>> Nathan
>>>
>>>
>
>
> ------------------------------------------------------------------------------
> Download new Adobe(R) Flash(R) Builder(TM) 4
> The new Adobe(R) Flex(R) 4 and Flash(R) Builder(TM) 4 (formerly
> Flex(R) Builder(TM)) enable the development of rich applications that run
> across multiple browsers and platforms. Download your free trials today!
> http://p.sf.net/sfu/adobe-dev2dev
> _______________________________________________
> Stripes-users mailing list
> Stripes-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/stripes-users
>

------------------------------------------------------------------------------
Download new Adobe(R) Flash(R) Builder(TM) 4
The new Adobe(R) Flex(R) 4 and Flash(R) Builder(TM) 4 (formerly 
Flex(R) Builder(TM)) enable the development of rich applications that run
across multiple browsers and platforms. Download your free trials today!
http://p.sf.net/sfu/adobe-dev2dev
_______________________________________________
Stripes-users mailing list
Stripes-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/stripes-users

Reply via email to