Geo data not generated on node preview

Created on 14 November 2023, 12 months ago
Updated 16 November 2023, 12 months ago

Problem/Motivation

When using Drupal's "preview" feature the geofield data is empty as it appears to only generate on node save.

Steps to reproduce

- Create a new node with a geofield (linked to address field in this case)
- Click "preview" before saving
- No geo data is shown

Proposed resolution

Allow geo data to be generated during previewing of node.

💬 Support request
Status

Closed: works as designed

Version

1.56

Component

Code

Created by

🇺🇸United States 3cwebdev

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

Comments & Activities

  • Issue created by @3cwebdev
  • 🇮🇹Italy itamair

    Well, of course it is not generate / stored in the DB, as it shouldn't be.
    The Preview feature is indeed preventing the storage of Geodata (as long as all the others fields types) before the entity Save.

    And, as far I see the Preview is working fine with all Geofield provided Formatters ...
    so indeed this is not a Bug at all, and instead it is all working as designed/expected.

  • Status changed to Closed: works as designed 12 months ago
Production build 0.71.5 2024