Issues
Issues copied to clipboard
partialName and name in the /api/tenants, /api/tenants/all and /api/environments api both do wildcard search
Team
- [X] I've assigned a team label to this issue
Severity
No response
Version
2022.2.1851
Latest Version
No response
What happened?
When using the API, I was expecting name
to return a specific name, not wildcarding it.
The issue is that both:
-
/api/Spaces-1/tenants?partialName=And
-
/api/Spaces-1/tenants?name=And
do a wildcard search 😢
Reproduction
You can use deploy instance to test this
Error and Stacktrace
No response
More Information
No response
Workaround
No response
This looks intended based on the Swagger description of the name
param, and may need to stay that way as it's "left for backward compatibility".
Could add another param which does an exact name search and use that in the Terraform provider instead?
@N-lson this is really inconsistent, see for example:
How would we as a customer best highlight this so that we can get some sort of understanding on when it will be fixed? Should we register a support case or is this enough?
Hey @ericlundmark this issue is enough. It's on our backlog but we can't promise a specific estimated time on a fix for this.
Customer also experiencing this issue - https://octopus.zendesk.com/agent/tickets/87785
Another report of this issue (private): https://octopus.zendesk.com/agent/tickets/127722