Announcement

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

    13.1d ListGrid with SetFilterItem (I assume other FormItems as well) DataSource.getCriterionDescription() JS exception

    Hi Isomorphic,

    testing in this thread I noticed a JS error in SNAPSHOT_v13.1d_2024-06-25 (does not happen in v13.0p_2024-06-21).
    Please see this modified sample:
    Code:
    isc.ListGrid.create({
        ID: "supplyList",
        width:500, height:300, alternateRecordStyles:true,
        dataSource: supplyItem,
        fields:[
            {name:"SKU"},
            {name:"itemName"},
            {name:"description"},
            {name:"category", filterEditorType: "SetFilterItem", filterEditorProperties:{sortField: "category", sortDirection:"descending"}}
        ],
        autoFetchData: true,
        showFilterEditor: true,
        filterOnKeypress: true,
        fetchDelay: 500
    });
    and do the following steps:
    1. Open SetFilterItem
    2. Select "Clear all"
    3. Select "Wrapping dispenser"
    4. Close SetFilterItem
    5. List filtered to 3 items and the filterRow for "Category" say "None Except: ..."
    6. Hover that
    7. JS Exception:
      Code:
      22:13:03.011:TMR3:WARN:Log:TypeError: _27 is undefined
      	Stack from error.stack:
      	    [c]DataSource.getCriterionDescription()
      	    ListGrid.getFieldCriteriaHover()
      	    anonymous()
      	    FormItem._handleHover()
      	    FormItem._handleTextBoxHover()
      	    Hover._doAction()
      	    [c]Class.fireCallback()
      	    Timer._fireTimeout()
      	    Timer.setTimeout/_7<()
    Best regards
    Blama

    #2
    Thanks for the report. This has been fixed for builds of 27 June and later.

    Comment


      #3
      Hi Isomorphic,

      I can see this is fixed using SNAPSHOT_v13.1d_2024-06-28.

      Thank you & Best regards
      Blama

      Comment

      Working...
      X