When using the panels IPE and Panopoly various forms will not submit. It makes it impossible to add panes to a page with both panopoly_magic and clientside_validation enabled simultaniously.
You might see alerts like while inserting a vew pane:
An error occurred while attempting to process /system/panopoly-magic: Cannot read property 'validator' of undefined
or something like this when trying to save:
An error occurred while attempting to process /panels/ajax/ipe/add-pane/panel_context%3Apage-home%3A%3A
_context%3A%3A%3A%3A/contentmain/views_panes/
-panel_pane_1/form: Cannot read property 'validator' of undefined
For now a simple solution is to do nothing when .validator is not set. That is how we patched it, and it seems to work fine.
Comment | File | Size | Author |
---|---|---|---|
#3 | compatibility_w_panopoly_magic-2454141-3.patch | 662 bytes | heathdutton |
Comments
Comment #1
heathdutton CreditAttribution: heathdutton commentedComment #2
heathdutton CreditAttribution: heathdutton commentedCleaned up the patch down to bare minimum changes.
Comment #3
heathdutton CreditAttribution: heathdutton commentedComment #4
Jelle_SFixed in 7.x-2.x-dev. Thanks for the patch!
Comment #6
Jelle_SFixed in 7.x-1.x