Announcement

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

    12.0 warning issues with unsupported defaultOperator for ListGridFields / FormItems

    Hi Isomorphic,

    please see this sample in 12.0 (v12.0p_2018-08-23):
    Developer console entry:
    Code:
    15:20:00.252:TMR0:WARN:TextItem:isc_TextItem_5[field130]:Detected defaultOperator, 'iContains', is unsupported in this item.  Valid operators are: [
    
    ]
     Using undefined instead.
    15:20:00.254:TMR0:WARN:TextItem:isc_TextItem_5[field2]:Detected defaultOperator, 'iContains', is unsupported in this item.  Valid operators are: [
    
    ]
     Using undefined instead.
    15:20:00.265:TMR0:WARN:TextItem:isc_TextItem_5[field2]:Detected defaultOperator, 'iContains', is unsupported in this item.  Valid operators are: [
    
    ]
     Using undefined instead.
    15:20:00.269:TMR0:WARN:TextItem:isc_TextItem_5[field73]:Detected defaultOperator, 'iContains', is unsupported in this item.  Valid operators are: [
    
    ]
     Using undefined instead.
    15:20:00.273:TMR0:WARN:TextItem:isc_TextItem_5[field73]:Detected defaultOperator, 'iContains', is unsupported in this item.  Valid operators are: [
    
    ]
     Using undefined instead.
    15:20:00.274:TMR0:WARN:TextItem:isc_TextItem_5[field130]:Detected defaultOperator, 'iContains', is unsupported in this item.  Valid operators are: [
    
    ]
     Using undefined instead.
    I get a similar warning in my ListGrid when showing the filterRow and having a component column.

    You can reproduce this here with this modified sample:
    Code:
    isc.ListGrid.create({
        ID:"dsListGrid", 
        width: "100%",
        height: "100%",
        autoFetchData: true,
        dataSource: "supplyItem",
        virtualScrolling: false,
        showRecordComponents: true,
        showRecordComponentsByCell: true,
        showFilterEditor: true,
    
        fields: [
            { name: "itemID", type: "image", width: 40, align: "center", imageURLPrefix: "flags/16/", imageURLSuffix: ".png"},
            { name: "itemName"},
            { name: "SKU"},
            { name: "description"},
            { name: "buttonField", title: "Info", align: "center"},
        ],
    
        createRecordComponent : function (record, colNum) {  
            var fieldName = this.getFieldName(colNum);  
    
            if (fieldName == "buttonField") {  
                var button = isc.IButton.create({
                    height: 26,
                    width: 65,
                    layoutAlign: "center",
                    icon: "flags/16/" + record["countryCode"] + ".png",
                    title: "Info",
                    click : function () {
                        isc.say(record["countryName"] + " info button clicked.");
                    }
                });
                return button;  
            } else {  
                return null;  
            }  
        }
    });
    Developer console entry:
    Code:
    15:28:02.088:MUP6:WARN:TextItem:isc_DynamicForm_0_TextItem_isc_OID_30[buttonField]:Detected defaultOperator, 'iContains', is unsupported in this item.  Valid operators are: [
    
    ]
     Using undefined instead.
    This does not happen in v11.1p_2018-08-23.

    Best regards
    Blama

    #2
    We see the issue and we'll update here when it's been fixed.

    Comment


      #3
      Similar warning happens in this sample (v12.0p_2018-08-23):
      Code:
      15:48:14.855:XRP1:WARN:ButtonItem:isc_ButtonItem_0[filterButton]:Detected defaultOperator, 'iContains', is unsupported in this item.  Valid operators are: [
      "equals",
      "notEqual",
      "lessThan",
      "greaterThan",
      "lessOrEqual",
      "greaterOrEqual",
      "between",
      "betweenInclusive",
      "isBlank",
      "notBlank",
      "isNull",
      "notNull",
      "equalsField",
      "notEqualField",
      "greaterThanField",
      "lessThanField",
      "greaterOrEqualField",
      "lessOrEqualField",
      "and",
      "or",
      "not"
      ]
       Using equals instead.
      15:48:14.860:XRP1:WARN:ButtonItem:isc_ButtonItem_0[filterButton]:Detected defaultOperator, 'iContains', is unsupported in this item.  Valid operators are: [
      "equals",
      "notEqual",
      "lessThan",
      "greaterThan",
      "lessOrEqual",
      "greaterOrEqual",
      "between",
      "betweenInclusive",
      "isBlank",
      "notBlank",
      "isNull",
      "notNull",
      "equalsField",
      "notEqualField",
      "greaterThanField",
      "lessThanField",
      "greaterOrEqualField",
      "lessOrEqualField",
      "and",
      "or",
      "not"
      ]
       Using equals instead.
      Best regards
      Blama

      Comment


        #4
        Revisited this thread by chance - the issue is fixed.

        Comment

        Working...
        X