C# - MVC: Inconsistent Condition

Apr 30 2019 5:53 AM
Hallo dear Team,
 
i'm gonna repair some code of an existing software (This was developed in Model-View-Controler in C#). 
This application manages records (documents of customers). On the UI of the application you can execute sometimes records and sending them and sometimes you cannot edit them, because they are not yet sent. Exactly in this case, it appears like a note at the bottom of the UI with the statement: "inconsistent condition, please go back to the homepage".
How shall I proceed to check this kind of "note" or "tecnical error"?  
I suppose, a value or a condition has not yet been set.
Can you advice me some Tests to apply to catch the error?
Or is it enough, if I use a breakpoint in the method (which shall send the records)?
Can you please advice me a good practice to proceed?
Thank you in advice.
Best regards
Giovanni 

Answers (3)