Closed (fixed)
Project:
Services
Version:
7.x-3.3
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
14 Feb 2013 at 17:38 UTC
Updated:
19 Apr 2013 at 21:36 UTC
Jump to comment: Most recent file
I came across this issue when trying to pass a string in the path to a resource's relationship and received a 404, but found that using an integer in the path worked as expected. I dug around and found an implementation of is_numeric() that I believe can be removed.
| Comment | File | Size | Author |
|---|---|---|---|
| #3 | services-relationship-source-arg-path-1917432-3.patch | 752 bytes | theneonlobster |
| #1 | services-relationship-source-arg-path-1917432-1.patch | 742 bytes | theneonlobster |
Comments
Comment #1
theneonlobster commentedThis patch resolves the issue. I did not test to verify that the relationship argument's type value is being respected, but it wasn't before.
Comment #2
marcingy commentedThe patch submitted removes an isset check which makes no sense given the bug reported.
Comment #3
theneonlobster commentedI discovered the bug in 7.x-3.3 and patched 7.x-3.x without verifying that the bug persisted. It appears to have been fixed, however for people using 7.x-3.3, the attached patch will rectify the issue.
Comment #4
theneonlobster commentedUpdating status to "needs review"
Comment #5
marcingy commentedThis is fixed in dev.
Comment #6
halthFor a sake of indexing, this issue was giving me this error: 404 Not found: Could not find the controller.
Hope it can help someone out there!
Comment #6.0
halthremoved a sentence that lacks context