Markdown OKF-Schema Studio

Behaviour SwRS-MDOKFSTUDIO-TABLE-034

A host refusal is shown in the cell and keeps the typed text

When the host answers an open or a save of a cell editor with an error, the extension SHALL show the host's message in the status line of the editor, which is in the table bar once the text box exists, and on a refused save drop the pending navigation, leave the editor open and keep the typed text.

Another outcome at step 2 of path 1 in StRS-MDOKFSTUDIO-TABLE-001, in the state “The cell editor is open”.

Scenarios 4

The situations the tests check; open one to read it.

refusalRefused save
Givena cell edited and the host refusing the final save with a message
Whenthe error answer arrives
Thenthe message shows in the table bar status
refusalRefused open
Givena cell editor waiting for the table source and the host answering with an error
Whenthe answer arrives
Thenthe message replaces the loading status in the cell editor region and no text box is built

The region has a Close button; Escape, Close and a click on any cell or block leave it (see SwRS-MDOKFSTUDIO-BLOCK-216)

refusalRefused save before leaving the table
Givena cell edited, a click on a block outside the table pending and the host refusing the final save
Whenthe error answer arrives
Thenthe pending navigation is dropped, the editor is no longer finishing and a later click on a cell of the table switches to it with the typed text kept
nominalEnter after the refusal
Giventhe same editor
Whenthe writer presses Enter
Thena new final previewEditSave with the typed text is posted

Implemented in 1

Tested by 2