You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Container. GetErrorHandler (ct). HandleError (ct, err) in mvc was called twice consecutively
When non-pointer parameters are defined in the controller structure, many unexpected errors may occur. For example, POST and DELETE requests may result in EOF, which is similar to the first bug.
To Reproduce
Steps to reproduce the behavior:
type SomeController struct {
Ctx iris.Context
S service.AkService
E *errorc.Err
}
ak := adminApi.Party("/ak")
akMvc := mvc.New(ak)
akMvc.Register(service.AK, errorc.NewErrBuild("AKControllers"))
akMvc.Handle(new(admin.AK))
twice Errorhandle
second handle error
Desktop (please complete the following information):
OS: MacOS
iris.Version
e.g. v12.2.11
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered:
Describe the bug
To Reproduce
Steps to reproduce the behavior:
Ctx iris.Context
S service.AkService
E *errorc.Err
}
ak := adminApi.Party("/ak")
akMvc := mvc.New(ak)
akMvc.Register(service.AK, errorc.NewErrBuild("AKControllers"))
akMvc.Handle(new(admin.AK))
twice Errorhandle
second handle error
Desktop (please complete the following information):
iris.Version
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: