Closed (fixed)
Project:
ImageMagick
Version:
8.x-2.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
19 Jul 2017 at 12:28 UTC
Updated:
7 Aug 2017 at 12:20 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
mondrakeThank you for your report. I assume you were using Composer to update the code base, correct?
In the scenario you describe, it looks like we are missing an update function to enable the file_mdm module if it's not enabled already.
The workaround - enabling the file_mdm module manually - should be ok, in the meantime.
Comment #3
mfernea commentedIndeed, I used Composer. The file_mdm module was downloaded, but it was not enabled. If an update hook is the right solution I will write a patch.
Comment #4
mfernea commentedThis is the patch.
Comment #5
mondrakeThanks a lot @mfernea.
Tested the patch following the scenario in the IS - run
composer require drupal/imagemagick:2.x-devon top of a codebase with 1.0-alpha6 installed, applied the patch and run Drupal updates -> file_mdm module is enabled.Also tested the patch running Drupal update on a separate scenario where imagemagick 2.0 and file_mdm are already installed -> update runs fine even if the file_mdm module is already enabled.
I'll commit this and create a new release in the next few days if no more reviews.
Comment #7
mondrakeCommitted to 8.x-2.x, thanks