Hello,
using: SmartClient Version: v8.3p_2013-01-09/PowerEdition Deployment (built 2013-01-09)
Since the recent versions, a change in the way you guys convert criteria to SQL has changed, in, for me, a bad way.
This is because my app has a SecureIDACall servlet, an extension of your version, that should add a certain criteria to *each* fetch DSRequest:
My secureIDACall will add this like so:
In previous versions, this worked great; the criteria was added to the existing critiria and AND'ed to the query like so:
However, now, if there is a listgrid, and the incoming request has textMatchStyle="substring", it will resolve to:
This way, I can't enforce the SaasCustomer_id to be exactly 12 anymore.
Is there a workaround for this, *without* having to add it to each operationbinding manually, or downgrading? I use this pattern in multiple applications.
using: SmartClient Version: v8.3p_2013-01-09/PowerEdition Deployment (built 2013-01-09)
Since the recent versions, a change in the way you guys convert criteria to SQL has changed, in, for me, a bad way.
This is because my app has a SecureIDACall servlet, an extension of your version, that should add a certain criteria to *each* fetch DSRequest:
Code:
{SaasCustomer_id : 12}
Code:
public class SecureIDACall extends IDACall { protected final Log logger = LogFactory.getLog(getClass()); public void processRequest(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException { //.... dsRequest.setFieldValue("SaasCustomer_id",user.getSaasCustomer_id()); DSResponse resp = handleDSRequest(r, rpc, context); rpc.send(dsRequest, resp); } }
Code:
*some other criteria* AND SomeTable.SaasCustomer_id=12
Code:
*some other criteria* AND SomeTable.SaasCustomer_id LIKE %12%
Is there a workaround for this, *without* having to add it to each operationbinding manually, or downgrading? I use this pattern in multiple applications.
Comment