Needs review
Project:
Panelizer (obsolete)
Version:
8.x-4.x-dev
Component:
Code
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
26 Jun 2017 at 18:07 UTC
Updated:
8 Jan 2021 at 17:48 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
douggreen commentedPatch attached
Comment #3
tim.plunkettCould initialize this to FALSE up top, skip the else.
I would consider logging a message and returning an AccessForbidden here? Not sure what happens when you throw exceptions in an access check.
Comment #4
douggreen commentedI think that code should never get called if field_ui is not enabled, and it's really an exception if it does.
Comment #5
douggreen commentedShould we use trigger_error() ?
Comment #6
douggreen commentedupdated patch per comments in #3
Comment #7
suzymasriPatch #6 rerolled against 4.1 release.
Comment #8
hershey.k commentedPatch #8 rerolled again, against latest stable 4.4.0 release (should also work on 4.1^). With addition of missing code change outlined below. Fixes failing build from #7.
Patch Comment #7 is missing the removal of
drupal:field_uifrom thepanelizer.info.ymlfile. Preventing config imports from disablingdrupal:field_uion an environment that requires panelizer module to stay enabled.