You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- Complete rebuild of generated chart, allowing more flexibility for start and end
- Removed aggregation level, it's determined depending on start and end
- Translate module, including configuration, variable names and report, removing property for decimal seperator in the process
The reason will be displayed to describe this comment to others. Learn more.
🟡 Changes recommended
Archive queries can silently omit data beyond 10,000 logged days and understate totals, alongside unresolved lifecycle, dependency-tracking, failure-return, and precision defects.
The reason will be displayed to describe this comment to others. Learn more.
🟡 Changes recommended
The report sums counters with incompatible units and labels values using the first counter’s unit, producing misleading per-counter readings and invalid totals.
Validate configured counters before generating the report
PDFReportConsumption/module.php:45
The list's Add action initializes CounterVariable to 0 (form.json:53), so a nonempty list does not guarantee a usable counter. An unfinished row, or a row referencing a deleted variable, passes this check and reaches the archive and formatting APIs with an invalid ID. Please validate every configured counter before generating the PDF and return false for invalid selections.
Preserve chart-wide settings when updating datasets
PDFReportConsumption/module.php:95
Saving or reapplying the instance configuration discards all chart-wide settings because the existing content is reduced to datasets here. For example, a chart customized with type: "bar" or a profile loses those settings even when the counter list is unchanged. Preserve the existing top-level chart properties and replace only datasets.
Treat missing archive data as unavailable, not zero consumption
PDFReportConsumption/module.php:453
When a selected counter has no archived aggregates for the chosen dates (for example, logging has only just been enabled), this code produces zero-filled bars and a consumption of 0. No error status is set, so GenerateReport() returns true and SendReport() can email missing data as a valid zero-consumption report. Please detect empty or failed archive results and propagate a failure or explicitly mark the data as unavailable instead of treating it as measured zero usage.
The reason will be displayed to describe this comment to others. Learn more.
Es ist ziemlich kompliziert auszuwerten, ob das jetzt wirklich unterschiedliche Einheiten sind oder nicht. Somit kann es meiner Meinung nach einfach so bleiben.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.