You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Dec 4, 2019. It is now read-only.
Bug Reproduction Scenario: As described by jeremygignon.
This issue can be solved very simply by bypassing the submission of the form to bring the user immediately to the updated form.
However, an improved solution using the existing JSON would be to remove the "submit" value of the button. Instead of posting the form, the information needs to be processed separately (e.g. using AJAX) and when the form is updated or in an error state, feedback can be displayed onscreen dynamically without reloading the page using Javascript.
Bug Reproduction Scenario:
1- click the button on de bottom of the page with de symbol "+".
2-
2.1- click the button "Parcourir", choose a file named by UTF-8 characters in the dialog box and then click open.
2.2- click the button "Parcourir", choose a file named by not-UTF-8 characters in the dialog box and then click open.
3-
3.1- JSON feedback with the succes of the upload
msg: {"ok":true,"id":"a5f7207630b482e5e3020dd99531989e","rev":"2-2f7f716af6dc956c397c589d38b1d760"}
url: http://tire-a-part.test.hypertopic.org/a5f7207630b482e5e3020dd99531989e
3.2- JSON feedback with the error of the upload
msg: {"error":"bad_request","reason":"Attachment name is not UTF-8 encoded"}
url: http://tire-a-part.test.hypertopic.org/a5f7207630b482e5e3020dd995320d1f
*with these msgs shown, we can not return to the edit page of article unless we click the button "return" of the web browser
For now, a JSON message is shown instead of the updated form.
Workaround: Get the URL again.
The text was updated successfully, but these errors were encountered: