Closed (fixed)
Project:
Services
Version:
6.x-3.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
15 Jan 2011 at 11:21 UTC
Updated:
26 Feb 2011 at 19:20 UTC
Jump to comment: Most recent file
Comments
Comment #1
voxpelli commentedA patch without prefixes is attached - forgot that not everyone uses Git.
Comment #2
kylebrowning commentedThat patch didnt apply, and when I re-rolled it, I was not able to disable an endpoint.
This is my patch that allows that, once its reviewed ill commit.
Comment #3
kylebrowning commentedUpon future thought, why dont we remove ctools as a dependency and if it exists we enabled exporting and disabling via ctools.?
Comment #4
voxpelli commentedI see no point in making Ctools optional. Especially not in Drupal 7 as Views also uses Ctools and thus most people will have it installed.
Something is weird with your patch - dreditor doesn't understand it at all. Did you generate it with an ordinary "git diff --no-prefix"?
It did apply locally though so here's some feedback:
1. The disable behavior in my patch is copied from all other modules using Chaos tools export feature and is the expected behavior for exported data. I think we should stick to the established behavior instead of modifying it. We gain more from being mainstream than from the minor enhancements in my opinion.
2. You didn't include the modified test case in your patch - why?
3. Please don't include coding style fixes in your patches - you have three lines of coding style fixes in your patch that wasn't included in my patch. Coding style fixes are best fixed as separate patches.
Comment #5
kylebrowning commentedI accidentally committed this when attempting to push a fix for node_resource.
Its the patch in #1 applied correctly.
needs port to 6.x, incomming.
Comment #6
kylebrowning commentedHeres dah 6.x patch.
Comment #7
kylebrowning commentedComment #8
kylebrowning commentedComment #9
kylebrowning commented