I am currently unable to retain settings from a Visibility rule created based around User user: Group membership Field provided by OG when using Panels.
Not only do the settings remain unset after making config changes, but there are also AJAX errors when trying to use the forms.
Screencast: http://screencast.com/t/P8mCsrxWiV
To duplicate, install OG and Panels. Use page manager to set up a page. After setting up a layout, you can add content. Add a pane of your choice to the panels page. Now click on the pane's settings (gear icon) and add a Visibility rule. Choose "User user: Group membership Field" - save settings or use the "add" buttons in the form to see the bugs.
Comment | File | Size | Author |
---|---|---|---|
#2 | add-visibility-rule.png | 44.79 KB | kevinwalsh |
#2 | configure-visibility-rule.png | 43.05 KB | kevinwalsh |
Comments
Comment #1
kevinwalsh CreditAttribution: kevinwalsh commentedI have reproduced this bug using 7.x-2.3
Comment #2
kevinwalsh CreditAttribution: kevinwalsh commentedI've been able to work around this bug (i assume it's a bug) by adding a context for a particular OG node, then using the visibility rule OG: membership in group. See screenshots.
Comment #3
joep.hendrix CreditAttribution: joep.hendrix at CompuBase Internet Solutions commentedYep, this seems to bug and is still present on 7.x-2.7.
In our case we have an Open Atrium site but the visibility settings will store an empty string which results that the pane is not visible for anyone.
The workaround in the previous comment does not apply in our case, I just want to compare against arbitrary groups not related to the current node.
There are some notices thrown: