Skip to content
This repository has been archived by the owner on Jan 21, 2020. It is now read-only.

Cannot read property 'table_name' of undefined #74

Closed
jamespsterling opened this issue Aug 3, 2015 · 11 comments
Closed

Cannot read property 'table_name' of undefined #74

jamespsterling opened this issue Aug 3, 2015 · 11 comments
Labels
Milestone

Comments

@jamespsterling
Copy link

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)

@ezimuel
Copy link
Contributor

ezimuel commented Aug 4, 2015

@jamespsterling I fixed this issue with PR #75, I'm sorry for the inconvenient. Thanks for reporting!

@weierophinney weierophinney added this to the 1.3.2 milestone Aug 4, 2015
@wesleywillians
Copy link

Is there any release with this hotfix?

@evghen1
Copy link

evghen1 commented Aug 13, 2015

How to apply this hotfix?

@wesleywillians
Copy link

You only need to add in your composer.json:
"zfcampus/zf-apigility-admin-ui": "dev-develop",

@jamespsterling
Copy link
Author

I added this updated to composer.json and did an update. It's still generating the same javascript error.

  • Updating zfcampus/zf-apigility-admin-ui (1.2.1 => dev-develop 94aea26)
    Checking out 94aea26

@PipStyles
Copy link

Still broken...

@MarceloHenriquee
Copy link

The same error happens to me, I've tried various forms found on the web but not yet paid off

@ilson-nobrega
Copy link

I made the same of @wesleywillians and it works like a charm ;)
A big hug to you, master. I'm your apprentice ;) @wesleywillians

@JunielKatarn
Copy link

@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?

@ilson-nobrega
Copy link

@JunielKatarn You just need to add "zfcampus/zf-apigility-admin-ui": "dev-develop" into your composer.json. It's so easy, look:

  1. Just open composer.json file;
    image
  2. Now, search for "require-dev";
    image
  3. Now just paste "zfcampus/zf-apigility-admin-ui": "dev-develop" within the braces ( {} ), like this:
    image
  4. 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!

@aiamk
Copy link

aiamk commented Dec 6, 2015

@ilson-nobrega Thank you :)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

10 participants