MDriven v7.0.x - June 2024

Released: Jul 4, 2024

Mises à jour de v7.0.x - June 2024

Fonctionnalités

  • Designer, Turnkey and Framework
    • GlobalMenu Data Access:
      • Added access to GlobalMenu data as XML for Blazor client.
      • Introduced BlazorClientMetaRenderer to provide page structure for the Blazor client.
      • Updated MDriven.SharedInterfaces.WebAssembly to remove dependency on Eco.Interfaces for version information.
    • New APIs for Blazor Client Meta Info: Introduced GlobalActionsMeta2 and ViewMetaBlazorClient APIs for enhanced Blazor client metadata handling.
    • GlobalCenteredPopUp Tag: Introduced GlobalCenteredPopUp tag for better popup management.
    • SysDocBatch Pattern Extension: Extended the SysDocBatch pattern by adding the method OnSysDocBatchViewClose.
    • LibreOffice Conversion Support: Introduced support for PDF, DOCX, and XLSX conversions using LibreOffice.
    • MDrivenZeroServerSide: Added condition definitions for MDRIVENZEROSERVERSIDE.
    • Null Checks: Implemented null checks in QP and Ocl_Existing. After 10 BusinessDeleteWarnings, the system will now ask, "Do you want us to continue to warn you?" Additional null check added.
    • Action Optimization:
      • Improved optimization for checking ActionsThatShowThis ViewModel.
      • Added consideration for the root expression due to ViewModel changes in root type or requirement.
      • Renamed the expression "Score" to "Cost" to better reflect the measurement.
    • SysDocBatchChecks Update:
      • Moved SysDocBatchChecks to DefaultEcoSpace.
      • Added GraphAPI support for GetContentFromDriveIdAndIdAndVersion.
    • StartTransactionNoChecks: Introduced a protected virtual method IDbTransaction StartTransactionNoChecks() on AbstractIDatabaseImpl to facilitate custom transaction starts, enabling Firebird-specific options.
    • MDrivenServerAutoForm Update: Removed the FileType parameter from selfVM.Download, extended the SysDocBatch pattern with OnSysDocBatchViewClose, and dropped Convert attributes from the SysDoc pattern due to incompatibility with the ZIP function.
    • Turnkey Update: Refined the IExternalLateBind implementation of Turnkey to better support pattern-based methods from MDrivenServer.
    • SysDocBatch Pattern Update: Updated SysDocBatch pattern for WPF and wecpof.
  • Server
    • GlobalMenu Data Access:
      • Added access to GlobalMenu data as XML for Blazor client.
      • Introduced BlazorClientMetaRenderer to provide page structure for the Blazor client.
      • Updated MDriven.SharedInterfaces.WebAssembly to remove dependency on Eco.Interfaces for version information.
    • New APIs for Blazor Client Meta Info: Introduced GlobalActionsMeta2 and ViewMetaBlazorClient APIs for enhanced Blazor client metadata handling.
    • GlobalCenteredPopUp Tag: Introduced GlobalCenteredPopUp tag for better popup management.
    • Support for Pattern-Based Methods: Improved support for pattern-based methods from MDrivenServer by refactoring IExternalLateBind implementation in Turnkey.
    • SysDocBatch Checks:
      • Moved SysDocBatchChecks to DefaultEcoSpace.
      • Added GraphAPI support for GetContentFromDriveIdAndIdAndVersion.
    • Download FileType Parameter Removal:
      • Removed the FileType parameter from selfVM.Download.
      • Extended SysDocBatch pattern with OnSysDocBatchViewClose method.
      • Dropped Convert attributes from SysDoc pattern as they conflicted with the Zip function.
    • Null Check: Implemented an additional null check.
    • Filenames in ZIP: Replaced colons in filenames within ZIP archives with underscores.
    • Ocl_Existing Null Check: Added null check in Ocl_Existing. After 10 issues with BusinessDeleteWarnings, users are now prompted with "Do you want us to continue to warn you?".
    • Debugger Operator List Cleanup: Removed triggers and trigger queries from the debugger list of operators.
    • MDRIVENZEROSERVERSIDE Condition Definition: Updated MDRIVENZEROSERVERSIDE condition definition.
    • Optimize ViewModel Checks:
      • Refined optimization when checking ActionsThatShowsThis viewmodel to include root expressions due to potential changes in root type or requirements.
      • Renamed expression Score to Cost for better clarity.
    • Support for File Conversions: Introduced support for LibraOffice PDF/DOCX/XLSX conversions.

