Closed (fixed)
Project:
Panels
Version:
7.x-3.3
Component:
In-Place Editor (IPE)
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
4 Sep 2012 at 03:04 UTC
Updated:
16 Jun 2014 at 16:29 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
merlinofchaos commentedSome information from http://drupal.org/node/1520492#comment-6361028
Comment #2
merlinofchaos commentedThe attached patch should fix the problem of lost contexts.
It won't (currently) fix the problem of URL based contexts disappearing, but the framework is there to fix it; I'd like some confirmation this works for otehrs.
Note: Once the patch is applied, it changes the cache keys. That means you must refresh any page with an IPE you want to use after applying the patch or it will try to load a no longer valid cache.
Comment #3
populist commentedI gave the patch in #2 a review and think its a good improvement. It fixes the couple of cases that I had where context was being passed and makes the IPE editing of things like a search page so much better.
Comment #4
populist commentedI checked this out as per #3 and it solves the issue. It does introduce an odd problem on the backend when you try to check out a page that has a context though. Funny it still works in the IPE, just not the admin side:
Comment #5
merlinofchaos commentedAhh, that's just because I missed a spot where the cache_key is constructed in an odd way. A grep didn't show many any others of that, so I think that one is isolated. Fixed that, and committed and pushed this.
Comment #6
populist commentedHere is the patch that was pushed in #5 for install profile reasons.
Comment #8
xatiu commentedThe patch does not work for me. What do you mean with "you must refresh any page with an IPE"? Just refresh the page with f5?
Comment #9
Dimitrius commentedIt's already fixed in the latest dev version but the problem is still available in the stable release (7.x-3.3). Here is a patch for the 7.x-3.3 (in case if you can't use a dev version for some reasons) which also include a fix from the #1801422: Context Trouble with Node Edit Page
Comment #10
duynguyen commentedThe patch #9 lost context on variant conent