https://bugzilla.wikimedia.org/show_bug.cgi?id=46567

       Web browser: ---
            Bug ID: 46567
           Summary: [TUX] Correcting a "Saving..." translation and saving
                    again discards the correction
           Product: MediaWiki extensions
           Version: master
          Hardware: All
               URL: https://test.wikipedia.org/w/index.php?title=Special:T
                    ranslate&language=jbo&group=page-Bug44865&filter=&acti
                    on=translate
                OS: All
            Status: NEW
          Severity: minor
          Priority: Unprioritized
         Component: Translate
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected], [email protected],
                    [email protected], [email protected],
                    [email protected]
    Classification: Unclassified
   Mobile Platform: ---

I came across this when setting up a test scenario for page translation on
test.wikipedia.org. When a translation is being saved, the editor is opened,
the translation is changed and saved again, that change will not be stored, but
only the initially submitted value will be stored in the wiki.

The below steps to reproduce require a backend that does not respond
"instantly", because that makes it very hard to reproduce. It should take a few
seconds before the status changes from "Saving..." to "Saved", otherwise the
scenario cannot be run.

Steps to reproduce:
1. Open URL while logged in to https://test.wikipedia.org.
2. Open and edit any message.
3. Click save.

Observed:
I: "Saving..." is displayed.
II: After some time, this changes to "Saved"

4. Repeat steps 1-3, but immediately repeat the steps again.

Observed:
III: After some time, the change from 2 is displayed.

5. Refresh the page

Observed:
IV: The change from 2 is displayed.

Expected:
V: The change from 4 is displayed.

I cannot reproduce this consistently because of timing issues, I presume.
Rapidly editing the same translatable unit can lead to weirdness.

Not sure if and how this could/should be resolved, but at least it's documented
now...

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are watching all bug changes.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to