Closed (fixed)
Project:
Services
Version:
7.x-3.x-dev
Component:
Code
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
7 Aug 2011 at 09:17 UTC
Updated:
7 Dec 2011 at 07:50 UTC
Jump to comment: Most recent file
Refactoring of the handle method of RESTServer.
There is no need to extract $leaf and then put it back in to $path when we determine formatter.
Attached patch shows shorter way.
| Comment | File | Size | Author |
|---|---|---|---|
| #4 | services-1241830-extract-formatter-D6.patch | 2.35 KB | ygerasimov |
| #4 | services-1241830-extract-formatter-D7.patch | 4.1 KB | ygerasimov |
| #3 | simplify-plus-patch.patch | 2.22 KB | marcingy |
| #2 | services-1241830-extract-formatter-D6.patch | 2.33 KB | ygerasimov |
| #2 | services-1241830-extract-formatter-D7.patch | 1.58 KB | ygerasimov |
Comments
Comment #1
kylebrowning commentedThis patch doesn't apply either, ARG
Comment #2
ygerasimov commentedHere are both patches for D6 and D7.
Comment #3
marcingy commentedTests are failing
Comment #4
ygerasimov commentedThere was failing test on D6. Thanks for catch @marcingy.
I have added test of testEndpointMenu() to D7 like is in D6 for consistency.
Now all tests pass. There are several exceptions, but they are not connected with these changes anyway.
Comment #5
kylebrowning commentedThese look great. Tests pass for me.
Comment #6
ygerasimov commentedCommitted to both 6.x and 7.x branches. Thank you for review!