Announcement

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

    Bug with DSResponse.setData()?

    There seems to be a bug that manifests if the following is done in a DMI:

    Code:
    List records = response.getRecords();
    response.setData(records);
    On a fetch (and add as well, maybe others too) the following warning is logged:
    WARN DataSource - Couldn't get value for property 'myObjectProperty' for datasource 'Attachment' - ignoring. Actual error: java.lang.Exception: Specified object is not instance of com.aCompany.Attachment

    and the field (and value) is missing in the outbound response and of course from the result on the client.

    SmartClient Version: v8.3p_2013-09-25/PowerEdition Deployment (built 2013-09-25)
Working...
X