"core_version_requirement" property is missing in the info.yml file

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

neelam_wadhwani created an issue. See original summary.

neelam_wadhwani’s picture

FileSize
492 bytes

Kindly review patch.

neelam_wadhwani’s picture

Assigned: neelam_wadhwani » Unassigned
Status: Needs work » Needs review
pefferen’s picture

The patch in #2 would render the module incompatible with Drupal 8.8.*

neelam_wadhwani’s picture

FileSize
357 bytes

Kindly review patch.
I updated the core version.

pefferen’s picture

nice @neelam_wadhwani only you need to add 2 pipes for an logical OR:

core_version_requirement: ^8 || ^9

neelam_wadhwani’s picture

FileSize
328 bytes
358 bytes

Hello @pefferen
Thanks for it.
Kindly review update patch.

aspilicious’s picture

Status: Needs review » Reviewed & tested by the community
swentel’s picture

Status: Reviewed & tested by the community » Needs review

Hmm this is tricky, I specifically opened a new branch for Drupal 9 to refactor code and remove stuff (although for the latter that's probably only those features that were already marked as deprecated in the UI like 'Region to block - which is already gone).

It means that in case someone still uses region to block in Drupal 8, it will break when upgrading to this branch - even so when upgrading to D9 of course.

@aspilicious: what do you think?

aspilicious’s picture

Status: Needs review » Needs work

You're correct.
I do see issues with the testbot that we need to add "core_version_requirement: ^9" to our test modules.

swentel’s picture

Yep, looking at those today :)
Thanks for confirming !

swentel’s picture

Status: Needs work » Needs review
FileSize
492 bytes

Let's see if I can force the test to run.

  • swentel committed ab8f4a9 on 8.x-4.x
    Issue #3117984 by neelam_wadhwani, swentel: "core_version_requirement"...
swentel’s picture

Status: Needs review » Fixed

Ok, branch is unblocked.

swentel’s picture

Status: Fixed » Closed (fixed)
swentel’s picture

Opened a follow up at #3123064: Prepare 8.x-3.x for Drupal 8.8 and 9 - we can still make 8.x-3.x work for D9 and limit to 8.9 once that is released!