-
Notifications
You must be signed in to change notification settings - Fork 136
Open
Description
Hello, I cannot save form that have one2many field as picture below :
And the log :
2024-10-14T21:27:44.514+0700 ERROR logging/logging.go:82 Hexya panicked {"msg": "interface conversion: interface {} is []interface {}, not float64"}
github.com/hexya-erp/hexya/src/tools/logging.(*zapLogger).Error
/home/indrajaya/development/golang/hexya/src/tools/logging/logging.go:82
github.com/hexya-erp/hexya/src/tools/logging.LogPanicData
/home/indrajaya/development/golang/hexya/src/tools/logging/logging.go:185
github.com/hexya-erp/hexya/src/models.doExecuteInNewEnvironment.func1
/home/indrajaya/development/golang/hexya/src/models/environment.go:159
runtime.gopanic
/home/indrajaya/program/go/src/runtime/panic.go:679
runtime.panicdottypeE
/home/indrajaya/program/go/src/runtime/iface.go:255
github.com/hexya-erp/hexya/src/models.(*RecordCollection).Scan
/home/indrajaya/development/golang/hexya/src/models/recordcollection.go:55
github.com/hexya-erp/hexya/src/models.(*RecordCollection).convertToRecordSet
/home/indrajaya/development/golang/hexya/src/models/recordcollection.go:977
github.com/hexya-erp/hexya/src/models.NewModelDataFromRS
/home/indrajaya/development/golang/hexya/src/models/types.go:384
github.com/hexya-addons/web/controllers.makeModelData
/home/indrajaya/development/golang/hexya-addons/web/controllers/model_calls.go:97
github.com/hexya-addons/web/controllers.glob..func1
/home/indrajaya/development/golang/hexya-addons/web/controllers/model_calls.go:43
reflect.Value.call
/home/indrajaya/program/go/src/reflect/value.go:460
reflect.Value.Call
/home/indrajaya/program/go/src/reflect/value.go:321
github.com/hexya-addons/web/controllers.unmarshalJSONValue
/home/indrajaya/development/golang/hexya-addons/web/controllers/model_calls.go:423
github.com/hexya-addons/web/controllers.putParamsValuesInArgs
/home/indrajaya/development/golang/hexya-addons/web/controllers/model_calls.go:255
github.com/hexya-addons/web/controllers.Execute.func1
/home/indrajaya/development/golang/hexya-addons/web/controllers/model_calls.go:174
github.com/hexya-erp/hexya/src/models.doExecuteInNewEnvironment
/home/indrajaya/development/golang/hexya/src/models/environment.go:164
github.com/hexya-erp/hexya/src/models.ExecuteInNewEnvironment
/home/indrajaya/development/golang/hexya/src/models/environment.go:141
github.com/hexya-addons/web/controllers.Execute
/home/indrajaya/development/golang/hexya-addons/web/controllers/model_calls.go:145
github.com/hexya-addons/web/controllers.CallKW
/home/indrajaya/development/golang/hexya-addons/web/controllers/dataset.go:18
github.com/hexya-erp/hexya/src/server.wrapContextFuncs.func1.1
/home/indrajaya/development/golang/hexya/src/server/routes.go:24
github.com/gin-gonic/gin.(*Context).Next
/home/indrajaya/go/pkg/mod/github.com/gin-gonic/gin@v1.4.0/context.go:124
github.com/hexya-erp/hexya/src/tools/logging.LogForGin.func1
/home/indrajaya/development/golang/hexya/src/tools/logging/logging.go:265
github.com/gin-gonic/gin.(*Context).Next
/home/indrajaya/go/pkg/mod/github.com/gin-gonic/gin@v1.4.0/context.go:124
github.com/gin-contrib/sessions.Sessions.func1
/home/indrajaya/go/pkg/mod/github.com/gin-contrib/sessions@v0.0.1/sessions.go:65
github.com/gin-gonic/gin.(*Context).Next
/home/indrajaya/go/pkg/mod/github.com/gin-gonic/gin@v1.4.0/context.go:124
github.com/gin-gonic/gin.RecoveryWithWriter.func1
/home/indrajaya/go/pkg/mod/github.com/gin-gonic/gin@v1.4.0/recovery.go:83
github.com/gin-gonic/gin.(*Context).Next
/home/indrajaya/go/pkg/mod/github.com/gin-gonic/gin@v1.4.0/context.go:124
github.com/gin-gonic/gin.(*Engine).handleHTTPRequest
/home/indrajaya/go/pkg/mod/github.com/gin-gonic/gin@v1.4.0/gin.go:389
github.com/gin-gonic/gin.(*Engine).ServeHTTP
/home/indrajaya/go/pkg/mod/github.com/gin-gonic/gin@v1.4.0/gin.go:351
net/http.serverHandler.ServeHTTP
/home/indrajaya/program/go/src/net/http/server.go:2802
net/http.(*conn).serve
/home/indrajaya/program/go/src/net/http/server.go:1890
Is there any clue how to fix it? Thanks in advance.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels
