Closed (fixed)
Project:
Ray Enterprise Translation
Version:
8.x-2.x-dev
Component:
Code
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
4 Jul 2017 at 23:25 UTC
Updated:
22 Jul 2017 at 11:14 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
penyaskitoWe will need a hook_update_N for that.
Comment #3
penyaskitoComment #4
penyaskitoComment #5
penyaskitore-uploading
Comment #8
penyaskitoUpgrade path and upgrade path tests.
Comment #11
clemens.tolboom15 is an arbritrary number. I would anticipate on module_get_weight('content_translation'); which is (or was?) not implemented. Then write a test for when core fixes this module_set_weight.
Comment #12
penyaskitomodule_get_weightdoesn't exist, and content_translation already has an arbitrary weight (10).I'm including tests covering the upgrade + a new install. There may be cases where content_translation weight will be 0, as there was no upgrade path on that issue. I'm commenting about that there with further analysis.
Comment #13
penyaskitoDump needs to be done with lower supported version (8.3.x) or they may be schema errors in the tests as its the case.
Comment #14
clemens.tolboomI should have added #1808132: Move module_set_weight() into ModuleHandler::setWeight(), add ModuleHandler::getWeight() to replace missing functionality
Comment #15
penyaskitoThanks, @clemens.tolboom.
Attaching new patch with new dump. No interdiff as it's a binary change.
Comment #18
penyaskitoTests passed and failed as expected (well, aside of the testbot issue writing to disk in random occasions)
Comment #20
penyaskitoCommitted ad06061 and pushed to 8.x-2.x. Thanks!
Comment #21
penyaskito