Geo data not generated on node preview

Created on 14 November 2023, 8 months ago
Updated 16 November 2023, 7 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
  • 🇺🇸United States 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 7 months ago
Production build 0.69.0 2024