Closed (fixed)
Project:
Chaos Tool Suite (ctools)
Version:
6.x-1.x-dev
Component:
Code
Priority:
Critical
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
27 Jul 2009 at 09:16 UTC
Updated:
31 Aug 2009 at 20:20 UTC
Working with the latest CTools / Page Manager / Panels, I found out that I cannot edit/delete my context. Instead I get browser popup "Server reports invalid input error".
Further investigation showed that ONLY the first context cannot be edited / deleted. When I added dpm(debug_backtrace()); into ctools_ajax_command_error function it told me that ctools_context_ajax_item_delete is called without the last argument, which should be '0'. Apparently the argument processing code loses it somewhere along the way.
This needs to be fixed and perhaps it is a problem not only for contexts but for other tasks.
Comments
Comment #1
merlinofchaos commentedneeds review means there's a patch.
Comment #2
dkruglyak commentedI don't know your code well enough to hack a patch
Comment #3
merlinofchaos commentedI was just commenting that the status was wrong and correcting it. Otherwise the issue is misfiled.
Comment #4
dkruglyak commentedOk, but do you think you could look into why it is happening?
Comment #5
merlinofchaos commentedYes, and I shall, when I get a chunk of time set aside for it.
Comment #6
merlinofchaos commentedThe actual problem here turned out to be somewhat stranger than you had indicated. I believe I have fixed it, though, and in addition improved the caching significantly. Hooray!