Problem/Motivation

Upgrading version from 4.0.2 to 4.0.5 we're not be able to complete modal_page_update_40003.
It seems the update do not accept special characters like ã and ç.
The error I get from drush updb is:

>  [notice] Update started: modal_page_update_40003
>  [error]  Invalid character in Config object name modal_page.modal.nomogramas:_isenção_de_responsabilidade_2. 
>  [error]  Update failed: modal_page_update_40003 
 [error]  Update aborted by: modal_page_update_40003 
 [error]  Finished performing updates. 

After this, the module stop working

Proposed resolution

Remove special characters from title in update.
I've written a patch to fix this issue but I don't know if it's the right way.

CommentFileSizeAuthor
modal_page-special-characters.patch515 bytesfmathias

Comments

fmathias created an issue. See original summary.

renatog’s picture

Status: Active » Reviewed & tested by the community

Really makes sense

Your patch really works! Very useful

  • RenatoG committed 8b4617d on 4.0.x authored by fmathias
    Issue #3174071 by fmathias, RenatoG: Invalid character in Config object...
renatog’s picture

Status: Reviewed & tested by the community » Fixed

Committed and pushed to the dev branch 4.x

renatog’s picture

Created the release with this fix:

https://www.drupal.org/project/modal_page/releases/4.0.7

Thank you so much @fmathias. Good catch!

If do you have new fixes or suggestions feel free to report

Best regards

  • RenatoG committed bc36995 on 4.0.x authored by fmathias
    Issue #3174071 by fmathias, RenatoG: Invalid character in Config object...

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.