Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
Clear All
new posts

    DSRequest.setCanSyncCache causes ClassCastException

    SmartClient version: v10.1p_2016-08-29/PowerEdition Deployment

    When I call setCanSyncCache on DSRequest then the value stored in operationConfig is a Boolean. During request execution SQLDataSource.shouldInvalidateCache calls getClause(req, "canSyncCache", null), which expects this to be a String and fails with
    12:48:33.497 [ppr][qtp876669389-28][] WARN c.isomorphic.servlet.RequestContext - dsRequest.execute() failed:
    java.lang.ClassCastException: java.lang.Boolean cannot be cast to java.lang.String
    at com.isomorphic.sql.SQLDataSource.getClause(SQLDataSource.java:1048)
    at com.isomorphic.sql.SQLDataSource.shouldInvalidateCache(SQLDataSource.java:1777)
    at com.isomorphic.sql.SQLDataSource.SQLExecute(SQLDataSource.java:2110)
    at com.isomorphic.sql.SQLDataSource.processRequest(SQLDataSource.java:447)

    #2
    Thank you for the report. This is fixed and will be available for download in nightly builds since Nov 4 (tomorrow).

    Comment

    Working...
    X