Skip to content

Commit

Permalink
MIG-64: push logs directly into the console output
Browse files Browse the repository at this point in the history
  • Loading branch information
LaurentPetard committed Dec 1, 2017
1 parent af02c21 commit a810ca0
Show file tree
Hide file tree
Showing 16 changed files with 256 additions and 188 deletions.
1 change: 1 addition & 0 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@
"symfony/filesystem": "3.3.4",
"symfony/workflow": "3.3.4",
"symfony/translation": "3.3.4",
"symfony/monolog-bridge": "~3.4",
"akeneo/api-php-client": "~1.0",
"php-http/guzzle6-adapter": "~1.1"
},
Expand Down
207 changes: 206 additions & 1 deletion composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,11 @@ public function migrate(SourcePim $sourcePim, DestinationPim $destinationPim): v
$this->innerVariationCleaner->cleanInnerVariationTypes($innerVariationTypes, $destinationPim);

if (!empty($invalidInnerVariationTypes)) {
throw new InvalidInnerVariationTypeException();
$this->logger->warning(<<<EOT
Some inner variation types can't be automatically migrated. Related products have not been migrated yet.
Your catalog structure should be rework, according to the catalog modeling introduced in v2.0 (Authorized axes are attributes of type 'Simple select', 'Reference data simple select', 'Metric', 'Boolean' and maximum 5 attributes per variant level)
EOT
);
}
}

Expand Down
Loading

0 comments on commit a810ca0

Please sign in to comment.