Closed (fixed)
Project:
Upgrade Status
Version:
8.x-3.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
27 Aug 2021 at 20:36 UTC
Updated:
24 Dec 2021 at 09:34 UTC
Jump to comment: Most recent, Most recent file

Comments
Comment #2
mglamanHere's another example of Commerce Base
Comment #3
gábor hojtsyWe likely need to special case install profiles. I thought there was an issue about profiles being disabled in the module's queue, but I did not find it.
Apparently install profiles may be disabled and still function as the default profile. See #1170362: Install profile is disabled for lots of different reasons and core doesn't allow for that.
Comment #4
loopy1492 commentedComment #5
loopy1492 commentedLooks like this was done for 1.x branch at one point and never merged in.
https://git.drupalcode.org/project/upgrade_status/-/commit/a41d3939c2d86...
Edit: Actually, looking at the code for ProjectCollector.php in the 3.x branch, the code *is* in there. I wonder why the 1.x branch is able to find contrib modules in a profile, but the 3.x branch is not.
Comment #6
gábor hojtsy@loopy1492: all the code under an install profile should be reported under the profile's name. This was originally by design as drupal.org install profiles would contain all self-hosted code. There were various reports of this assumption not being true in real life. See #3146667: Explore splitting the coverage of profiles into their subextensions for the issue to split them somehow.
For this issue though, the problem is the install profile is suggested to be removed, because it appear not installed. That is due to #1170362: Install profile is disabled for lots of different reasons and core doesn't allow for that as I wrote above. We can work around that though by adding a specific check for the install profile of the site. @mglaman could hopefully help validate this patch :D
Comment #7
firfin commentedTested on 3.12 (not dev) applied cleanly there also. Sorry I didn't bother to test on a -dev version.
The install profile (i.e. commerce_base) moved from the 'Remove' section of the Upgrade Status report to the appropriate section.
Solved my problem. And code makes sense to me (which might be a sign that it is too 'simplistic' ;-) ).
So marking RTBC
Comment #9
gábor hojtsySuperb, thanks for testing, committed.
@loopy1492 et al. it would be great to see you in #3146667: Explore splitting the coverage of profiles into their subextensions, that is a more deep issue :D