A new version of the following Business Component (now compatible with Appway 10) is available:
- UI Configuration — Added a configuration entry to display/hide the label of master-details entry groups. The field isMasterDetailLabelDisplayed of a Data Class of type BusinessDataComparisonConfigurationKit:Configuration passed to the constructor of the ChangeOverviewHelper can be used to control whether the label is displayed or hidden. The default value is
true, therefore labels are displayed by default to preserve the compatibility with previous versions. - Savepoints — Added a feature that allows choosing which Savepoint must be selected by default when the ChangeOverview screen is opened. Previously, only the first or the last Savepoint could be selected.
- ChangeOverviewHelper — Using the Business Data Comparison in combination with a Data Task is deprecated, as this combination does not support Data Logic Includes. A warning log message is thrown when the Business Data Comparison is used in combination with a Data Task.
- Data Logic Helper — A combination of the Data Logic Control ID and the control Data Entity ID is now used to index Data Logic Controls, allowing for improved indexing of such controls.
- Configuration Kit — Fixed an issue affecting the environments in which Appway had a context path where the demo Process DemoAudit was generating the sample audit PDF without considering the context path in the document download link generation.
- ChangeOverviewHelper — Fixed an issue related to caching of the has changes tag where wrong information was cached in cyclic or recursive data models, leading to false negatives when displaying changes.
Starting from Business Data Comparison 3.0.0, configuring the Changes Overview widget using a Data Task is deprecated. You can replace the Data Task with a Screen Task and configure the widget as described in the documentation.
The Business Data Comparison 3.0.0 has the following known issues:
- It contains three validation errors, all of them are false positives and do not affect the component behavior. You can safely ignore them.
- Under certain circumstances, some instances of the following messages can be found in the logs: "Using 'null' as a key is very bad practice. One example: No context can be provided in this log messages, because the key is simply null." and "Could not set initial value for variable Date $date := DATEPARSE($inputDate, $pattern)". The first warning is due to a cache entry with an unused null key, while the second is related to an exception correctly caught and handled by the Business Data Comparison. Both messages can be ignored.
- Not all functions deprecated in Appway 10 have been migrated. A following patch version of the Business Data Comparison will fix this issue.
The Business Data Comparison 3.0.0 uses the DataHistory Extension 1.3.0, which comes with the following features and bugfixes:
Features
- Data History Script Functions now use DataClass References to specify the Data Classes to be considered.
- Added a new property
savepointId to the Savepoint Data Class. The property contains a unique ID for the Savepoint which is automatically generated by the Data History. We strongly recommend using this new property instead of the function getSavepointId, which is going to be deprecated in the near future. - It is now possible to configure the Data History so that it compacts multiple changes on the same entity (property, collection element) by setting the Data History configuration property
compacting.enabled. - The new Script Functions 'DataHistoryGetChangesForDataClassInstanceBySavepoint', 'DataHistoryGetChangesForCollectionBySavepoint', 'DataHistoryGetChangesForProcessInstanceBySavepoint', 'DataHistoryHasChangesBySavepoint' provide a convenient way to retrieve changes grouped by Savepoint
- Data History now provides a caching functionality that speeds up the retrieval of changes. The cache can be enabled by setting the Data History configuration property
read.caching.enabled to true. Note that, if the cache is enabled and multiple users can read and execute changes at the same time, not all changes might be immediately visible.
Bugfixes
- When the execution of a change and the setting of a Savepoint happened with a very small time difference (same millisecond), changes were sometimes included in the wrong Savepoint.
Business Components can be requested through the Support Ticketing System:
Go to Community Support and open an 'Appway Software Request' Ticket. Please, specify the Appway version you are requesting the Business Components for.
For complete information, see the Business Data Comparison
documentation.