Campoie / rest-assured

Automatically exported from code.google.com/p/rest-assured
0 stars 0 forks source link

CookieMatcher throws ArrayIndexOutOfBoundsException #158

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. When the server returns a cookie with no value, which is common when 
deleting cookies, CookieMatcher.grovy throws ArrayIndexOutOfBoundsException. 
(GroovyMatcher.groovy, line 55)

What is the expected output? 
One of (may require discussion):
    a) simply not include the cookie in the returned map
    b) include the cookie, with an empty string value

What do you see instead?
ArrayIndexOutOfBoundsException

What version of the product are you using? On what operating system?
1.5 on Linux

Please provide any additional information below.

Original issue reported on code.google.com by yan...@arketech.ca on 10 Feb 2012 at 3:54

GoogleCodeExporter commented 9 years ago
It may have been resolved in trunk already (thanks to the changes made in issue 
159). Could you please try it out by depending on 1.6-SNAPHOT using the 
following repo: 

<repositories>
        <repository>
            <id>sonatype</id>
            <url>https://oss.sonatype.org/content/repositories/snapshots/</url>
            <snapshots />
        </repository>
</repositories>

If not, can you give me an example of how the cookie sent from the server looks 
like?

Original comment by johan.ha...@gmail.com on 11 Feb 2012 at 11:30

GoogleCodeExporter commented 9 years ago

Original comment by johan.ha...@gmail.com on 11 Feb 2012 at 11:33

GoogleCodeExporter commented 9 years ago
Yes, the issues appears fixed in 1.6-SNAPSHOT. Thank you.

Do you have an ETA for an official release with the fix?

Original comment by yan...@arketech.ca on 14 Feb 2012 at 3:46

GoogleCodeExporter commented 9 years ago
Thanks for verifying.

I can't make any promises but I struggle to have it released "soon". I think 
most features are included now but I need to update the documentation, release 
notes and stuff.

Original comment by johan.ha...@gmail.com on 15 Feb 2012 at 2:17