Closed steveblamey closed 6 years ago
@mshiner It seems that uzERP uses the jQuery BlockUI Plugin http://malsup.com/jquery/block/ to prevent user interaction when an ajax request is in progress. You will see that the screen darkens and the mouse cursor changes when you select a new customer while adding a new sales order, for example.
There is no ajax request when the page is loaded initially, so the cause of this issue must be elsewhere.
We have not seen any repeat of these issues and have been unable to reproduce.
We've had two issues where the database has ended up with an inconsistency because a dropdown didn't populate before the user submitted the form (I believe). There seems to be no backend validation of data where one 'belongsto' relationship 'depends' on another.
Obviously the db ended up with a 'valid' id in the column because its a 'belongsTo' in each model and the backend sees it as a FK - but the 'context' is incorrect.