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

dev/core#2164 Exporting in localized civicrm crashes due to long translations in columns T_Boolean #19957

Closed
wants to merge 34 commits into from

Conversation

bjendres
Copy link
Contributor

Overview

Patch for CORE-2146. Quote from there:

Export tmp tables are created with varchar(16) for T_BOOLEAN types. This may be sufficient for the short-worded language
English but if translated we get longer export values. So this should be 32 or more

Before

Export of all contact data with at least one contact with an email on hold in German l10n crashes with Data too long exception.

After

Export works again.

Technical Details

This is a re-implementation of @wannesderoy's #18920

seamuslee001 and others added 14 commits March 23, 2021 20:17
Fix OSM Javascript to work on Search Kit display
This also moves template assignments to the email function
… contact record

Also removes the possibility to set a user-defined password for WordPress users.
Makes typing a bit stricter, uses preferred strpos function
Part of using the mergeHandler to (slowly) make code more readable.

changes from

self::mergeLocations();

to mergeHandler->mergeLocations()
dev/core#2498 Fix regression on saving dedupe rules
@civibot
Copy link

civibot bot commented Mar 31, 2021

(Standard links)

@civibot civibot bot added the master label Mar 31, 2021
@monishdeb
Copy link
Member

Test failure seems related https://test.civicrm.org/job/CiviCRM-Core-PR/40108/

@bjendres
Copy link
Contributor Author

Yes, thanks @monishdeb. It seems to be more complicated than I thought, and maybe we have to extend all the ID fields to 64 characters as well. I'll adjust the PR

@eileenmcnaughton
Copy link
Contributor

Not quite yet...

CRM_Export_BAO_ExportTest.testExportSpecifyFields with data set #0
CRM_Export_BAO_ExportTest.testGetSQLColumnsAndHeaders with data set #0
CRM_Export_BAO_ExportTest.testGetSQLColumnsAndHeaders with data set #1
CRM_Export_BAO_ExportTest.testGetSQLColumnsAndHeaders with data set #2
CRM_Export_BAO_ExportTest.testGetSQLColumnsAndHeaders with data set #3
CRM_Export_BAO_ExportTest.testGetSQLColumnsAndHeaders with data set #4
CRM_Export_BAO_ExportTest.testGetSQLColumnsAndHeaders with data set #5
CRM_Export_BAO_ExportTest.testGetSQLColumnsAndHeaders with data set #6

(Can you squash them at the end?)

Expose mapping search task to Search Kit
dev/financial#171 - Don't try to money_format html
Donot over-ride total amount incase contribution has more than one line item
dev/core#527 use public title for on behalf profile and confirm/thank you profile in emails
seamuslee001 and others added 5 commits April 1, 2021 09:21
dev/financial#171 - Trigger an error if non-numeric value passed to Money::format()
[REF] [Towards membership api] more consistent handling on amount
[REF] Minor cleanup - strictness & formatting
@eileenmcnaughton
Copy link
Contributor

@bjendres are you able to squash the commits now you have beaten jenkins into submission?

@mlutfy mlutfy changed the title Issue/2164 dev/core#2164 Exporting in localized civicrm crashes due to long translations in columns T_Boolean Apr 2, 2021
@bjendres
Copy link
Contributor Author

bjendres commented Apr 3, 2021

@bjendres are you able to squash the commits now you have beaten jenkins into submission?

looks like I'm not. idk what happened, but nothing good. I'll open a new PR :(

@bjendres
Copy link
Contributor Author

bjendres commented Apr 3, 2021

(messed up and) withdrawn in favour of #19963

@bjendres bjendres closed this Apr 3, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

10 participants