simov / express-admin

MySQL, MariaDB, PostgreSQL, SQLite admin for Node.js
MIT License
1.17k stars 223 forks source link

/add doesn't work #86

Open kapilsachdeva opened 9 years ago

kapilsachdeva commented 9 years ago

I have user table setup, I am able to login and view the user list.

But when clicking on the user add button (/user/add) or edit (user/:id) it results into an error

TypeError: Cannot set property 'error' of undefined at render (/root/kapil/express-admin-local/routes/editview.js:129:27) at /root/kapil/express-admin-local/routes/editview.js:46:9 at /root/kapil/express-admin-local/lib/editview/index.js:80:9 at /root/kapil/express-admin-local/node_modules/async/lib/async.js:157:25 at /root/kapil/express-admin-local/lib/editview/index.js:71:13 at /root/kapil/express-admin-local/lib/editview/index.js:50:9 at Object.async.eachSeries (/root/kapil/express-admin-local/node_modules/async/lib/async.js:145:20) at getTables (/root/kapil/express-admin-local/lib/editview/index.js:39:11) at /root/kapil/express-admin-local/lib/editview/index.js:68:9 at iterate (/root/kapil/express-admin-local/node_modules/async/lib/async.js:149:13)