Cannot read property 'table_name' of undefined
jamespsterling opened this issue · 11 comments
When attempting to create a new service from conntected DB,
TypeError: Cannot read property 'table_name' of undefined
at a.e.ok (http://demoise.corp.york-claims.com:8888/apigility-ui/c22d22af.apigility.js:1:6663)
at se.functionCall (http://demoise.corp.york-claims.com:8888/apigility-ui/6a8334db.vendor.js:6:18544)
at jf.(anonymous function).compile.c.on.e (http://demoise.corp.york-claims.com:8888/apigility-ui/6a8334db.vendor.js:6:25923)
at k.$get.k.$eval (http://demoise.corp.york-claims.com:8888/apigility-ui/6a8334db.vendor.js:5:14092)
at k.$get.k.$apply (http://demoise.corp.york-claims.com:8888/apigility-ui/6a8334db.vendor.js:5:14370)
at HTMLButtonElement. (http://demoise.corp.york-claims.com:8888/apigility-ui/6a8334db.vendor.js:6:25975)
at HTMLButtonElement..event.dispatch (http://demoise.corp.york-claims.com:8888/apigility-ui/6a8334db.vendor.js:2:14424)
at HTMLButtonElement..event.add.q.handle (http://demoise.corp.york-claims.com:8888/apigility-ui/6a8334db.vendor.js:2:11199)
@jamespsterling I fixed this issue with PR #75, I'm sorry for the inconvenient. Thanks for reporting!
Is there any release with this hotfix?
How to apply this hotfix?
You only need to add in your composer.json:
"zfcampus/zf-apigility-admin-ui": "dev-develop",
Still broken...
The same error happens to me, I've tried various forms found on the web but not yet paid off
I made the same of @wesleywillians and it works like a charm ;)
A big hug to you, master. I'm your apprentice ;) @wesleywillians
@ilson-nobrega, @wesleywillians:
I'm unexperienced with Zend-Framework or Apigility.
Can you guys please detail a little more on how to apply the patch (specifically version 1.2.x)?
What section within composer.json should I edit?
@JunielKatarn You just need to add "zfcampus/zf-apigility-admin-ui": "dev-develop" into your composer.json. It's so easy, look:
- Just open composer.json file;
- Now, search for "require-dev";
- Now just paste "zfcampus/zf-apigility-admin-ui": "dev-develop" within the braces ( {} ), like this:
- Run php composer.phar install (or update - will depend on your case).
Rock 'n roll \m/
It's so easy.
Any questions, we are here.
See ya!
@ilson-nobrega Thank you :)