-
-
Notifications
You must be signed in to change notification settings - Fork 21
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
TypeError: Cannot read property 'table_name' of undefined #29
Comments
I have tried to resolve this issue, And, I found issue is here: //console.info(e.dbServices[0].table_name);
if (e.dbServices[0].table_name && (e.dbServices = [{
table_name : e.dbServices[0].table_name, //e.rest.table_name,
columns : []
}
]), 0 == e.dbServices.length) After doing above changes in vendor\zfcampus\zf-apigility-admin-ui\dist\apigility-ui\c22d22af.apigility.js file Rest service Collection and Entity file are generated. But, get new error fields not generated. PUT http://localhost:8888/apigility/api/module/MyDbAPI/rest/MyDbAPI-V1-Rest-User_login-Controller/input-filter 404 (Not Found) Originally posted by @AshwinParmar at zfcampus/zf-apigility-admin#313 (comment) |
I think this is a duplicate to zfcampus/zf-apigility-admin-ui#74 Originally posted by @anli-xsigns at zfcampus/zf-apigility-admin#313 (comment) |
I can confirm this is STILL and issue and has broken Apigility Admin UI for creating DB-Connected REST services at this time. Completely fresh installs using:
or
or
followed by (command) if needed
ALL of the above yield:
in javascript console. This is installing per instructions in zf-apigility-skeleton and/or installing the skeleton instead. Originally posted by @PipStyles at zfcampus/zf-apigility-admin#313 (comment) |
I am creating REST API using Database Connected and Select table from given DB Adapter.
When I click on button. It will throws following JS Error.
table_name property is not found in javascript so, My Service is not generated based on selected Table.
Originally posted by @AshwinParmar at zfcampus/zf-apigility-admin#313
The text was updated successfully, but these errors were encountered: