Hi Everyone,
Running into an issue with one of my UX compnents after an upgrade I did from 12.4.5.1 4770-5018 to 12.4.6.0.1 5887-5315 and the action javascript it runs.
The action javascript itself is pretty simple, I am just using the built in Get-Server side data to get data from a table not referenced in the data bindings so I can set a field value on the onRenderComplete client-side event. When I ran the update for both the application server and my dev system to the version metioned above, I noticed the field not getting populated anymore, and this error showing when I try to edit the action javascript.
Edit Action error.PNG
So I decided that maybe due to the upgrade, the action broke somehow so I would just delete it, re create it and try again. I do just that but the field still does not apply. I see this error show up in the web browser console output.
new error.PNG
After hours of debugging, I came to the conclusion if I comment out the all to run the action javascript, I do not get this error on the browser console. I then decide to create a whole new UX component, with just enough functionality within it to replicate what the single field is doing with the action javascript and it works. I would hate to have to rebuild the entire component over again in another file just because of this issue and am hoping someone on here may know what is going on.
Here is the onRenderComplete javascript code (Commenting out the action to 'Get QMS Numbers' will not cause the error to show)
OnRenderComplete.PNG
Here is the Action javascript that runs
recreated action.PNG
Here is the full query that gets ran (I've tried removing the where clause in my debugging, still got the error)
full sql query.PNG
Thanks in advance.
Running into an issue with one of my UX compnents after an upgrade I did from 12.4.5.1 4770-5018 to 12.4.6.0.1 5887-5315 and the action javascript it runs.
The action javascript itself is pretty simple, I am just using the built in Get-Server side data to get data from a table not referenced in the data bindings so I can set a field value on the onRenderComplete client-side event. When I ran the update for both the application server and my dev system to the version metioned above, I noticed the field not getting populated anymore, and this error showing when I try to edit the action javascript.
Edit Action error.PNG
So I decided that maybe due to the upgrade, the action broke somehow so I would just delete it, re create it and try again. I do just that but the field still does not apply. I see this error show up in the web browser console output.
new error.PNG
After hours of debugging, I came to the conclusion if I comment out the all to run the action javascript, I do not get this error on the browser console. I then decide to create a whole new UX component, with just enough functionality within it to replicate what the single field is doing with the action javascript and it works. I would hate to have to rebuild the entire component over again in another file just because of this issue and am hoping someone on here may know what is going on.
Here is the onRenderComplete javascript code (Commenting out the action to 'Get QMS Numbers' will not cause the error to show)
OnRenderComplete.PNG
Here is the Action javascript that runs
recreated action.PNG
Here is the full query that gets ran (I've tried removing the where clause in my debugging, still got the error)
full sql query.PNG
Thanks in advance.
Comment