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

Add compatibility with TYPO3 8.7 #8

Closed

Conversation

christophlehmann
Copy link

Closes #7

I checked functionality in 7.6 and 8.7 successfully.

@christophlehmann
Copy link
Author

Searching for users does not work. Seems we need to work with constraints in https://github.com/dkd/tc_beuser/pull/8/files#diff-cf9c68596fb59fdebda2347f76b73d11R333

The SQL error is

An exception occurred while executing 'SELECT COUNT(*) FROM be_users WHERE (be_users.pid = 0) AND ((LOWER(username) LIKE LOWER('%madi%')) OR (LOWER(email) LIKE LOWER('%madi%')) OR (LOWER(realName) LIKE LOWER('%madi%'))) AND (be_users.pid= 0 ANDbe_users.deleted = 0 (LOWER(username) LIKE LOWER('%madi%')) OR (LOWER(email) LIKE LOWER('%madi%')) OR (LOWER(realName) LIKE LOWER('%madi%'))) AND (be_users.deleted = 0)': SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '(LOWER(username) LIKE LOWER('%madi%')) OR (LOWER(email) LIKE LOWER('%madi%')' at line 1

The wrong piece is the double ((

@IchHabRecht
Copy link

IchHabRecht commented Feb 20, 2018

Hi @christophlehmann,

The problem is no double bracket, but a missing " AND " between "AND be_users.deleted = 0" and "(LOWER(username) LIKE LOWER('%madi%'))" (3rd-4th line in your error message). Unfortunately (luckily to you) this seems to be a core bug and is not related to the extension nor to your changes.

@IchHabRecht
Copy link

You can verify the core patch at https://review.typo3.org/55840

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.

Feature Request: TYPO3 8.7 Compatibility
2 participants