Announcement

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

    Validation warning: No such type 'image', not processing field

    Dear isomorphic support:

    I'm getting an unexpected validation warning on the console:
    === 2012-11-15 14:47:56,166 [l0-0] WARN Validation - [builtinApplication.bupGridDMI_update] No such type 'image', not processing field value at /bupGridDMI/recordError

    I believe type "image" is valid in a data source definition seeing that the image does render on a listgrid.
    Is there an explanation for the warning?
    The use case is I am batching up a bunch of record changes programmatically and then calling saveAllEdits(). If I perform an update via the row editor from the listgrid, I don’t see this validation error on the console.

    Product: SmartGWT 3.0p nightly build Nov 15, 2012
    Browser: IE 9
    Datasource fragment:
    Code:
    <field name="recordError" type="image" title=" " width="3%" canEdit="false"  
    prompt="Contains any server side error messages that can occur for a record. A warning icon will be provided if errors exist with the content of the errors in the hover" />
    Sample source:
    Code:
    ListGridRecord[] records = grid.getSelectedRecords();
    
    for (Record record : records) {
    
       Map<String, Object> recMap = record.toMap();
    
       int rowNum = grid.getRecordIndex(record);
    
       recMap.put("test_col", "test value");
       grid.setEditValues(rowNum, recMap);
    }
    
    grid.saveAllEdits();
    Console log sample:
    Code:
    === 2012-11-15 14:47:56,165 [l0-0] INFO  DSResponse - [builtinApplication.bupGridDMI_update] DSResponse: Map with 15 keys
    === 2012-11-15 14:47:56,166 [l0-0] DEBUG AppBase - [builtinApplication.bupGridDMI_update] No userTypes defined, allowing anyone access to all operations for this application
    === 2012-11-15 14:47:56,166 [l0-0] DEBUG AppBase - [builtinApplication.bupGridDMI_update] No public zero-argument method named '_bupGridDMI_update' found, performing generic datasource operation
    === 2012-11-15 14:47:56,166 [l0-0] WARN  Validation - [builtinApplication.bupGridDMI_update] No such type 'image', not processing field value at /bupGridDMI/recordError

    #2
    This warning can be ignored, it will be removed in later versions.

    Comment

    Working...
    X