Problem with comparison operators

0
Since upgrading from 10.6.7 to 10.6.11 I'm hitting this error in my Nanoflow:   An error occurred while executing an action of Design_System_Module.Master_Layout_Topbar.menuBar1: Operator > not supported in expression >(2023, )   However, the decision behind it seems OK and was working before:   $EquipmentData_WithLowestYearForStats/YearForStats != empty and $EquipmentData_WithLowestYearForStats/YearForStats > 0   I've seen that normally this error occurs if you try to use an operator like ">" with an empty value, but as you can see, we're testing for that first.  With the very same data it works as expected in older Mendix versions.   Am I missing something here?   Edit: on checking $EquipmentData_WithLowestYearForStats is not empty and the attribute YearForStats has the value 2023.  So this really makes no sense at all. It should work and it definitely used to.
asked
3 answers
1

Hi Pete,

Try upgrading mendix to higher version and check, as it could be bug in 10.6.11 as you are mentioning it is working in older version.

 

Hope it helps!

answered
0

Hi Sharad,

 

Yes, that has solved the problem - I've tried going to version 10.12.2 and the problem doesn't exist there.

That version is a current MTS version so it could be an option for us, but it's quite a leap from 10.6, so we will have to be careful.

We were hoping to stay on 10.6.x for now, so I'm hoping that Mendix support can address the bug in 10.6.11 though, as that does have MTS status too.

 

Thanks!

answered
0

Quick update on this: the version update wasn't a true fix.  The problem came back.  Clearing the browser cache also makes the problem go away.  I re-tried upgrading the version from 10.6.7 to 10.6.11 and it happened again.

So it's good that we have a workaround - just clear the browser cache, but not so good if it happens to the users and we don't know when it might happen.

I'm hoping Mendix will have some more insight on this with the ticket I've raised.

answered