Dear Isomorphic,
we use smartgwt and there is one thing that worked for us in 12.0p-2018-04-07 but is broken since 12.0p-2019-03-07 until now.
We have listgrids and we do set allowFilterOperators to false, to have the previous behaviour of quick filters and not the new fancy buttons (since we were facing other issues with them), but using the text filter operators stopped work.
i.e. using ==value in quick filter ends with an error now
see
We believe that this is due to the change in smartclient/client/widgets/form/FormItem.js in buildValueExpressions function where this snippet was added
From the stacktrace above, it seems that it expects the filter operator to be a javascript object but the operators seems to be just some regular expressions and the getProperty("ID") fails with this error.
Probably this part of code should be run only if allowFilterOperators = true or there might be a better way how to fix.
We would be very grateful if you can review this issue.
Thanks a lot,
Tomas
we use smartgwt and there is one thing that worked for us in 12.0p-2018-04-07 but is broken since 12.0p-2019-03-07 until now.
We have listgrids and we do set allowFilterOperators to false, to have the previous behaviour of quick filters and not the new fancy buttons (since we were facing other issues with them), but using the text filter operators stopped work.
i.e. using ==value in quick filter ends with an error now
see
We believe that this is due to the change in smartclient/client/widgets/form/FormItem.js in buildValueExpressions function where this snippet was added
Code:
if (!validOps) { validOps = []; for (var j=0; j< opList.length; j++) { var opSymbol = opIndex[opList[j]]; validOps.addList(opSymbol.getProperty("ID")); } }
Probably this part of code should be run only if allowFilterOperators = true or there might be a better way how to fix.
We would be very grateful if you can review this issue.
Thanks a lot,
Tomas
Comment