For some uncertain reason, panels no longer saves changes to panels visibility rules.

When I try to save a notice is thrown to the watchdog table.

LOCATION	ht.p://localhost/../panels/ajax/editor/access-configure-test/6/57/2
REFERRER	ht.p://localhost/../admin/structure/types/manage/image/display/full
MESSAGE	Notice: Undefined index: #parents in field_default_form() (line 18 of C:\xampp\htdocs\..\modules\field\field.form.inc).

I've truncated the URLS because they were being formatted poorly.

Update: Panels is saving the configuration to the database, but NOT displaying it in the UI. See comment #3

Comments

bryancasler’s picture

Issue summary: View changes

correction

bryancasler’s picture

Issue summary: View changes

c

bryancasler’s picture

Issue summary: View changes

x

bryancasler’s picture

Issue summary: View changes

c

bryancasler’s picture

If I delete all the visibility rules through the panels UI then the "Access" field value becomes "a:1:{s:7:"plugins";a:0:{}}". However, all the other fields that have never had an access rule added have a value of "a:0:{}".

Not sure if this is related or not, but I thought I would share.

bryancasler’s picture

Issue summary: View changes

a

bryancasler’s picture

One of my other post may be related to this bug

#1435426: Notices thrown when using visibility rules on hidden fields

bryancasler’s picture

Title: Access plugin won't save visibility rule » Access plugin saves visibility rule to database but does not reflect changes in the UI

Here is a two minute screen-cast I recorded looking at the UI and the database.
Watch Screen-cast: http://screencast-o-matic.com/watch/cln63V4dP
Download Screen-cast: http://i.minus.com/1328997894/cMUc9B6MhInoxgMCR6Jszg/db2d27uh1E8chf.mp4

I've confirmed that values are being saved into the database, but when being viewed through the UI the default value is shown irregardless of what value has been previously saved.

bryancasler’s picture

Issue summary: View changes

c

bryancasler’s picture

Issue summary: View changes

d

bryancasler’s picture

Issue summary: View changes

d

flefle’s picture

Version: 7.x-1.x-dev » 7.x-1.1

Can confirm that this kind of behavior is also in the latest ctools 7.1.1. This fact is also within the Selection rule for instance if a certain taxonomy term is selected, the value is ignored and at second setting not shown. The visibility rule within the field - panel pane setting is active and works fine just the setting is canceled at second check.

Thank you for the proposals how to avoid this.

DamienMcKenna’s picture

Status: Active » Closed (duplicate)

This is a duplicate of #1630820: entity_field_value is completely broken which has a patch.

DamienMcKenna’s picture

Issue summary: View changes

s