Topic on Extension talk:StructuredDiscussions

"Changes recovered" Warning wrongly stating that board description (header) has unsaved changes

3
Jiou7 (talkcontribs)

Hello,

When I edit the board description (header) of a talk page, I can save normally but if I click again on "Edit description", a warning "Changes recovered" appears, saying: "Your unsaved changes have been automatically recovered."

More problematic, if I refresh the page, the board description will spontaneously becomes editable with the same warning:

The only way to get rid of the warning is clicking on "Cancel", and we can then observe that the description was well saved.

I observe the problem with both Visual Editing and Source Editing

Does anybody encountered the same issue?

(Re)tested on a fresh install:

Mediawiki 1.35.3

Flow 1.2.0 (28ad95e)

VisualEditor 0.1.2

GregRundlett (talkcontribs)

The message you're seeing probably relates to an abandoned edit of the Discussion Page (Topic). The auto-recovery feature comes from Visual Editor. If you click on the 'Discussion' tab when the "Changes recovered" message appears, it will hopefully give you the option to "Abandon your unsaved changes".

Jiou7 (talkcontribs)

Thank you for your answer. There is no abandoned edit in my case. I have the same issue with an empty talk page (no topic, no post).

If I click on the Discussion tab when the warning appears, I have the option to "abandon the unsaved changes" but they will be proposed to me again with the same warning when the page appears.

From an empty talk page (new page), here is what I observe:

- I create the description/header for the first time before any topic and I save. Then the page will be automatically refreshed (which seems to be normal, this is also the case if I create a topic first)

- I refresh the page and nothing weird happens, the description is in place and does not become editable and no warning appears

- I edit the description and I save. All good, no error.

- I refresh the page and then the description becomes automatically editable, the box being filled with the previously entered description and with the above-mentioned warning.

- it appears again if I refresh the page, even if I save again. It will stop appearing if I "cancel" and "discard changes". When I do, the description is actually the one which was said to be unsaved.

- all further edits willl display the same behavior.


If there is an existing topic on the talk page before I create the description for the first time, then I will directly have the buggy behavior (the warning/editable input box appear at first refresh, skipping the two first steps listed above).

Reply to ""Changes recovered" Warning wrongly stating that board description (header) has unsaved changes"