light-white opened a new issue, #1383: URL: https://github.com/apache/answer/issues/1383
## New Question Notification Message not get new tag When a new tag is created during issue submission, the tag does not appear in the generated notification messages. This prevents recipients from identifying the new tag, potentially leading to confusion about issue categorization. ### To Reproduce Steps to reproduce the behavior: 1. Access the question creation form 2. Create a new tag in the tags field 3. Submit the question with the new tag 4. Check the notification content – the new tag is missing ### Expected behavior The notification message should include all tags (including newly created ones) associated with the issue for transparency and proper tracking. ### Bug Question Code The tags passed in the notification are only those created previously, not those created for this question. https://github.com/apache/answer/blob/main/internal/service/content/question_service.go#L315 https://github.com/apache/answer/blob/main/internal/service/content/question_service.go#L416 ### Screenshots notification/new_question_notification.go:230 pluginNotificationMsg: &{Type: ReceiverUserID: ReceiverLang:zh_CN ReceiverExternalID: TriggerUserID: TriggerUserDisplayName: TriggerUserUrl: QuestionTitle:test notice QuestionUrl:http://localhost/questions/10010000000000038 QuestionTags: AnswerUrl: CommentUrl:} ### Platform - Device: Desktop - OS: macOS - Browser and version: Chrome - Version: v1.6.0 ### Fix I tried to do some repairs This issue is related to pull request #1328 -- 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]
