Commit Graph
13 Commits
Author SHA1 Message Date
marekf a79622eb15 <Fix>: Align TBF projects with .NET Framework 4.8, increase revision to 3.9.3147.126
Cause:

- TBF was upgraded from .NET Framework 4.7.2 to 4.8 for Laatzen and GCI compatibility in commit 6199bd48c, while ResultsBrowser remained on 4.7.2 despite referencing TBF.
- Introducing PackageReference for MySql.Data exposed this existing framework mismatch during package restore, producing NU1201 errors.
- Other Framework projects, application startup configurations and the Workplace installation prerequisite still targeted or declared older Framework versions.

Solution:

1. Align project target frameworks
   - Upgrade ResultsBrowser and 36 remaining projects from .NET Framework 4.7.2 to 4.8.
   - Update SDK-style projects from net472 to net48.

2. Align runtime and installation requirements
   - Update 20 application startup configurations to require .NET Framework 4.8.
   - Update the Workplace bootstrapper prerequisite to .NET Framework 4.8.

3. Increased revision
   - Updated AssemblyVersion and AssemblyFileVersion from 3.9.3147.125 to 3.9.3147.126.
2026-10-28 14:18:44 +01:00
marekf 488417f0fc <Fix>: Restore database connections with XAMPP MariaDB 10.11, increase revision to 3.9.3147.125
Cause:

- A security vulnerability in the older PHP version required a PHP update. Although updating PHP separately in the existing XAMPP installation was possible, it was complex, so a complete XAMPP update was chosen for simplicity.
- Updating the complete XAMPP distribution also upgraded MariaDB to 10.11, making the database server update a secondary consequence of the PHP security update.

- MySql.Data 6.6.5 failed while loading character sets from MariaDB 10.11, throwing an InvalidCastException when converting DBNull to an integer.
- SessionFactory creation displayed only the outer exception message, hiding the actual connection failure.
- After SessionFactory creation failed, TBF called OpenSession() on a null reference, causing a secondary NullReferenceException.

Solution:

1. Update the MySQL database driver
   - Replace MySql.Data 6.6.5 references with MySql.Data 9.3.0 PackageReference entries across all 15 referencing projects.
   - Enable automatic binding redirects to resolve dependency version differences.
   - Remove the obsolete MySql.Data entry from TBF/packages.config.

2. Preserve database connection errors
   - Include the underlying exception message when reporting SessionFactory creation failures.
   - Propagate startup connection failures to the existing TBF error handler instead of returning a null SessionFactory.
   - Preserve the original exception chain for diagnostics.

3. Increased revision
   - Updated AssemblyVersion and AssemblyFileVersion from 3.9.3147.121 to 3.9.3147.125.
2026-10-28 13:26:19 +01:00
Milan Hanajik 235da5e9e1 Platform target AnyCPU whereever possible. 2021-10-11 13:19:32 +02:00
Milan Hanajik 535038bce1 Style changes to prevent warnings. 2021-04-03 00:54:18 +02:00
Milan Hanajik b1862e2f02 Support for Statistics off-line mode: change LocalSettings.cs line 244. 2021-03-12 10:00:41 +01:00
Milan Hanajik 82a3574222 Statistics : IP addresses updated, export in CSV format implemented. 2020-11-13 10:25:00 +01:00
Milan Hanajik fa38af65e6 IP addresses in Statistics modified, ver. 2.25.1427 2020-02-27 08:19:47 +01:00
Milan Hanajik 91461eb2cc .NET Framework 4.7.2 2020-01-13 14:10:20 +01:00
Milan Hanajik 02f6c9264a MID Statistics is data driven, no MidId enum, ver. 2.18.1154 2019-02-28 15:13:44 +01:00
Milan Hanajik 5849984381 Statistics : (1) LocalSettings folder is optional, (2) LocalSettings changes, (3) New conn. strings/IP addr., (4) Flow ranges saved. 2019-01-09 10:04:44 +01:00
Milan Hanajik 1937850814 Statistics : 5 flow ranges and charts. 2018-12-21 08:14:42 +01:00
Milan Hanajik 6b803444f0 Statistics : First working version, ver. 2.18.1104 2018-12-19 12:24:37 +01:00
Milan Hanajik 695cca6509 Statistics project added, ver. 2.18.1088 2018-12-12 11:29:06 +01:00