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

Fix album artist category #330

Merged
merged 1 commit into from
Sep 1, 2018
Merged

Fix album artist category #330

merged 1 commit into from
Sep 1, 2018

Conversation

jpumc
Copy link
Contributor

@jpumc jpumc commented Aug 30, 2018

Was broken at least on NC13 and postgres

Error was:

Doctrine\DBAL\Exception\TableNotFoundException: An exception occurred while executing 'SELECT DISTINCT(AB."artist_id") AS "id", AA."name", LOWER(AA."name") AS "lower" FROM "oc_audioplayer_albums" "AB" JOIN "oc_audioplayer_artists" AA ON AB."artist_id" = AA."id" WHERE AB."user_id" = ? ORDER BY LOWER(AA."name") ASC ' with params ["username"]: SQLSTATE[42P01]: Undefined table: 7 ERROR: missing FROM-clause entry for table "ab" LINE 4: ON AB."artist_id" = AA."id"

I did not test other setups.

Was broken at least on NC13 and postgres

Error was:
```
Doctrine\DBAL\Exception\TableNotFoundException: An exception occurred while executing 'SELECT DISTINCT(AB."artist_id") AS "id", AA."name", LOWER(AA."name") AS "lower" FROM "oc_audioplayer_albums" "AB" JOIN "oc_audioplayer_artists" AA ON AB."artist_id" = AA."id" WHERE AB."user_id" = ? ORDER BY LOWER(AA."name") ASC ' with params ["username"]: SQLSTATE[42P01]: Undefined table: 7 ERROR: missing FROM-clause entry for table "ab" LINE 4: ON AB."artist_id" = AA."id"
```

I did not test other setups.
@Rello Rello added this to the 2.4.0 milestone Aug 31, 2018
@Rello Rello self-assigned this Aug 31, 2018
@Rello Rello merged commit c7319a9 into Rello:master Sep 1, 2018
Rello added a commit that referenced this pull request Sep 1, 2018
Rello added a commit that referenced this pull request Sep 1, 2018
Rello added a commit that referenced this pull request Sep 6, 2018
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.

2 participants