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

[BUGFIX] Use QueryBilder instances only once #121

Merged

Conversation

koehnlein
Copy link
Contributor

There seems to be a problem with doctrine's unique alias checker, when QueryBuilder instances are used multiple times.

The following error occured, when fetching client or extension data:

The given alias 'tx_t3monitoring_domain_model_extension' is not unique in FROM and JOIN clause table. The currently registered aliases are: tx_t3monitoring_client_extension_mm, tx_t3monitoring_domain_model_extension.

bildschirmfoto 2018-04-30 um 15 34 01

I could solve the problem by creating new QueryBuilder instances inside the foreach loop.

@koehnlein
Copy link
Contributor Author

Sorry, I missed something and had to fix it. So there's a second commit now. Feel free to squash them before you merge this pull request.

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

Successfully merging this pull request may close these issues.

None yet

2 participants