Error during update

Problem/Motivation

 -------------- -------------------- ------------- -------------------------------------------------------
  Module         Update ID            Type          Description
 -------------- -------------------- ------------- -------------------------------------------------------
  file_browser   switch_icon_to_svg   post-update   Switch default icon from PNG to SVG in configuration.
 -------------- -------------------- ------------- -------------------------------------------------------


 ┌ Do you wish to run the specified pending updates? ───────────┐
 │ Yes                                                          │
 └──────────────────────────────────────────────────────────────┘

>  [notice] Update started: file_browser_post_update_switch_icon_to_svg
>  [error]  Error: Call to undefined method Drupal\Core\Config\Config::setRawData() in file_browser_post_update_switch_icon_to_svg() (line 88 of /var/www/html/web/modules/contrib/file_browser/file_browser.post_update.php) #0 /var/www/html/vendor/drush/drush/src/Commands/core/UpdateDBCommands.php(291): file_browser_post_update_switch_icon_to_svg()

Steps to reproduce

drush updb

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

alexdoma created an issue. See original summary.

alexdoma’s picture

Issue summary: View changes
d.fisher’s picture

Version: 2.0.4 » 2.x-dev
Assigned: Unassigned » d.fisher
Priority: Normal » Major

Thank you for raising this. I think I have a fix. Give me a sec to prep a branch and merge request.

d.fisher’s picture

Assigned: d.fisher » Unassigned
Status: Active » Needs review

Testing it now.

d.fisher’s picture

Status: Needs review » Reviewed & tested by the community

Yep that works. Will get it rolled out quick. Thank you for raising this!

d.fisher’s picture

Status: Reviewed & tested by the community » Fixed

Fixed. Merged. Released on 2.0.5. Please try again!

Now that this issue is closed, please review the contribution record.

As a contributor, attribute any organization that helped you, or if you volunteered your own time.

Maintainers, please credit people who helped resolve this issue.

alexdoma’s picture

confirm. fixed

Status: Fixed » Closed (fixed)

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