This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

DEVELOPERS FORUM - Event handler failed error - when click on form button!

Jan Cvek - Friday, May 29, 2015 7:37 AM:

Hi All

 

I get really annoying error occasionally and I have no idea what is the cause of the error. The error occurs for no apparent reason. I did a form with some buttons which have set field event on click (it could be some other event). Events runs java script methods which have no errors and work perfectly. Form and buttons act like normal. However, when I run form repeatedly in short time (because of testing) It could happened that when click on button with set field event, I get an error (bottom picture). Since this time this error occurs every time when I click on any of button which have set field event! It doesn’t help to restart the Aras in browser as well as restart the server. Error then suddenly disappear with no reason usually in about 1-12 hours. Thereafter everything work perfect and field events no longer occurs error.
It is really annoying because it repeats and I don’t know what the cause of the problem is. Does have anybody similar problems or have idea what is going wrong?
Thanks for the help,
Jan Cvek



arnaud.chaussard - Wednesday, June 3, 2015 5:23 AM:

HI !

When testing, do you mean changing javascript methods behind the events and reopen the form ? If so the only way to secure the forms behavior is to remove the browser cache from history or the dev tools.



Jan Cvek - Thursday, June 4, 2015 3:33 AM:

Hi! 

Yes I mean like you wrote and you have right! I cleared browser cache and error disapeared! This solve my problem.

Thank you!

Jan Cvek