-
Notifications
You must be signed in to change notification settings - Fork 2
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
Tree view of task-get shows duplicate "next start" information for applications with multiple triggers #333
Comments
Nice find. Current version of Ctrl-Q has issues with the tree view. |
Just to confirm, I see the same behaviour. When it comes to showing information about triggers I am not sure what the preferred behaviour is though. The "Next start" field in the task tree comes straight from the repository API and is the same value that is shown in the QMC for the task. I.e. it's a task-level property, not a trigger-level property. I can see two alternatives:
I feel option 1 is most intuitive and best reflect what's seen in the QMC. Open for a discussion though, of course! :) |
I had a think about this and here's the plan:
|
What version of Ctrl-Q are you using?
3.13.2
What version of Node.js are you using? Not applicable if you use the standalone version of Ctrl-Q.
No response
What command did you use to start Ctrl-Q?
ctrl-q.exe task-get --auth-type cert --host redacted.se --output-format tree --output-dest screen --auth-user-dir redacted --auth-user-id redacteduser --tree-icons --text-color yes --tree-details --task-type reload ext-program
What operating system are you using?
Windows 11
What CPU architecture are you using?
x86_64
What Qlik Sense versions are you using?
2023-February p5
Describe the Bug
In the tree view, I get multiple lines for an app with multiple triggers as expected, but the "Next start" information is the same for all lines.
Expected Behavior
I expect to get multiple lines for applications with multiple load triggers, but the "Next start" should reflect the individual triggers.
To Reproduce
Have a Qlik application with multiple reload triggers:
Export data with ctrl-q as JSON.
In my example I get the results of the last load and two separate items for the respective triggers. One monthly and one once.
But the task tree shows the application on two rows, with the same future reload info:
And on a job with four reloads during the day, the JSON looks like this:
And the tree view:
The text was updated successfully, but these errors were encountered: