Closed (fixed)
Project:
Chaos Tool Suite (ctools)
Version:
8.x-1.x-dev
Component:
Exportables
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
25 May 2012 at 16:54 UTC
Updated:
4 Jan 2014 at 02:05 UTC
Jump to comment: Most recent
Comments
Comment #1
dawehnerJust in general, is there a procedural wrapper around creating an exportable?
couldn't we load the exportable and check isInDatabase? Maybe that's exactly what you wrote in the todo.
Comment #2
damiankloip commentedThere isn't any wrapper function yet for these CRUD functions, I am going to work on a patch for these today.
Yes, the todo is pretty much what you described. Currently if you check after deleting an exportable, the static cache will still have the old statuses on the object. When the caching has been added into the code, we can change this. For now, I think we need this way to have a working test. What do you think?
Comment #3
dawehnerThis makes sense, thanks for clarify this.
Comment #4
damiankloip commentedThanks dawehner, committed to 8.x branch: http://drupalcode.org/project/ctools.git/commit/f0fbb1d