Hi All,
I have to use two different versions for an index method that i am creating.
Followed the instructions, create the hook update that replace my callback but when i send the header, the service is not called. For example,
I created a _RESOURCE_resource_index_update_1_1 that only replaces the callback to my new callback.
I'm sending the header services_RESOURCE_index_version=1.1
After debugging session, i found that services.runtine.inc on 180 search for a $path[0], but because the services is requesting as http://domain.com/services/RESOURCE, the $options["method"] is never filled with index. making that the update callback is never execute.
is good to put in this? (i don't really think so... (patch attached). Although this works for me ;)
Thanks.
Carlos
Comment | File | Size | Author |
---|---|---|---|
#13 | 0001-Fixes-patch.patch | 1.34 KB | kylebrowning |
Comments
Comment #0.0
tengokuclarifying that my patch works
Comment #1
kylebrowning CreditAttribution: kylebrowning commentedComment #3
kylebrowning CreditAttribution: kylebrowning commentedservices.runtime.inc_.patch queued for re-testing.
Comment #5
kylebrowning CreditAttribution: kylebrowning commentedupdated patch.
Comment #6
kylebrowning CreditAttribution: kylebrowning commentedComment #10
kylebrowning CreditAttribution: kylebrowning commentedarghs.
Comment #11
kylebrowning CreditAttribution: kylebrowning commentedComment #13
kylebrowning CreditAttribution: kylebrowning commentedComment #15
kylebrowning CreditAttribution: kylebrowning commentedThanks!