Closed (duplicate)
Project:
Services
Version:
7.x-3.x-dev
Component:
User interface
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
3 Sep 2011 at 19:05 UTC
Updated:
10 Sep 2011 at 01:10 UTC
Jump to comment: Most recent file
Comments
Comment #1
marcingy commentedHave got round to testing and I can replicate
Comment #2
marcingy commentedThe issue was introduced by #1241998: Refactor _services_process_resource(). Patch attatched
Comment #3
gddSo this applied, however it appears that if you have ever activated and saved one of these duplicated resources, then they do not actually disappear. I did various combinations of saving and clearing cache, but the duplicates for user (the only resource I had activated) still appear. Duplicates are gone in all the other resources. Is that data getting cached or stored somewhere? Might need an update hook to clear it out.
Comment #4
marcingy commentedCan you provide and export your end points as I have a feeling this may be pretty hard to fix, given we are dealing with serialised structures in the db. I would be inclined to say it is a dev we have a bug, it is now fixed you need to do X to resolve it as part of the issue. After all we are only looking at 84 installs.
Comment #5
kylebrowning commentedsub
Comment #6
gddOK I tested this on a fresh install of services on a fresh D7 site and it is still happening. The export is attached, as you can see all the actions are also listed as relationships.
Comment #7
gddI just found turns out to be this same bug at #1274132: 'relationships' hard coded into loop when resources are built, although I resolved it differently and it appears to be working.
Comment #8
marcingy commentedMarking as duplicate - note the patch in the other issue is exactly the same as this one except this makes the logic no longer require a continue.