Problem/Motivation

In some exotic cases a module can be installed and uninstalled in a span of a single site-install process.
MenuItemExtrasUninstallValidator::validate reacts to this event and produces results mismatching expected behaviour(does not return a travesable result), which leads to a warning during the tests setup process.

Steps to reproduce

Manually install a module that isn't in a core.extension config, e.g. using module_installer service during the install hook of some other module.

Comments

Temoor created an issue. See original summary.

temoor’s picture

Adjusted validate method to return an empty array if original condition within the method is not fulfilled.

temoor’s picture

Status: Active » Needs review
maulik1992’s picture

Assigned: Unassigned » maulik1992
Issue tags: +I will review this
maulik1992’s picture

Assigned: maulik1992 » Unassigned
Status: Needs review » Reviewed & tested by the community

I have reviewed this , its working as expected .

maulik1992’s picture

Issue tags: -I will review this
voleger’s picture

Status: Reviewed & tested by the community » Needs work

Merge requests will make it faster to get in. Give it a try.

voleger’s picture

Issue tags: +Novice
luckie joe’s picture

voleger’s picture

Status: Needs work » Closed (duplicate)

Ok, looks like this issue is a duplicate. Closing.