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
cWebComboandcWebParentCombo.
Note that if you use one of these controls in data-aware mode withpbEnabled,pbVisible, orpbRenderat Design Time set toFalse, you might need to send a Refill. -
Pressing Enter in
cWebSuggestionFormwithcWebListdoes not triggerOnRowClick. - Adding a
WebColumnCheckboxto acWebGridbreaks focus rotation. WebAppServersometimes gets stuck when starting/stopping processes.cWebDynamicObjectContainerforgets the order of child objects (columns).
Connectivity
Set_Attribute DF_FILE_USE_DUMMY_ZERO_DATEcaused 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_TYPEwas broken in DF20.x.
This was a 64-bit issue where the cursor would not change type when usingSend SQLSetStmtAttributeofhstmt SQLSTMTATTRIB_CURSOR_TYPE SQL_CURSOR_STATIC. - Fixed an issue where a
FindafterFill_Field DF_LOW/DF_HIGHwould, in some circumstances, find the wrong record. - Finds on indexes having
NULLwere not working correctly.
The generatedWHEREclause was not correct when there wereNULLvalues in an index segment.
Runtime
WStringnull terminator issue:
After includingWindows.pkg, a followingRepeaton aWStringandAddressOfcauses an access violation.- Uppercase crashes on invalid strings.
- Memory violation on large strings in
replaces(). WebServices XmlHandlebug:
When returning custom XML from a web service by returning anXmlHandle, it sometimes adds garbage to the response.- Scalar variable SQL restructure error.
- GPF in
SortArrayon non-initialized members in a string array. - Append behavior change between 19.x and 20.x:
When the first argument ofappendis an integer instead of a string, it performs a numeric append (addition) instead of a string concatenation. ReadLndoes not read more than 65535 characters.