Details
-
Type: Bug
-
Status: Closed
-
Priority: Major
-
Resolution: Fixed
-
Affects Version/s: None
-
Fix Version/s: 4.5.0-b2
-
Component/s: None
-
Labels:None
Description
This issue comes up a lot with WHMCS imports. Some special characters will come from an imported database in a format/encoding that is not recognized by Blesta. When we attempt to store this in the database, exceptions are thrown and the import fails.
In the WHMCS importer we fixed this by applying a decode() method to most every string pulled from the database, which decodes the string and then encodes it for the Blesta database.
Some importation is handles by the parent Migrator class. Either this class should be updated to decode data in a similar way, or the WHMCS migrator should be updated to override the parent functions and do it's own importation and decoding. Testing will need to be done to see if adding such code to the parent class would cause issues with the other migrators.