Skip to content

DataFlex 2022 Update 2 Release Notes

DataFlex 2022, 20.1.39.87 contains the following changes from the previous update release (20.1.34.78):

Note: This topic was updated on July 21, 2023.

Bug Fixes

WebApp Framework

  • A security patch was included that fixes potential data leakage in the cWebCombo and cWebParentCombo.
    Note that if you use one of these controls in data-aware mode with pbEnabled, pbVisible, or pbRender at Design Time set to False, you might need to send a Refill.

  • Pressing Enter in cWebSuggestionForm with cWebList does not trigger OnRowClick.

  • Adding a WebColumnCheckbox to a cWebGrid breaks focus rotation.
  • WebAppServer sometimes gets stuck when starting/stopping processes.
  • cWebDynamicObjectContainer forgets the order of child objects (columns).

Connectivity

  • Set_Attribute DF_FILE_USE_DUMMY_ZERO_DATE caused a memory violation.
  • SQL drivers crashed after a long error from the backend.
    There was a memory overwrite in error handling when the backend returned long error text (> 500) in all SQL drivers.
  • Embedded SQL setting SQLSTMTATTRIB_CURSOR_TYPE was broken in DF20.x.
    This was a 64-bit issue where the cursor would not change type when using Send SQLSetStmtAttribute of hstmt SQLSTMTATTRIB_CURSOR_TYPE SQL_CURSOR_STATIC.
  • Fixed an issue where a Find after Fill_Field DF_LOW/DF_HIGH would, in some circumstances, find the wrong record.
  • Finds on indexes having NULL were not working correctly.
    The generated WHERE clause was not correct when there were NULL values in an index segment.

Runtime

  • WString null terminator issue:
    After including Windows.pkg, a following Repeat on a WString and AddressOf causes an access violation.
  • Uppercase crashes on invalid strings.
  • Memory violation on large strings in replaces().
  • WebServices XmlHandle bug:
    When returning custom XML from a web service by returning an XmlHandle, it sometimes adds garbage to the response.
  • Scalar variable SQL restructure error.
  • GPF in SortArray on non-initialized members in a string array.
  • Append behavior change between 19.x and 20.x:
    When the first argument of append is an integer instead of a string, it performs a numeric append (addition) instead of a string concatenation.
  • ReadLn does not read more than 65535 characters.

See Also