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

Notice developer about Schema class not exists #153

Open
Mte90 opened this issue Aug 24, 2022 · 1 comment
Open

Notice developer about Schema class not exists #153

Mte90 opened this issue Aug 24, 2022 · 1 comment
Assignees
Labels
component-query The Query class component-schema The Schema class type-bug A problem in the code
Milestone

Comments

@Mte90
Copy link

Mte90 commented Aug 24, 2022

I lost too many hours to understand that error... basically the query weren't working because the Schema class it wasn't executed.

https://github.com/berlindb/core/blob/master/src/Database/Query.php#L401 on this line if the class doesn't exists there aren't any notice but query without doesn't works.

@Mte90 Mte90 changed the title Notice developer about errors Notice developer about Schema class not exists Aug 24, 2022
@JJJ JJJ self-assigned this Aug 24, 2022
@JJJ JJJ added type-bug A problem in the code component-schema The Schema class component-query The Query class labels Aug 24, 2022
@JJJ JJJ added this to the 3.0.0 milestone Aug 24, 2022
@Mte90
Copy link
Author

Mte90 commented Sep 7, 2022

There are also various things in the Query on update/add that return false without noticing the developer about the error.

I had to dig in the code of BerlinDB to understand that I was using a not-existing column as example.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component-query The Query class component-schema The Schema class type-bug A problem in the code
Projects
None yet
Development

No branches or pull requests

2 participants