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

--task-tag parameter does not work with task-get command #225

Closed
mountaindude opened this issue Mar 31, 2023 · 1 comment · Fixed by #227
Closed

--task-tag parameter does not work with task-get command #225

mountaindude opened this issue Mar 31, 2023 · 1 comment · Fixed by #227
Labels
bug Something isn't working delivered This feature has been included in Ctrl-Q

Comments

@mountaindude
Copy link
Contributor

What version of Ctrl-Q are you using?

3.8.0

What version of Node.js are you using? Not applicable if you use the standalone version of Ctrl-Q.

.

What command did you use to start Ctrl-Q?

./ctrl-q task-get \ --auth-type cert \ --host 192.168.100.109 \ --auth-user-dir LAB \ --auth-user-id goran \ --task-tag "Ctrl-Q demo" \ --output-format table \ --output-dest file \ --output-file-format excel \ --output-file-name reload-tasks.xlsx

What operating system are you using?

macOS

What CPU architecture are you using?

x86_64

What Qlik Sense versions are you using?

2022-Nov

Describe the Bug

./ctrl-q task-get \
--auth-type cert \
--host 192.168.100.109 \
--auth-user-dir LAB \
--auth-user-id goran \
--task-tag "Ctrl-Q demo" \
--output-format table \
--output-dest file \
--output-file-format excel \
--output-file-name reload-tasks.xlsx
2023-03-31T08:42:10.992Z info: -----------------------------------------------------------
2023-03-31T08:42:10.993Z info: | Ctrl-Q
2023-03-31T08:42:10.993Z info: |
2023-03-31T08:42:10.993Z info: | Version      : 3.8.0
2023-03-31T08:42:10.993Z info: | Log level    : info
2023-03-31T08:42:10.994Z info: |
2023-03-31T08:42:10.994Z info: | Command      : task-get
2023-03-31T08:42:10.994Z info: |              : get info about one or more tasks
2023-03-31T08:42:10.994Z info: |
2023-03-31T08:42:10.994Z info: | Run Ctrl-Q with the '--help' option to see a list of all available options for this command.
2023-03-31T08:42:10.994Z info: |
2023-03-31T08:42:10.994Z info: | https://github.com/ptarmiganlabs/ctrl-q
2023-03-31T08:42:10.994Z info: ----------------------------------------------------------
2023-03-31T08:42:10.994Z info:
2023-03-31T08:42:11.037Z info: Successfully retrieved 20 tags from QSEoW
2023-03-31T08:42:11.054Z error: GET QS TASK 1: AxiosError: Request failed with status code 400
2023-03-31T08:42:11.054Z error: GET TASK MODEL 1: AxiosError: Request failed with status code 400
2023-03-31T08:42:11.054Z error: GET TASK: AxiosError: Request failed with status code 400
    at settle (/snapshot/src/build/lib/index.js)
    at Unzip.handleStreamEnd (/snapshot/src/build/lib/index.js)
    at Unzip.emit (node:events:539:35)
    at endReadableNT (node:internal/streams/readable:1345:12)
    at processTicksAndRejections (node:internal/process/task_queues:83:21)

Expected Behavior

No response

To Reproduce

No response

@mountaindude
Copy link
Contributor Author

Root cause:

When doing task filtering using tags, an incorrect filter string is sent to the QRS API.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working delivered This feature has been included in Ctrl-Q
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant