Uncaught TypeError: Cannot read property ‘id’ of undefinedwebix.protoUI._toHTML @ webix_debug.js:14478webix.PowerArray.map @ webix_debug.js:613webix.protoUI.render @ webix_debug.js:14457(anonymous function) @ webix_debug.js:10984(anonymous function) @ webix_debug.js:238webix.EventSystem.callEvent @ webix_debug.js:524webix.DataStore.refresh @ webix_debug.js:9786(anonymous function) @ webix_debug.js:9957(anonymous function) @ webix_debug.js:238webix.EventSystem.callEvent @ webix_debug.js:524webix.DataStore.refresh @ webix_debug.js:9784webix.DataProcessor.webix.proto._innerProcessResult @ webix_debug.js:29183webix.DataProcessor.webix.proto.processResult @ webix_debug.js:29198webix.DataProcessor.webix.proto._processResult @ webix_debug.js:29219success @ webix_debug.js:29149webix.ajax.$callback @ webix_debug.js:2629x.onreadystatechange @ webix_debug.js:2502
There is a problem with incoming data, it has an empty element instead of the data item, or some problem with item IDs.
Above code shows that data was loaded, rendering was started, and during rendering some item an empty object was received instead of valid data object.
Insert process returns
{“location”:"web,“date”:“2015-08-19 00:00”,“name”:21,“client_id”:“2”,“updated_at”:“2015-08-19 20:41:19”,“created_at”:“2015-08-19 20:41:19”,“id”:21}
The weirdest thing is When I click on created item It is being updated and then
Uncaught TypeError: Cannot read property ‘id’ of undefinedwebix.protoUI._toHTML @ webix_debug.js:14477webix.PowerArray.map @ webix_debug.js:613webix.protoUI.render @ webix_debug.js:14457webix.SelectionModel._refresh_selection @ webix_debug.js:11930webix.SelectionModel._select_mark @ webix_debug.js:11813webix.SelectionModel.select @ webix_debug.js:11851webix.protoUI.on_click.webix_list_item @ webix_debug.js:14089webix.MouseEvents._mouseEvent @ webix_debug.js:5757webix.MouseEvents._onClick @ webix_debug.js:5666(anonymous function) @ webix_debug.js:238
Every time When I click to inserted item it Throws this
Incorrect id in select command: 21webix.log @ webix_debug.js:440webix.assert_error @ webix_debug.js:28webix.assert @ webix_debug.js:14webix.SelectionModel.select @ webix_debug.js:11835webix.protoUI.on_click.webix_list_item @ webix_debug.js:14089webix.MouseEvents._mouseEvent @ webix_debug.js:5757webix.MouseEvents._onClick @ webix_debug.js:5666(anonymous function) @ webix_debug.js:238
You are using updateFromResponse right?
Please try to use the next build
https://s3.amazonaws.com/uploads.hipchat.com/15721/61242/eAbWqM4yPihmrgZ/webix2%2C5%2C9.zip
I’m using admin-app as my project base.
With your build I couldn’t see the view even. It throws.
Uncaught TypeError: e[i] is not a functione.A @ webix_debug.js:142webix.ui @ webix_debug.js:134(anonymous function) @ app.js:4835main @ app.js:315callDep @ app.js:181main @ app.js:306(anonymous function) @ app.js:389
Attached one is a GPL edition. Are you using Webix PRO ?
( Admin app uses Webix PRO, there are some widgets there which are available only in PRO version )
I didn’t finished the project yet. I’m planning to purchase PRO version when it’s finished. Just using trial version.
Tested it in trial version and still same issue.
Uncaught TypeError: Cannot read property ‘id’ of undefined
webix_debug.js:440 Incorrect id in select command: 25webix.log @ webix_debug.js:440webix.assert_error @ webix_debug.js:28webix.assert @ webix_debug.js:14webix.SelectionModel.select @ webix_debug.js:11870webix.protoUI.on_click.webix_list_item @ webix_debug.js:14155webix.MouseEvents._mouseEvent @ webix_debug.js:5757webix.MouseEvents._onClick @ webix_debug.js:5666(anonymous function) @ webix_debug.js:238
Incorrect id in select command: 25webix.log @ webix_debug.js:440webix.assert_error @ webix_debug.js:28webix.assert @ webix_debug.js:14webix.SelectionModel.select @ webix_debug.js:11870webix.protoUI.on_click.webix_list_item @ webix_debug.js:14155webix.MouseEvents._mouseEvent @ webix_debug.js:5757webix.MouseEvents._onClick @ webix_debug.js:5666(anonymous function) @ webix_debug.js:238
My insert request returns
{“location”:“n11”,“date”:“2015-08-21 00:00”,“name”:26,“client_id”:“3”,“updated_at”:“2015-08-21 17:28:53”,“created_at”:“2015-08-21 17:28:53”,“id”:26}
It’s fixed in v.2.5.9
Thank you.