Cause:
- Release builds enabled HEAT_METERS and requested heat meter fields from water meter configuration databases.
- Selecting a procedure failed when the Test table did not contain the HeatMetersPath column.
Solution:
1. Align Release configurations for water meters
- Remove HEAT_METERS from the Release constants in TBF, Config and Results.
- Exclude heat meter functionality and its conditional database mappings without modifying the database.
2. Validation
- Config and Results Release builds passed.
- Full TBF Release build remains blocked by external RFID/NFC dependency and GCI runtime-copy errors.
3. Increased revision
- Updated AssemblyVersion and AssemblyFileVersion from 3.9.3147.129 to 3.9.3147.130.
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.
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.
Cause:
- The procedure editor always displayed the "Water meters" tab caption.
- Selecting "Heat meter" left a misleading caption.
Solution:
1. Display the caption according to the selected meter kind
- Show "Heat meters" for heat meter procedures.
- Update the caption immediately when the selection changes.
2. Add localized captions
- Added translations for all supported UI languages.
- Preserved "Water meters" for Single and Compound selections.
- Measurement behavior remains unchanged.
3. Added regression coverage
- Not filled in.
4. Revision increase — pending
- Update AssemblyVersion and AssemblyFileVersion from 3.9.3147.119 to 3.9.3147.120 before committing.
Cause:
- The customer XML format requires batch, DUT, group and test-level metadata.
- ResultsWriter did not provide variables for test position, repetition index, batch duration, DUT test duration or aggregated test statuses.
- Missing WaterMeterData could cause a NullReferenceException while evaluating WM Type.
Solution:
1. Added XML mapping variables
- Added TestPositionInBatch and TestRepetitionNr.
- Added BatchTime and TestsTotalTime.
- Added PassedFromAllTests and PassedFromRepeatedTests.
2. Added hierarchical result evaluation
- Evaluates the overall PANEL/DUT status from all tests.
- Evaluates GROUP status from repeated instances of the selected test.
3. Improved meter data handling
- Made WM Type evaluation null-safe when WaterMeterData is unavailable.
4. Increased revision
- Updated revision to 3.9.3145.102.
This commit introduces the AppDiagnostic project structure, including core components like `MainForm`, logging utilities (`LogAdapter`, `LogFilter`), and configuration files. It integrates with `log4net` for logging and uses `SharedComponents` for shared utilities.