samkitdev17 opened a new pull request, #10096: URL: https://github.com/apache/nifi/pull/10096
### Description This PR resolves issue [NIFI-14733](https://issues.apache.org/jira/browse/NIFI-14733) When a Controller Service does not have the `@Tags` annotation, the NiFi UI previously rendered a blank section or reused old cached content. ### Fix Implemented: - Added fallback logic in `DtoFactory.java`: - If `@Tags` is missing → display: **Tags: No tags available** - Ensured clean behavior when switching between components. ### Testing - Added a dummy ControllerService `DummyNoTagNoDescService` without annotations - Performed local testing to confirm: - Proper message is shown in the UI - No caching bugs occur when switching components - Verified both positive and negative scenarios ### Testing Steps: 1. Created a ControllerService without `@Tags` 2. Verified UI displays: - Tags: No tags available - Description: No description available 3. Verified normal services still render their tags/descriptions correctly 4. Ensured switching between services updates content correctly -- 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]
