Closed (fixed)
Project:
Drupal core
Version:
8.8.x-dev
Component:
base system
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
25 Nov 2019 at 14:08 UTC
Updated:
6 Jan 2020 at 13:44 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
alexpottComment #4
alexpottHere's a fix. \Drupal\Tests\system\Functional\Form\ModulesListFormWebTest::testModulesListFormWithInvalidInfoFile() creates an invalid info .yml file without a package key. Nice because it's not mandatory.
Comment #5
berdirIsn't this going to break on the lines below for modules that still do have a core: 8.x key, as would then result in getting an exception on incompatible core vs. core_version_requirement key?
What about only doing this if those testing modules do not yet have a core nor core_version_requirement key instead of forcing it? If we do force then we need to unset core too.
Comment #6
alexpott@Berdir context is everything :) this is inside another if...
Comment #7
berdirOh, I did look at the whole function to make sure it is above the other check, but didn't see that it is inside this condition.
I think this is fine then, not sure if it needs a change record or documentation updates?
Comment #8
alexpottI'll update https://www.drupal.org/node/3070687 once this has been committed.
Comment #11
catchCommitted/pushed to 9.0.x/8.9.x, moving to 8.8.x for backport once the freeze is over. I'm in favour of getting this into 8.8 to make contrib porting easier.
Comment #13
catchCherry-picked to 8.8.x, thanks! Also updated the change record and linked it to this issue.
Comment #14
heddnI'm not so sure this actually fixes anything. See #3101322: Error due to Drupal 9 support.
Comment #15
alexpott@heddn this change is not part of 8.8.x yet. It will be released in 8.8.2
Comment #16
heddnCR needs update. It says this made it into 8.8.1.
Comment #17
heddnCan someone review my updates to the CR and mark this fixed if they agree with them?
Comment #18
heddnIt is confusing though, because this was committed 8 days ago and 8.8.1 was released only 2 days ago. Or at least I'm confused.
Comment #19
heddnBerdir mentioned that 8.8.1 was a security only release, ergo it doesn't have anything but the security changes in it. That's the answer to #18.
Comment #20
alexpottUpdates to CR look good.
Comment #21
wim leersWoah, really good catch! 😊