Changing the main country choice in Manage Fields removes ALL address previously saved

Created on 16 September 2023, over 1 year ago
Updated 16 November 2023, over 1 year ago

I had nodes with address field saved with addresses in them.

I had left all countries available to be chosen on the select drop down before you address the address in manually on the node.

After adding many nodes addresses I went back to MANAGE FIELDS for the content type and selected United Kingdom from the drop down so that only United Kingdom would show when I went to add/edit a node with this address field on it.

I went back to edit some nodes I had created only to find all addresses previously entered, even though they were United Kingdom had been erased and vanished.

This is a major bug, I was about to add a few hundred nodes manually and could not have imagined doing this change after the fact.

πŸ› Bug report
Status

Closed: cannot reproduce

Version

1.12

Component

Code

Created by

πŸ‡¬πŸ‡§United Kingdom effortDee

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

Comments & Activities

  • Issue created by @effortDee
  • Status changed to RTBC over 1 year ago
  • πŸ‡ΊπŸ‡¦Ukraine sickness29

    Hi effortDee,
    I have tested this with latest 8.x-1.x version on Drupal 9.5.11 and I was not able to reproduce the issue.

    My steps:
    1. Created CT with address field.
    2. Created node with United Kingdom address values.
    3. Went to Manage fields and set Default country to United Kingdom.
    4. Went to edit if node from (2) and address is present and all values are there.

    Please make sure this is not related to custom code or other actions that's been done that may have influenced data in db.

  • πŸ‡ΊπŸ‡¦Ukraine sickness29

    Hi Maintainers,
    I have tested this locally and was not able to find any issue with latest module version.
    I think we can close this as it works as designed unless author has more details.
    Would much appreciate a credit for checking this, thanks

  • Status changed to Closed: cannot reproduce over 1 year ago
  • πŸ‡·πŸ‡ΈSerbia bojanz

    Thanks for checking, sickness29!

Production build 0.71.5 2024