sravani-revuri opened a new pull request, #11960: URL: https://github.com/apache/ozone/pull/11960
## What changes were proposed in this pull request? The Path field shows “Please enter valid path” for bad input, but Search still updates searchPath and calls the API. In handleSubmit, skip setSearchPath when isInputPathValid === 'error'. Extend the invalid-path unit test to click Search and assert no extra fetch. found here https://github.com/apache/ozone/pull/11825#discussion_r4421864687 ## What is the link to the Apache JIRA https://issues.apache.org/jira/browse/HDDS-17692 ## How was this patch tested? Manual and updated test. ### Before: <img width="3138" height="1724" alt="image" src="https://github.com/user-attachments/assets/d5babee1-9583-4b46-8d75-58f5fe659d8e" /> ### After: <img width="3428" height="1874" alt="image" src="https://github.com/user-attachments/assets/18564b4d-960e-435b-b658-31b530401ae9" /> -- 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] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
