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

Fixed: Drupal 7 upgrade path must include setting for 'Error messages to display'. #4364

Closed
ghost opened this issue Apr 8, 2020 · 6 comments · Fixed by backdrop/backdrop#4013

Comments

@ghost
Copy link

ghost commented Apr 8, 2020

In D7, the 'Error messages to display' setting (at /admin/config/development/logging) has values of 0, 1 & 2 (for 'None', 'Errors...' & 'All...' respectively). However in Backdrop these values have changed from integers to strings: 'hide', 'some' & 'all' respectively. That means that upgrading from D7 to Backdrop causes this setting to not be defined (at least in the UI):

errors_radios

We should add upgrade code that converts the integer values to the new string values.

@ghost
Copy link
Author

ghost commented Mar 24, 2022

PR: backdrop/backdrop#4013

@indigoxela
Copy link
Member

@BWPanda nice catch! Add two more break to your code and I'm happy. 😃

@ghost
Copy link
Author

ghost commented Mar 24, 2022

Done, thanks!

@indigoxela
Copy link
Member

Many thanks for fixing, now this works properly. 👍

@indigoxela indigoxela added this to the 1.21.5 milestone Mar 24, 2022
@ghost ghost modified the milestones: 1.21.5, 1.22.1 May 16, 2022
@indigoxela
Copy link
Member

The code is clear and simple. RTBC!

@quicksketch
Copy link
Member

Thanks @indigoxela and @BWPanda! Merged backdrop/backdrop#4013 into 1.x and 1.22.x.

@jenlampton jenlampton changed the title 'Error messages to display' setting not upgraded from D7 Fixed: Drupal 7 upgrade path must include setting for 'Error messages to display'. Jul 20, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants