Closed (fixed)
Project:
Panels
Version:
5.x-2.0-beta3
Component:
Panel pages
Priority:
Critical
Category:
Bug report
Assigned:
Reporter:
Created:
27 Apr 2008 at 12:46 UTC
Updated:
20 Jun 2008 at 16:55 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
samsouk commentedthanks, the patch works for me
I've put a backling on this issue : http://drupal.org/node/230149
and will report back here if I found any problem
Comment #2
niklp commentedWill test this today, have marked http://drupal.org/node/230149 as duplicate, seems to be the same thing.
Comment #3
sdboyer commentedThanks for this, gordon. Appears to work on my sandbox; marking RTBC, I'll check back in on it and commit it a bit later.
Comment #4
niklp commentedAaaaaand w00t say all of us. SDBoyer, this is one of the issues I was going to tap you about when you were free (if you even remember that IRC convo).
Fixed - great! :)
Comment #5
Anonymous (not verified) commentedI'm having superficial success with this patch, but I confront more difficult problems as described in this issue.
http://drupal.org/node/258055
Comment #6
Anonymous (not verified) commentedThis patch hasn't been committed yet. I tried it again in BETA4 and I still have no love... titles based on arguments don't work, and bizarre things happen all over the place.
Is this issue still active? Is there another issue for the problem that is getting more attention? Different layouts for each type of node argument is just plain broken, innit?
Comment #7
sdboyer commentedWell, I don't quite know what I was thinking the first time around. This patch isn't the solution to this problem at all. The problem has to do with which display is loaded into $panel_page->display throughout the editing operation, not whether the panels_page_fetch_display() helper functions are storing data back properly. The actual issue is interwoven more deeply in the code, and has to do with $panel_page->display gets loaded in the first place. I don't have time to work on it at this very moment, but I'll come back to it when I can.
Comment #8
sdboyer commentedComment #9
zroger commentedFollowing up on sam's comment I followed the code back to where $panel_page->display is expected to be loaded.
In panels_page_fetch_display() if no id is passed in (default display) then $panel_page->display gets set. But if an id is passed in then the display is returned, but not added to the $panel_page object. This patch fixes that in the same manner that $panel_page->display is populated when there is no id.
Comment #10
Anonymous (not verified) commentedI think Roger López has the magic!
Comment #11
zroger commentedAnyone willing to review this patch?
Comment #12
sdboyer commentedYeah, sorry. Just swamped with other stuff. Checking it now...
Comment #13
sdboyer commentedReviewed, working, good, RTBC, aaaaand...commited. Thanks!
Comment #14
sdboyer commentedComment #15
Anonymous (not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.