Yuliia7-1 opened a new issue, #11324:
URL: https://github.com/apache/cloudstack/issues/11324
### problem
I encountered a case where the status field contained unexpected leading
spaces:
`" HTTP Server returned 404 (expected 200 OK) " `instead of `"HTTP Server
returned 404 (expected 200 OK)"`.
This caused issues during sorting and filtering, since the extra space makes
the status string technically different.
Other similar cases with leading or trailing spaces may also occur.
### versions
The ACS version is 4.19.1.1
### The steps to reproduce the bug
1. Register a Template/ISO with a URL that can return `HTTP Server returned
404 (expected 200 OK)`.
2. Check the status field.
### What to do about it?
Strip whitespace from "failed" status fields of Template and ISO.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]