Closed (fixed)
Project:
Panopoly
Version:
7.x-1.6
Component:
Magic
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
22 Jul 2014 at 21:52 UTC
Updated:
17 Oct 2014 at 13:14 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
mglamanCurrently Panopoly magic is checking that line via
Throughout the module there is deprecated clicked_state. Here is a patch updating and hopefully resolving watchdog notice. See: #1059402: Replace $form_state['clicked_button'] with $form_state['triggering_element']
Comment #2
Iceabenezer commentedThanks for the patch mglaman. I applied it, but it didn't have any effect, and I still can't edit the content. The strange thing is, the only piece of content I can't edit is the "body" field of any panelized page. Any thoughts?
Comment #3
dsnopek@Iceabenezer: Have you looked in your webserver or PHP log? Or in the JavaScript console? It sounds like something somewhere is erroring out, and having the error message would be very helpful in tracking it down.
Comment #4
dsnopekI found a change record that supports the idea that clicked_button and triggering_element can be used the same. It's for Drupal 8, but it mentions that the change is safe in both Drupal 7 and Drupal 8:
https://www.drupal.org/node/1814186
I also found a reference on rfay's blog:
http://randyfay.com/content/form-api-changes-drupal-7-part-1-formstate-c...
It's crazy how little documentation I can find on the values of $form_state! Anyway, just wanted find some definitive information on this change. I'll review the patch soon!
Comment #6
dsnopekTested by switching "Live Preview" to "Manual" and it works great, thanks! Commit.