localgov icon indicating copy to clipboard operation
localgov copied to clipboard

Failing update test on drupal.org

Open finnlewis opened this issue 1 month ago • 4 comments

Anyone able to help me work out why the LocalGovUpdateTest is failing on drupal.org?

https://git.drupalcode.org/project/localgov/-/jobs/7192755#L66

This is the test that pulls in an old database and runs the updates.

finnlewis avatar Nov 07 '25 14:11 finnlewis

@ekes @tonypaulbarker @stephen-cox @andybroomfield this one is baffling me. Anyone got any ideas?

finnlewis avatar Nov 07 '25 14:11 finnlewis

Hi @finnlewis it fails due to this error

Errors found
Missing or invalid module
The following module is marked as installed in the core.extension configuration, but it is missing:

    geofield_map


Review the [suggestions for resolving this incompatibility](https://www.drupal.org/docs/updating-drupal/troubleshooting-database-updates) to repair your installation, and then re-run update.php.

Which prevents the continue button from showing

millnut avatar Nov 08 '25 12:11 millnut

The composer dev dependency has removed geofield_map, it's likely the old database still requires this so fails.

A little related but geofield_map 3 is not supported so I've bumped to 11 in https://github.com/localgovdrupal/localgov/pull/916

millnut avatar Nov 08 '25 13:11 millnut

Assuming this is the problem, @ekes suggests we update the db snapshot to a more recent install, without geofield_map, and use that for our update tests.

But I don't think the dependency has been removed yet...

https://github.com/localgovdrupal/localgov/blob/3.x/composer.json#L52

finnlewis avatar Nov 11 '25 12:11 finnlewis