Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Warning: Usage of json_field bricks Drupal instance #28

Closed
p-a-s-c-a-l opened this issue Oct 30, 2018 · 1 comment
Closed

Warning: Usage of json_field bricks Drupal instance #28

p-a-s-c-a-l opened this issue Oct 30, 2018 · 1 comment
Assignees
Labels
BB: UI Integration Platform UI Integration Platform Building Block bug Something isn't working help wanted Extra attention is needed STALLED important but currently not beeing worked on

Comments

@p-a-s-c-a-l
Copy link
Member

p-a-s-c-a-l commented Oct 30, 2018

Warning: Module json_field 8.x-1.0-rc1 doesn't seem to include the patch mentioned in this issue. Creating a filed of type native JSONB could therefore 'brick' the Drupal instance: The website encountered an unexpected error. Please try again later.

Error: Uncaught Error: Using $this when not in object context in /app/web/modules/contrib/json_field/json_field.views.inc:19

Trying to remove the field via the admin UI (/admin/group/types/manage/study/fields) is not possible due to the error mentioned above. If the json_field is already in use, drush pm:uninstall json_field will result in an error, too e.g. json_field: The <em class="placeholder">JSON (native binary storage)</em> field type is used in the following field: group.field_worldstates.

The command field-delete was removed in Drush 9.x! See also #29

@p-a-s-c-a-l p-a-s-c-a-l added bug Something isn't working help wanted Extra attention is needed labels Oct 30, 2018
@p-a-s-c-a-l p-a-s-c-a-l self-assigned this Oct 30, 2018
@p-a-s-c-a-l p-a-s-c-a-l added this to To do in T4.3 Scenario Management via automation Oct 30, 2018
@p-a-s-c-a-l
Copy link
Member Author

p-a-s-c-a-l commented Oct 30, 2018

Temporary workaround: restore configuration with drush cim and uninstall json_field module with drush pmu json_field and composer remove drupal/json_field.

p-a-s-c-a-l added a commit that referenced this issue Oct 30, 2018
@p-a-s-c-a-l p-a-s-c-a-l added this to the CSIS Bootstrapping milestone Jan 15, 2019
@p-a-s-c-a-l p-a-s-c-a-l added the BB: UI Integration Platform UI Integration Platform Building Block label Jan 15, 2019
@p-a-s-c-a-l p-a-s-c-a-l added the STALLED important but currently not beeing worked on label Apr 30, 2019
T4.3 Scenario Management automation moved this from To do to Done Jun 26, 2019
@p-a-s-c-a-l p-a-s-c-a-l added this to Backlog: High Priority in T1.3 Climate Services Co-creation via automation Oct 28, 2019
@p-a-s-c-a-l p-a-s-c-a-l added this to To do in T1.4 Industrialization and Support via automation Oct 28, 2019
@p-a-s-c-a-l p-a-s-c-a-l moved this from Backlog: High Priority to Done in T1.3 Climate Services Co-creation Oct 30, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
BB: UI Integration Platform UI Integration Platform Building Block bug Something isn't working help wanted Extra attention is needed STALLED important but currently not beeing worked on
Development

No branches or pull requests

1 participant