[progress Communities] [progress Openedge Abl] Forum Post: Re: Jsdo Filtering: Nesting...

  • Thread starter Thread starter Peter Van Dyck
  • Start date Start date
Status
Not open for further replies.
P

Peter Van Dyck

Guest
I think I found why it's not working, and it appears to be... your foult, Edsel... I'm using JSDO version 4.3.1, the ones in the example are using 4.3.0. 4.3.1 contains commit c972f88, committed on Nov 1, 2016 with as comment: Added Edsel's bug fix. This commit contains the following code on line 379 of src/progress.util.js: + if (tableRef._name) { + // Use original field name instead of serialized name + fieldInfo = tableRef._jsdo[tableRef._name]._fields[field.toLowerCase()]; + if (fieldInfo && fieldInfo.origName) { + field = fieldInfo.origName; + } + } Yet at this point, "field" can have an unknown value. The next line checks whether the current object contains a filters-property (in which case it won't contain a filter-property). So the assignment of fieldInfo fails and crashes the procedure. I'll move back to 4.3.0, I hope that'll fix my issue.

Continue reading...
 
Status
Not open for further replies.
Back
Top