Changed by Another User: Custom Error

If you have questions or if you want to share your opinion about Aware IM post your message on this forum
Post Reply
RLJB
Posts: 914
Joined: Tue Jan 05, 2010 10:16 am
Location: Sydney, Australia

Changed by Another User: Custom Error

Post by RLJB »

We all know this problem and why it occurs, trouble is that it isn't always easy to troubleshoot.

The system currently throws this error:

Customer has been changed by another user. Please get the latest version of the data and try the operation again.

Is there any way to control this message? Would be GREAT to be able to provide more info to the user on what to do, and even a link to our Knowledge Base help.
Rod. Aware 8.6 (latest build), Developer Edition, on OS Linux (Ubuntu) using GUI hosted on AWS EC2, MYSQL on AWS RDS
hpl123
Posts: 2594
Joined: Fri Feb 01, 2013 1:13 pm
Location: Scandinavia

Re: Changed by Another User: Custom Error

Post by hpl123 »

RLJB wrote:We all know this problem and why it occurs, trouble is that it isn't always easy to troubleshoot.

The system currently throws this error:

Customer has been changed by another user. Please get the latest version of the data and try the operation again.

Is there any way to control this message? Would be GREAT to be able to provide more info to the user on what to do, and even a link to our Knowledge Base help.
1+ and here is something you can try. This is a longshot but you can probably change the text displayed as well as other things in this particular modal using the following hack: https://www.awareim.com/forum/viewtopic.php?f=4&t=11521 . This works for this particular modal i.e in my apps, the modal get´s the CSS changes etc. and in the same way (if you know a little JS), you can most likely get the JS to check if the text in the div/span (or however it´s constructed in the modal) is using text "changed by ..........." and if it does, replace it with some other text and also a link to helpdesk info etc. etc.. You can either do a general custom message explaining this error and with a link or do more advanced custom text based on BO name AND change by and then have custom text and custom link. This is a hack though and having this in Aware is needed.
Henrik (V8 Developer Ed. - Windows)
Post Reply