Problem/Motivation
On admin/config/development/configuration/features
the status is called 'Enabled' even this concept no longer exists in D8. We also have code-level usage of 'enabled', e.g., FeaturesManagerInterface::STATUS_ENABLED
.
Proposed resolution
Update 'Enabled' to 'Installed' and FeaturesManagerInterface::STATUS_ENABLED
to FeaturesManagerInterface::STATUS_INSTALLED
.
Remaining tasks
To fix test failures, identify for occurrences of 'Enabled' that need to be changed to 'Installed' in FeaturesCreateUITest::testCreateFeaturesUI()
and make the changes.
User interface changes
API changes
Data model changes
assignments.exclude.module.enabled
configuration key renamed to assignments.exclude.module.installed
.
Comment | File | Size | Author |
---|---|---|---|
#23 | interdiff-2631656-19-23.txt | 1.61 KB | ashhishhh |
#23 | 2631656-23.patch | 5.93 KB | ashhishhh |
| |||
#19 | interdiff-2631656-11-19.txt | 1.58 KB | ashhishhh |
#19 | 2631656-19.patch | 5.91 KB | ashhishhh |
| |||
#11 | 2631656-11.patch | 4.25 KB | ashhishhh |
Comments
Comment #2
nedjoComment #3
dawehner.
Comment #4
felribeiro CreditAttribution: felribeiro at CI&T commentedComment #5
felribeiro CreditAttribution: felribeiro at CI&T commentedComment #7
felribeiro CreditAttribution: felribeiro at CI&T commentedComment #8
ashhishhh CreditAttribution: ashhishhh at Valuebound commentedYour patch did not take care of white space.
I cleaned it.
Comment #9
ashhishhh CreditAttribution: ashhishhh at Valuebound commented.
Comment #10
dawehnerIMHO ideally we would also rename the name of the constant.
Comment #11
ashhishhh CreditAttribution: ashhishhh at Valuebound commentedChanged constant everywhere.
Comment #12
dawehnerCool, thank you! IMHO the next issue would be to rename state_disabled to state_uninstalled
Comment #16
nedjoComment #17
dawehnerAwesome, the test coverage we have strikes back!
Comment #18
nedjo@felribeiro, @ashhishhh: thanks for taking this issue. The test failures mean that the tests must be updated to use the new text that's introduced in this patch. I've updated the issue summary with remaining work.
Comment #19
ashhishhh CreditAttribution: ashhishhh at Valuebound commentedThanks @nedjo,
Worked on
to correct tests as well.
Comment #20
ashhishhh CreditAttribution: ashhishhh at Valuebound commentedComment #22
dawehnerSome change in the meantime requires you to pull the new code first and then try to create another patch.
Comment #23
ashhishhh CreditAttribution: ashhishhh at Valuebound commentedOK @dawehner
Comment #24
ashhishhh CreditAttribution: ashhishhh at Valuebound commentedComment #27
nedjoThanks all. Added a few more changes and then committed.
Most significant change was the
assignments.exclude.module.enabled
configuration key renamed toassignments.exclude.module.installed
, which breaks backward compatibility.