-
Notifications
You must be signed in to change notification settings - Fork 7.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Why does the v1.7.5 version report an error when it is running and the field definition is missing? #2948
Comments
I have the same problem as you,and define the missing fields from your description, but the problem still exists. |
I have the same problem as you, but when i use v1.7.2 everything worked well. |
I have got the same problem as you,it takes me several hours ,and finally i decided to give up trying fix it. |
I see the same issue # github.com/gin-gonic/gin
Error: ../../../go/pkg/mod/github.com/gin-gonic/gin@v1.7.5/context.go:735:13: c.engine.AppEngine undefined (type *Engine has no field or method AppEngine)
Error: ../../../go/pkg/mod/github.com/gin-gonic/gin@v1.7.5/gin.go:154:3: unknown field 'UseRawPath' in struct literal of type Engine
Error: ../../../go/pkg/mod/github.com/gin-gonic/gin@v1.7.5/gin.go:156:3: unknown field 'UnescapePathValues' in struct literal of type Engine
Error: ../../../go/pkg/mod/github.com/gin-gonic/gin@v1.7.5/gin.go:508:11: engine.UseRawPath undefined (type *Engine has no field or method UseRawPath)
Error: ../../../go/pkg/mod/github.com/gin-gonic/gin@v1.7.5/gin.go:510:20: engine.UnescapePathValues undefined (type *Engine has no field or method UnescapePathValues)
Error: Process completed with exit code 2. |
@p9966 v1.7.5 don't release, it's an branch of git. I create the branch for release v1.7.5 but it have still error... |
v1.7.2 works well.So you can delete the installed package of v 1.7.5,and reduce the version to v1.7.2. |
v1.7.5 branch removed, thanks! |
It may take some time to compare commits, because some commits with v1.7.5 label are based on some commits with v1.8.0 label or older commits. |
@thinkerou, you should retract v1.7.5 in go.mod file. |
thanks! please see #2951 |
Experienced similar issue with v1.7.5. Downgrading the version to github.com/gin-gonic/gin v1.7.2 resolves the issue. |
I see the same issue
go get -u github.com/gin-gonic/gin@v1.7.2 |
downgrade with github.com/gin-gonic/gin@v1.7.4 everything worked well |
Released v1.7.6 using the code of v1.7.4 version to fix the error at first, please see https://github.com/gin-gonic/gin/releases/tag/v1.7.6, thanks! |
v1.7.7 have released, thanks! https://github.com/gin-gonic/gin/releases |
Description
v1.7.5 Runtime error reporting missing fields
Expectations
Missing fields can be defined
Environment
The text was updated successfully, but these errors were encountered: