Closed (won't fix)
Project:
Services
Version:
6.x-3.1
Component:
Code
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
7 Feb 2012 at 19:48 UTC
Updated:
2 Mar 2012 at 21:17 UTC
When a call is made to the node resource and the nid = 0, i.e. http://domain/endpoint/node/0.json, the index action is automatically selected. This should be handled by the 'retrieve' action in the node resource rather than 'index' by default and trigger an exception via services_error(). This patch allows for the nid to be 0, and allows it to be added to the $path array.
| Comment | File | Size | Author |
|---|---|---|---|
| services-allow-for-nid-0.patch | 568 bytes | blisteringherb |
Comments
Comment #1
kylebrowning commentedFirst of all, why do you have a node with nid = 0?
Second, why are you trying to get it?
Comment #2
marcingy commentedNid 0 can never exist closing this.