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 installation on a multilingual install #536

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

mlutfy
Copy link

@mlutfy mlutfy commented Jul 20, 2020

Overview

  • Enable multilingual on CiviCRM (CiviCRM > Admin > Locallzation > Languages; enable multilingual)
  • Enable this civicase extension.

Result: fatal error (DB error)

Technical Details

In multilingual, CiviCRM does automatic renaming of tables names so that queries run on the language-specific SQL views.

The getTableName() function on DAOs will return the localized table name.

This patch is a workaround. An alternative would be to hardcode the SQL table name instead of calling the DAO's getTableName().

@reneolivo
Copy link
Member

Hello @mlutfy, sorry for the slow reply.

I'll bring this issue to our team meeting this Thursday so we can allocate QA time to properly text this fix and see if there are any other related issues.

Thanks for pointing this out.

@reneolivo reneolivo added the bug Something isn't working label Aug 4, 2020
@reneolivo reneolivo self-requested a review August 4, 2020 11:38
@jamienovick
Copy link

@tunbola @james-compucorp just thought I'd flag this as we have a ready patch which looks like it fixes? Best

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants