Please see MW-177. It seems as though a miscellany of error conditions can lead to the generic error message that OpenLMIS "Could not initiate LMIS Form." In the reference-distribution of OpenLMIS, the analogous message is something like "Could not initiate R&R."
In either event, it would be helpful to give users more specific information about what's wrong and why the R&R ("LMIS Form") can't be initiated.
Every time a back-end API error bubbles up to the UI into a red error message box, we should have part of that error box show the detailed API error string so users don't have to open the Dev Tools/Console to see the details.
Okay, now the error messages are displayed on the modals. Btw, the problem described in the ticket does not occur anymore.
, Displaying the same modal twice does not seem to work.
can you give me the repro steps? I am not sure what "Displaying the same modal twice means". Should I do the same error twice? If that's the case it works, since I did this plenty of times in stock management today.
Issue with unable to open modal one after another does not occur anymore. I tried to reproduce this by causing backend error -> modal is shown -> I close modal -> repeat -> modal is shown.