Closed kohsah closed 6 years ago
This error is not becuase of aync saves .. .when the doc is saved the page is reloaded with this iri:
http://localhost:3000/_lang/en/document/edit/ident/_iri/akn/mg/act/legge/1994-11-17/LOI_N%C2%B094-025/fra@/!main
and when its listed on the dashboard - with this one:
http://localhost:3000/_lang/en/document/edit/ident/_iri/akn/mg/act/legge/1994-11-16/LOI_N%C2%B094-025/fra@/!main
THe wrong official date is set in the IRI when refreshed though the correct one is used in the dashboard listing
Fixed
When a document is saved for the first item (during add), it gets reloaded and the document does not reload, on checking responses:
When the request is made the document has not yet completed save, so the load returns document not found.