Migration from D7: Attempt to create a field storage field_geolocation with no type

Created on 3 December 2022, about 2 years ago
Updated 6 September 2024, 6 months ago

[error] Attempt to create a field storage field_geolocation with no type. (/website_d9/web/core/modules/field/src/Entity/FieldStorageConfig.php:261)

Getting this error on Trying to migrate geolocation fields and it's data from drupal 7 to drupal 9.4 using upgrade migrate module by importing drush migrate:import d7_field, all fields migrating successfully to drupal 9.4 just this one is not migrating and also enabled all modules as well, screenshots are also attached, any patch or suggestions would be highly appreciated, Thanks

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

Feature request
Status

Closed: outdated

Version

3.10

Component

Geolocation Field / Backend

Created by

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

  • 🇳🇿New Zealand scrypter

    Getting same error D7 geolocation module to D10 geolocation module.
    drush mim d7_field gives Attempt to create a field storage field_location_map with no type.

    mysql> select field_name, type, module from field_config where field_name like '%field_location_map%';
    +--------------------+--------------------+-------------+
    | field_name         | type               | module      |
    +--------------------+--------------------+-------------+
    | field_location_map | geolocation_latlng | geolocation |
    +--------------------+--------------------+-------------+
    1 row in set (0.00 sec)
    

    Is there mapping for D7 geolocation to D8/9/10 geolocation? Found type_map => ['location' => 'geolocation'] which is for location_cck but nothing for the same geolocation module source and destination? This is not a custom migration.
    Could you expand on the above comment "did you align the migration field types correctly?" How is that done?

Production build 0.71.5 2024