qor-example icon indicating copy to clipboard operation
qor-example copied to clipboard

Meta QorWidgetSettingsSorter is not supported for resource *models.Page

Open moisespsena opened this issue 8 years ago • 0 comments

Hello!!

I have new error after git pull.

/home/moi/opt/go/bin/go run /home/moi/go/src/github.com/qor/qor-example/main.go
Failed to find configuration config/smtp.yml, using example file config/smtp.example.yml
[recover]  Loading
[register] Loading
[auth]     Loading
[confirm]  Loading


Meta QorWidgetSettingsSorter is not supported for resource *models.Page, no `Valuer` configured for it
goroutine 1 [running, locked to thread]:
runtime/debug.Stack(0x4a, 0xc420b40e80, 0x2)
	/home/moi/opt/go/src/runtime/debug/stack.go:24 +0x79
runtime/debug.PrintStack()
	/home/moi/opt/go/src/runtime/debug/stack.go:16 +0x22
github.com/qor/qor/utils.ExitWithMsg(0xcc13a0, 0xc421020220, 0xc420b40e80, 0x2, 0x2)
	/home/moi/go/src/github.com/qor/qor/utils/utils.go:213 +0x161
github.com/qor/qor/resource.(*Meta).Initialize(0xc42031b6c0, 0x0, 0x0)
	/home/moi/go/src/github.com/qor/qor/resource/meta.go:218 +0x73f
github.com/qor/admin.(*Meta).updateMeta(0xc420fab8c0)
	/home/moi/go/src/github.com/qor/admin/meta.go:193 +0x1d3
github.com/qor/admin.(*Resource).Meta(0xc420fcca20, 0xc420fab8c0, 0xc420fab810)
	/home/moi/go/src/github.com/qor/admin/resource.go:94 +0x1fe
github.com/qor/qor-example/config/admin.init.1()
	/home/moi/go/src/github.com/qor/qor-example/config/admin/admin.go:536 +0x6a02
github.com/qor/qor-example/config/admin.init()
	/home/moi/go/src/github.com/qor/qor-example/config/admin/worker.go:134 +0x1fe
main.init()
	/home/moi/go/src/github.com/qor/qor-example/main.go:58 +0x66
[warning] duplicated callback `qor_admin:composite_primary_key` from /home/moi/go/src/github.com/qor/admin/composite_primary_key_callback.go:31
[warning] duplicated callback `qor_admin:composite_primary_key` from /home/moi/go/src/github.com/qor/admin/composite_primary_key_callback.go:32
[warning] duplicated callback `qor_admin:composite_primary_key` from /home/moi/go/src/github.com/qor/admin/composite_primary_key_callback.go:32
[GIN-debug] [WARNING] Running in "debug" mode. Switch to "release" mode in production.
 - using env:	export GIN_MODE=release
 - using code:	gin.SetMode(gin.ReleaseMode)

[GIN-debug] GET    /                         --> github.com/qor/qor-example/app/controllers.HomeIndex (4 handlers)
[GIN-debug] GET    /products/:code           --> github.com/qor/qor-example/app/controllers.ProductShow (4 handlers)
[GIN-debug] GET    /category/:code           --> github.com/qor/qor-example/app/controllers.CategoryShow (4 handlers)
[GIN-debug] GET    /switch_locale            --> github.com/qor/qor-example/app/controllers.SwitchLocale (4 handlers)
[recover]  Route: /auth/recover
[recover]  Route: /auth/recover/complete
[register] Route: /auth/register
[auth]     Route: /auth/login
[auth]     Route: /auth/logout
[confirm]  Route: /auth/confirm
Listening on: 7000

moisespsena avatar Jul 17 '17 14:07 moisespsena