Seeing lots of errors that did not exist, causing huge headache. Has something changed in dmxAppConnect.js? Was all working fine prior to 4.0.0.
Quite urgent as this is live.
Seeing lots of errors that did not exist, causing huge headache. Has something changed in dmxAppConnect.js? Was all working fine prior to 4.0.0.
Quite urgent as this is live.
Nothing changed aside from saving an Action in 4.0.0, no page changes. Hands full now with Client on the phone… Restored the Action from backup, getting this error on anything using a class/style dynamic variable, display various colors depending on a score.
Hello Dave,
so you want to check if the first record of the data source is in a specific range?
It appears the value returned is not a number but a string … the inrange formatter expects a number.
This all worked perfectly yesterday Teodor, prior to saving in 4.0.0? If result is 30-50 apply danger, 51-70 warning, 71-100 success. Always worked, no problems at all. This is a used a lot to quickly display the status of lots of items. Very simple done it many times. Now having errors on many pages.
Can you please check the reply from your server action in the browser - is it a number or a string?
It can’t work with strings.
So why was it working for months before the save? Sorry but confused as to why it suddenly throws all these errors?
Could you please check if the results from your server actions are strings or numbers? This can be easily seen in the dev tools.
Probably something changed on your server as if it worked, then it used to return numbers.
I’ve got a redundancy server with a replication of the database on another server. I’ll switch to that and get back to you. Nothing like having your phone ring off the hook since 7am, so excuse my urgency please. We replicate across several servers in case of such an issue so we have staggered replication for redundancy, will employ a crossover now and see if that rectifies it. Then get back to you, excuse me for a while.
Ok Dave, can you please just check if the Score
is returned as a number or as a string in the dev tools / XHR where your server action results can be found?
Will do, please bare with my response. My Portuguese is OK but Client rattling on pushing my patience lol…