-
Notifications
You must be signed in to change notification settings - Fork 6
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
ServiceNow: Bugfix - Paginator single result fix #20
ServiceNow: Bugfix - Paginator single result fix #20
Conversation
Thank you for your submission! We have a total of 21 PRs open right now, and we are working hard on all of them! We will take a look as soon as we can. |
@Tomasfire Static Tests results for commit 99f48e5 - https://drive.google.com/file/d/1cl7tsl6dV70upZ6JgPCV_AHAEzMW1x9u/view?usp=drivesdk |
@Tomasfire Compile Tests results for commit 99f48e5 - https://drive.google.com/file/d/1mwmlu-Jjs3gfahb0719YPa7g55TToH5w/view?usp=drivesdk |
Support case created to get this PR more attention: https://splunk.my.site.com/customer/s/case/5005a00003141qjAAA/paginator-single-result-issue |
Can you please provide a context where we need these changes. I have checked the documentation of Servicenow table API and it returns X-total-Count in every header of the response. |
Hello, my use case is following: So when you run action run_query and also define sys_id to the table, header X-total-Count is just not present, but app is expecting it. |
@gdelavadiya-crest Is there anything else I should provide or clarify? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I see no harm in defaulting the total count to 1 if it is not present in the response. It seems real-world experimentation and the documentation disagree, and the real world must win. Approving
Please ensure your pull request (PR) adheres to the following guidelines:
Pull Request Checklist
Please check if your PR fulfills the following requirements:
<App Name>: <PR Type> - <PR Description>
next
branch of the forked repo. Create separate feature branch for raising the PR.Pull Request Type
Please check the type of change your PR introduces:
Security Considerations (REQUIRED)
please document them in the
manual_readme_content.md
.manual_readme_content.md
all methods (eg, OAuth) used to authenticatewith the service that the connector is integrating with.
manual_readme_content.md
.the Vault API.
nosemgrep
?If yes, please provide justification in an additional comment next to the ignored code.
Release Notes (REQUIRED)
What is the current behavior? (OPTIONAL)
What is the new behavior? (OPTIONAL)
Other information (OPTIONAL)
Pay close attention to (OPTIONAL)
Screenshots (if relevant)
Thanks for contributing!