Skip to content

using 'article' editor & multiple locale records leads to data loss #1746

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
0spinboson opened this issue Aug 21, 2020 · 8 comments
Open

Comments

@0spinboson
Copy link

rc35, symfony 5.13, php 7.2, article version from yesterday
When I set article as the editor for a field that has localize=true, and I edit the field in another locale, I've repeatedly run into data being lost. So e.g. I was editing the dutch locale, and after saving, the english locale of that same field no longer contains any content.

@bobdenotter
Copy link
Member

Hmm, We'll look into this! :-)

@bobdenotter
Copy link
Member

Confirmed.. Something's wonky here..

@I-Valchev Let's take a look at this one too, tomorrow! ^_^

@I-Valchev
Copy link
Member

Can't reproduce yet.

Let's look at this together @bobdenotter .

@bobdenotter
Copy link
Member

@0spinboson On second thought, we can't seem to reproduce this yet.. Are you certain data is actually lost?

@0spinboson
Copy link
Author

It happened about 5x, with me editing the field content in english then saving, only to find wiped content field in the dutch locale, and vice versa. I don't really know how to supply additional info, though. But after switching back to the redactor editor, it has never happened yet/again.

@I-Valchev
Copy link
Member

Let's see if this shows up agian. In the meantime, I'll bump that to 4.1

@denis-gorin
Copy link
Contributor

@0spinboson, please tell, have you changed localize attribute in config\bolt\contenttypes.yaml between savings of an entry?
I suppose I could to reproduce this, but not really sure. my way was:

  • create entry fields structure (ex. collection of set)
  • fill with content
  • add localize attribute to the one of a set's field
  • refill content depending on locale - cause this field data loss in a different locale

@0spinboson
Copy link
Author

0spinboson commented Sep 28, 2020

no, I just changed it once, it usually bugged at least the first time, though on one of my sites it did so pretty consistently, about ~50% of saves.

@I-Valchev I-Valchev modified the milestones: Bolt 4.1, 🔥 Backburner Feb 1, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants