Announcement

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

    12.0p Signature issue in ResultSet.getFetchOperation, making it unusuable

    Hi Isomorphic,

    please see this thread and there especially #2 (v12.0p_2020-04-12).
    If you run countryList.data.fetchOperation in the Developer Console's evaluate box, you'll get this result:
    Code:
    Evaluator: result of 'countryList.data.fetchOperation' (0ms):
    {ID: "fetchFooBar",
    dataSource: "worldDSExport",
    type: "fetch",
    filterType: "paged",
    loadDataOnDemand: true}
    This is clearly not a simple string, as the docs says:

    Click image for larger version

Name:	fetchOperation.PNG
Views:	84
Size:	21.6 KB
ID:	261922

    In SmartGWT this leads to this exception:
    Code:
    Caused by: java.lang.ClassCastException: com.google.gwt.core.client.JavaScriptObject$ cannot be cast to java.lang.String
        at com.smartgwt.client.core.BaseClass.getAttributeAsString(BaseClass.java)
        at com.smartgwt.client.data.ResultSet.getFetchOperation(ResultSet.java:503)
    Best regards
    Blama

    #2
    This should be fixed back to SC/SGWT 12.0p in today's nightly builds, dated 2020-04-28.

    Comment


      #3
      Hi Isomorphic,

      I can see this is fixed using v12.0p_2020-04-29.

      Best regards
      Blama

      Comment

      Working...
      X