mozilla / addons

☂ Umbrella repository for Mozilla Addons ✨
Other
125 stars 41 forks source link

Broken behavior when editing description in product page #1913

Open flodolo opened 1 year ago

flodolo commented 1 year ago

I have an add-on, which is set to use en-US as default locale.

I'm in "Edit Product Page" with an Italian browser, e.g. https://addons.mozilla.org/it/developers/addon/english-us-dictionary/edit

Here you can see that English (US) is the default locale, and I'm editing ("Localize for") en-US.

Screenshot 2022-12-29 alle 09 25 24

Notice how the description is empty, but I just put content in there. If I click Edit, it will show the content.

If I switch to the en-US URL, https://addons.mozilla.org/en-US/developers/addon/english-us-dictionary/edit, the description appears.

Screenshot 2022-12-29 alle 09 27 22

Since I'm localizing for en-US, that description should appear independently from the URL I'm in.

┆Issue is synchronized with this Jira Task

diox commented 1 year ago

I can't reproduce with a fresh add-on, but I did notice that this add-on contains "translations" in Italian ... some empty, some not (but it's actually english content). It's definitely in a weird state.

diox commented 1 year ago

In the database, it contains an english and an italian translation, both blank and modified after this issue was filed.

KevinMind commented 5 months ago

Old Jira Ticket: https://mozilla-hub.atlassian.net/browse/ADDSRV-189