Skip to content
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

Error handling of PDO driver broken #170

Open
Hackwar opened this issue Jul 1, 2019 · 0 comments
Open

Error handling of PDO driver broken #170

Hackwar opened this issue Jul 1, 2019 · 0 comments

Comments

@Hackwar
Copy link
Contributor

Hackwar commented Jul 1, 2019

Steps to reproduce the issue

  1. Edit your postgres install SQL and set the sequence ID of the assets table to something lower than the already used keys.
  2. Install Joomla with Postgres (PDO)
  3. Create a menu and save it.

Expected result

An error screen maybe with a stack trace and an error message that gives any hint what went wrong.

Actual result

You get a white screen with the text Recursion trying to check if connected.

System information (as much as possible)

Checkout from 4.0-dev

Additional comments

The issue seems to be with Joomla\Database\Pdo\PdoDriver::connected(). That method should check if the connection is alive and for that runs a query, which in turn calls execute(), which again calls connected() which then runs into the recursion condition.

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

No branches or pull requests

1 participant