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

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

tengoku’s picture

Issue summary: View changes

clarifying that my patch works

kylebrowning’s picture

Issue summary: View changes
Status: Active » Needs review

Status: Needs review » Needs work

The last submitted patch, services.runtime.inc_.patch, failed testing.

kylebrowning’s picture

Status: Needs work » Needs review

services.runtime.inc_.patch queued for re-testing.

Status: Needs review » Needs work

The last submitted patch, services.runtime.inc_.patch, failed testing.

kylebrowning’s picture

Status: Needs work » Needs review
FileSize
1.81 KB

updated patch.

kylebrowning’s picture

Version: 7.x-3.5 » 7.x-3.x-dev

Status: Needs review » Needs work

The last submitted patch, 5: 0001-new_patch.patch, failed testing.

Status: Needs work » Needs review

kylebrowning queued 5: 0001-new_patch.patch for re-testing.

Status: Needs review » Needs work

The last submitted patch, 5: 0001-new_patch.patch, failed testing.

kylebrowning’s picture

FileSize
1.81 KB

arghs.

kylebrowning’s picture

Status: Needs work » Needs review

Status: Needs review » Needs work

The last submitted patch, 10: 0001-new_patch_2.patch, failed testing.

kylebrowning’s picture

Status: Needs work » Needs review
FileSize
1.34 KB

kylebrowning’s picture

Status: Needs review » Closed (fixed)

Thanks!