mozilla / addons

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

"Last updated" section of a detail page changes to another language at page refresh #11134

Closed diox closed 7 years ago

diox commented 7 years ago

Similar to https://github.com/mozilla/addons/issues/10924 but with an add-on detail page.

STR:

Expected Result:

Actual Result:

Happening on prod and stage at least.

muffinresearch commented 7 years ago

I can reproduce the STR on prod - I just got:

<dt class="AddonMoreInfo-last-updated-title" data-reactid="193">Last updated</dt>
<dd data-reactid="194">день назад (6 нояб. 2017 г.)</dd>
willdurand commented 7 years ago

FTR, here is the 10 times example:

$ repeat 10 curl https://addons.mozilla.org/en-US/firefox/addon/adblock-plus/ -s | grep --color -oE 'Last updated</dt><dd data-reactid=\"\d+\">.+?</dd>'
Last updated</dt><dd data-reactid="194">il y a 2 jours (6 nov. 2017)</dd>
Last updated</dt><dd data-reactid="194">2 days ago (Nov 6, 2017)</dd>
Last updated</dt><dd data-reactid="194">2 days ago (Nov 6, 2017)</dd>
Last updated</dt><dd data-reactid="194">2 hari yang lalu (6 Nov 2017)</dd>
Last updated</dt><dd data-reactid="194">2 days ago (Nov 6, 2017)</dd>
Last updated</dt><dd data-reactid="194">2 days ago (6 Nov 2017)</dd>
Last updated</dt><dd data-reactid="194">2 dias atrás (6 de nov de 2017)</dd>
Last updated</dt><dd data-reactid="194">2 days ago (Nov 6, 2017)</dd>
Last updated</dt><dd data-reactid="194">2 天前 (2017年11月6日)</dd>
Last updated</dt><dd data-reactid="194">2 days ago (Nov 6, 2017)</dd>
kumar303 commented 7 years ago

This explains the root cause of the bug https://github.com/mozilla/addons/issues/10967

AlexandraMoga commented 7 years ago

Verified as fixed on AMO-dev with FF56 (Win 10)

autorefresh