mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-06-12 13:24:25 +00:00
Merge branch 'sf4' of framagit.org:chill-project/Chill-CustomFields into sf4
This commit is contained in:
commit
ecb6006835
@ -68,21 +68,8 @@ class LoadOption extends AbstractFixture implements OrderedFixtureInterface
|
|||||||
echo "Loading Options \n";
|
echo "Loading Options \n";
|
||||||
|
|
||||||
// load companies
|
// load companies
|
||||||
|
$this->loadingCompanies($manager);
|
||||||
/*
|
$this->loadingWords($manager);
|
||||||
* TODO sf4 - disabled to avoid error :
|
|
||||||
*
|
|
||||||
* An exception occurred while executing 'INSERT INTO custom_field_long_choice_options (id, key, text, internal_key, active, parent_id)
|
|
||||||
* VALUES (?, ?, ?, ?, ?, ?)' with params [1153, "company", {"fr":"Grandes Entreprises","nl":"Grotes Bedrijven","en":"Big Companies"}, "", 1, null]:
|
|
||||||
*
|
|
||||||
* SQLSTATE[22P02]: Invalid text representation: 7 ERROR: invalid input syntax for type json
|
|
||||||
* DETAIL: Token "Array" is invalid.
|
|
||||||
* CONTEXT: JSON data, line 1: Array
|
|
||||||
*
|
|
||||||
*/
|
|
||||||
|
|
||||||
//$this->loadingCompanies($manager);
|
|
||||||
//$this->loadingWords($manager);
|
|
||||||
|
|
||||||
$manager->flush();
|
$manager->flush();
|
||||||
|
|
||||||
|
@ -50,7 +50,7 @@ class Option
|
|||||||
* A json representation of text (multilingual)
|
* A json representation of text (multilingual)
|
||||||
*
|
*
|
||||||
* @var array
|
* @var array
|
||||||
* @ORM\Column(type="text")
|
* @ORM\Column(type="json_array")
|
||||||
*/
|
*/
|
||||||
private $text;
|
private $text;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user