A Q&A platform software for teams at any scales. Whether it's a community forum, help center, or knowledge management platform, you can always count on Apache Answer.
fix
aichy126e27121f871c6
diff --git a/internal/service/question_service.go b/internal/service/question_service.goindex d3726eba..affb08a0 100644--- a/internal/service/question_service.go+++ b/internal/service/question_service.go@@ -233,8 +233,13 @@ func (qs *QuestionService) UpdateQuestion(ctx context.Context, req *schema.Questreturn}if !recommendExist {- err = errors.BadRequest(reason.RecommendTagEnter).WithError(err).WithStack()- return+ errorlist := make([]*validator.FormErrorField, 0)+ errorlist = append(errorlist, &validator.FormErrorField{+ ErrorField: "tags",+ ErrorMsg: reason.RecommendTagEnter,+ })+ err = errors.BadRequest(reason.RecommendTagEnter)+ return errorlist, err}//CheckChangeTag