Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Correctly handle uninitialized value in stats generation. #3928

Open
svenoe opened this issue Nov 13, 2024 · 0 comments
Open

Correctly handle uninitialized value in stats generation. #3928

svenoe opened this issue Nov 13, 2024 · 0 comments
Labels
bug Something isn't working as intended tidying Tidying of the code
Milestone

Comments

@svenoe
Copy link
Contributor

svenoe commented Nov 13, 2024

Setting up a ticket accumulation statistic without configuring the y axis, results in uninitialized error warnings:

Use of uninitialized value $ColumnName in string ne at /opt/otobo/Kernel/System/Stats.pm line 3621.
Use of uninitialized value $ColumnNameOld in string ne at /opt/otobo/Kernel/System/Stats.pm line 3621.

next COLUMNNAMEOLD if $ColumnNameOld ne $ColumnName;

when executing e.g.:

bin/otobo.Console.pl Maint::Stats::Generate --number 10010 --target-directory tmpstat --language de

Please compare the $HeadArrayRef to a stat with set y axis, and deal with this appropriately (I'm not certain whether this is even valid out of my head, it might be, though).

@svenoe svenoe added bug Something isn't working as intended tidying Tidying of the code labels Nov 13, 2024
@svenoe svenoe added this to the OTOBO 11.0.8 milestone Nov 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working as intended tidying Tidying of the code
Projects
None yet
Development

No branches or pull requests

1 participant