pbryan

pbryan

changed the Assignee to 'Paul C. Bryan' on OPENIDM-556

08 Feb
pbryan

resolved OPENIDM-550

07 Feb
Now uses new org.forgerock.json.resource.* version 1.2.2, which resolves this issue.
pbryan

committed 936 to openidm

07 Feb
Use new org.forgerock.json.resource.* version 1.2.2. Resolves OPENIDM-550.
modified pom.xml
pbryan

committed 935 to openidm

07 Feb
Use new org.forgerock.json.resource.* version 1.2.2. Resolves OPENIDM-550.
pbryan

committed 219 to commons

07 Feb
"If-Match: *" now derives the version from the fetched resource.

pbryan

committed 216 to commons

07 Feb
New version 1.2.2.

pbryan

committed 215 to commons

07 Feb
"If-Match: *" now derives the version from the fetched resource.

pbryan

commented on OPENIDM-549

01 Feb
+1.
pbryan

committed 897 to openidm

31 Jan
Use fixed upstream org.forgerock.json.resource.* libraries.
modified pom.xml
pbryan

committed 896 to openidm

31 Jan
Use fixed upstream org.forgerock.json.resource.* libraries.
pbryan

committed 214 to commons

31 Jan
pbryan

committed 211 to commons

31 Jan
New 1.2.1 release.

pbryan

committed 210 to commons

31 Jan
pbryan

closed OPENIDM-547

30 Jan
pbryan

reopened OPENIDM-547

30 Jan
Noting fixed in trunk.
pbryan

closed OPENIDM-548, OPENIDM-547

30 Jan
pbryan

commented on OPENIDM-547

30 Jan
1. Note: Laszlo's note about removing his fix from the put() method was incorrect. The null checks were in fact there.

2. Actual cause: When the Restlet code sees an invalid tag in the If-Match or If-None-Match header, instead of throwing an exception, merely logs the problem as INFO, and populates the tag list with a null value.

3. Implemented solution: New checks in the doHandle method determine if null values appear in the Match or NoneMatch condition tag lists, and if so, throws a Bad Request (400) resource exception with an explanation message (e.g. "Invalid If-Match tag").

4. Note: The new code I've checked-in has now removed the checks in the put() method, as the doHandle() method does all of this checking.
pbryan

committed 890 to openidm

30 Jan
Change org.forgerock.json.resource.* dependencies to 1.2.0 to resolve OPENIDM-547 and OPENIDM-548.
modified pom.xml
pbryan

committed 888 to openidm

30 Jan
Change org.forgerock.json.resource.* dependencies to 1.2.0 to resolve OPENIDM-547 and OPENIDM-548.
pbryan

committed 206 to commons

30 Jan
pbryan

committed 204 to commons

30 Jan
Handle case where Restlet represents invalid If-Match/If-None-Match tags with null conditions.
Avoid spurious read of resource in unambiguous create (PUT w. If-None-Match: *).
pbryan

commented on OPENIDM-547

27 Jan
Will definitely fix the NPE. FYI, an unquoted ETag value is invalid.