Correctifs

  • Checksum Strategy Update: Fixed an issue where the "Model has changes - codegen?" question was not updated to look at the new checksum strategy, resulting in messages being displayed at the wrong time.
  • Debugger List Update: Removed triggers and trigger queries from the debugger list of operators.
  • oclEditor Rescue Functions: Resolved an issue where the oclEditor Rescue functions, which offer to add a missing variable or attribute, were getting confused too easily.
  • Version Update: Correct version applied to MDriven.SharedInterfaces.WebAssembly assembly and NuGet.
  • Filename Handling in ZIP: Replaced colons with underscores in filenames within ZIP archives to avoid issues.
  • AutoFormSeekers Exception: Fixed an issue where AutoFormSeekers for transient classes failed with an exception.
  • ViewModelOpenDocumentReports: Addressed issues with static fields in ViewModelOpenDocumentReports that could cause strange report results in multiuser systems (e.g., turnkey/mdrivenserver), where images could get mixed up between reports.
  • LibreOffice Compatibility: Fixed an issue where LibreOffice would not open ODT files with images due to incorrect updates to the meta-inf/manifest.xml file.
  • SysDocBatchChecks Update: Moved SysDocBatchChecks to DefaultEcoSpace. Fixed an issue where a missed action occurred when a button with abstractaction opted out and displayed a modal window.
  • Convert.ChangeType Fix: Resolved an issue with Convert.ChangeType failing for string to Guid conversion by implementing TypeDescriptor.GetConverter(t).ConvertFromInvariantString(safeval as string) for all string values. This fixed the issue with converting posted data to Guid at FI.
  • MDrivenServerAutoForm Update: Fixed a bug in MDrivenServerAutoForm when converting nullable DateTime.
  • Popup Management: Fixed positioning of popups called from toolbar dropdowns, adjusted popups overflowing the viewport, and addressed min-height in advanced tables.
  • WatcherTableHeight Error: Fixed watcherTableHeight error in the console.
  • selfVM.Download Operator: Fixed an issue where the new selfVM.Download operator did not correctly trigger multiple downloads in turnkey.
  • SysDocBatchViewRequestedShowButNotShown: Changed parameters to ViewModel.SysDocBatchViewRequestedShowButNotShown.
  • Enable/Visible for WPF: Fixed an issue with lagging Enable/Visible for WPF due to late action enable evaluation triggering some derived effects on early action enable.
  • DuckType Error Checks: Fixed DuckType error check for Association classes and DuckType column name checking for derived targets that cannot be assigned.
  • Server
    • Enable/Visible Lag in WPF: Fixed issue with lagging Enable/Visible states in WPF due to late action enable evaluation triggering derived effects.
    • New selfVM.Download Operator: Fixed issue where the new selfVM.Download operator did not correctly trigger multiple downloads in Turnkey, only taking the last one.
    • SysDocBatch Checks: Moved SysDocBatchChecks to DefaultEcoSpace. Fixed issue with missed actions when a button with abstract action opted out and showed a modal window.
    • Download FileType Parameter Removal: Fixed bug in MDrivenServerAutoForm when converting nullable DateTime.
    • Popup Overflow Adjustments: Adjusted newly opened popups to prevent them from overflowing the viewport.
    • Toolbar Popup Positioning: Fixed the positioning of popups called from toolbar dropdowns.
    • Advanced Tables Cleanup: Cleaned up min-height settings in advanced tables.
    • Watcher Table Height Error: Fixed console error related to watcherTableHeight.
    • Correct Version in Assembly and NuGet: Updated MDriven.SharedInterfaces.WebAssembly to the correct version in the assembly and NuGet package.
    • DuckType Column Name Check: Fixed issue where DuckType column name check did not produce errors for derived targets that couldn't be assigned.
    • Convert.ChangeType Fix: Addressed Convert.ChangeType failure from string to Guid by implementing a safer value conversion method.