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

DB Autodiscover supresses exceptions #364

Closed
Naktibalda opened this issue Sep 20, 2016 · 0 comments
Closed

DB Autodiscover supresses exceptions #364

Naktibalda opened this issue Sep 20, 2016 · 0 comments

Comments

@Naktibalda
Copy link
Contributor

I thought that DB autodiscover feature is broken because it returned an empty list of tables for non-empty database:

No tables found

Autodiscovery could not find any existing tables, you can insert the table name here:

I did some debugging, and when I printed $e->getMessage() here,
I got this output:

Connect Error: SQLSTATE[HY000] [2019] Unknown character set

I fixed my issue by changing utf-8 to utf8, but it would be nice if Apigility told me that character set is incorrect without debugging.

Related PR #305

Naktibalda added a commit to Naktibalda/zf-apigility-admin that referenced this issue Sep 21, 2016
Allow all other exceptions to fall throw.
Fixes zfcampus#364
Does not conflict with zfcampus#304
Naktibalda added a commit to Naktibalda/zf-apigility-admin that referenced this issue Sep 21, 2016
Allow all other exceptions to fall throw.
Fixes zfcampus#364
Does not conflict with zfcampus#304
Naktibalda added a commit to Naktibalda/zf-apigility-admin that referenced this issue Sep 22, 2016
Allow all other exceptions to fall throw.
Fixes zfcampus#364
Does not conflict with zfcampus#304
Naktibalda added a commit to Naktibalda/zf-apigility-admin that referenced this issue Sep 23, 2016
Allow all other exceptions to fall throw.
Fixes zfcampus#364
Does not conflict with zfcampus#304
weierophinney added a commit that referenced this issue Oct 11, 2016
# for free to subscribe to this conversation on GitHub. Already have an account? #.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant