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
Using the dev tools network tab, block the request the get xxxxxxx_FileInputComponent.js.
Reload the page so that the fileinputcomponent never loads instead you should see a throbber spinning for ever) as per below.
!image-20240905-215147.png|width=920,height=633,alt="image-20240905-215147.png"!
Click “Update Resource”
You should find this breaks the preview and the file download.
The reason this is happening:
Some dodgy design of the fileinputcomponent means that if it isn’t loaded, the form element that holds the address of the file in in our file store is left empty (it should be default set to the pre-existing value), when you hit submit on the form the empty value gets submitted as an overwrite.
WE HAVE ALREADY FIXED THIs BEFORE 🤔 I believe in the ADR.
The text was updated successfully, but these errors were encountered:
Ok, so it would be good to fix before we finish fjelltopp/who-romania-ckan#22 because it might be otherwise difficult to reproduce. @A-Souhei would you have some knowledge of this fileinputcomponent stuff?
EDIT: this can be fixed at any point, does not depent on conectivity problems to reproduce the error.
To replicate:
!image-20240905-215147.png|width=920,height=633,alt="image-20240905-215147.png"!
The reason this is happening:
WE HAVE ALREADY FIXED THIs BEFORE 🤔 I believe in the ADR.
The text was updated successfully, but these errors were encountered: