Closed (fixed)
Project:
Drupal core
Version:
8.7.x-dev
Component:
media system
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
1 Mar 2019 at 15:34 UTC
Updated:
2 Apr 2019 at 11:39 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
johnchqueOuch! Maybe we should consider to changing to a normal update function. Anyway, update the post update already existing.
Comment #5
johnchqueMy bad, this should work instead.
Comment #6
berdirI would suggest we first get a $config object with getEditable() and then use that same object to check the value and set it, should be easier to read.
Comment #7
johnchqueThat's true, reads way better now. :)
Comment #8
berdirThanks. I think test coverage for this seems a bit overkill.
Still not sure why this is a post update function, changing plain config in a regular update is OK. If it would be then we wouldn't need this and could simply make sure our own update runs after that.
Comment #9
alexpottI think this is a bug and given it is update related I think we should get this in before 8.7.x. I agree that test coverage is OTT.
Committed and pushed be7966d8e3 to 8.8.x and d0aab49b3a to 8.7.x. Thanks!