Tempted to flag this as critical as it is for me - but doesn't quite meet the guidelines for that.
When I set a visibility rule for content in a mini panel it appears to do nothing (no visibility rule is shown) but it makes the content not visible. As no visibility rule is shown, it isn't possible to undo or change it. As far as I can tell it always happens. Visibilities set prior to upgrading to 3.7 continue to show and work.
Panels is running in legacy mode due to Skinr but I don't think this is a Skinr problem because it works fine in page panels. (Haven't tried node pages.)
I can reproduce this:
1. Add a new mini panel and click the 'continue's without setting any context.
2. Create custom content with a bit of 'Hello world' text in it and click Finish.
3. Add this to a page. It displays as expected.
4. Go back to the mini panel 'hello world' content and set visibility rule to User: role = authenticated user.
Result: The rule doesn't show up in the drop-down
5. Save
The rule still doesn't show.
6. Refresh page from 3.
Whether logged in or not, the mini panel content no longer displays.
It then isn't possible to undo or change the rule via the mini panels ui as it doesn't show.
Comments
Comment #1
nickrice commentedI'm using the Fusion theme, btw
Comment #2
nickrice commentedI've reverted to 3.5 for the time being as I think that having to run in legacy mode because of using Skinr muddies the waters too much, and while I'm excited about the new features of this fantastic and invaluable module I can live without them for a bit.
Hopefully Skinr will catch up soon and then I should be able to have Panels function in the way it was intended. Hopefully the problem will go away of its own accord then.
So I'd be happy for, and suggest (unless others need it), no action to be taken on this unless it remains a problem after that. I'll try to remember to update this issue accordingly when the time comes.
Comment #3
merlinofchaos commentedI can't reproduce this in -dev. I think it was fixed by #865704: Fatal error in panels/plugins/display_renderers/panels_renderer_editor.class.php on line 1669: Function name must be a string but I am not certain. Can you update a test site to Panels -dev and see if this sitll happens?
Comment #4
nickrice commentedThanks. Just back from a short vacation (hence my unresponsiveness) and will check this out shortly.
Comment #5
nickrice commentedI confirm it works fine with the dev version.
Updating Ctools in parallel, I updated from 3.5 to 3.7 - problem re-appeared. Then from 3.7 to dev and it was fine. Broken mini-panel panes in 3.7 remained broken after updating, but new panes behaved as expected.
Thanks!!!
Comment #6
sukr_s commentedI face the same issue. added rules do not show up in the list of visibility rules. so they cannot be deleted or altered. had to rollback to 3.5
Comment #7
Vote_Sizing_Steve commentedI can see my custom rule in the list of rules, but it doesn't stay added to my list, and when add it as reversed, the rule in my list reads "NOT ()" and I don't think it's being invoked.
Comment #9
cizen commentedI had the same issue running 3.7. I applied the patch in from 865704 in #3 and it solved the issues.