akeneo-labs / EnhancedConnectorBundle

[DEPRECATED] Provides product reader with more option (choice on completeness, choice on enabled, delta based on last export time).
21 stars 11 forks source link

family export doesnt export label with configured locale #90

Closed morganistic closed 7 years ago

morganistic commented 7 years ago

hello,

when i use these versions: EnhancedConnectorBundle v1.4. + Akeneo PIM Community Edition v1.7.

And i try to make an a csv export to magento2/pimgento with EnhancedConnector

the content of the generated file look like this:

code;label 43;[43] 1;[1] 2;[2]

instead of this

code;label 43;Accessoires 1;Accessoires bureau et voyage 2;Attache Case

it look like any locale is detected then the connector just give the code of the family.

in the export configuration, the Locale label is defined to "fr_FR"

in mysql: table pim_catalog_family_translation

i can see

id foreign_key label locale 1 1 Accessoires en_US 2 1 Accessoires fr_FR 3 1 Accessoires de_DE 4 2 Accessoires bureau et voyage en_US 5 2 Accessoires bureau et voyage fr_FR 6 2 Accessoires bureau et voyage de_DE

So i can see locale associated to correct label in database.

The classic family csv export from Akeneo CSV Connector is well generated and labels are OK.

Please tell me if you need more info in order to reproduce this case.

Édition CE Version 1.7.4 Environnement prod Date d'installation 2017-03-20T15:20:30+01:00 Version du serveur Apache/2.4.7 (Ubuntu) Nombre de canaux 1 Nombre de locales 3 Nombre de produits 115 Nombre d'attributs 124 Nombre de familles 18 Nombre d’utilisateurs 1 Version du système d'exploitation Linux 3.18.48-guest-8-a3e3ebf-x86_64 #2 SMP Fri Feb 24 15:51:59 UTC 2017 x86_64 Version de PHP 5.6.30-7+deb.sury.org~trusty+1 Extensions PHP Core date ereg libxml openssl pcre zlib filter hash Reflection SPL session standard apache2handler mysqlnd PDO xml apcu calendar ctype curl dom mbstring fileinfo ftp gd gettext iconv intl json exif mcrypt mysql mysqli pdo_mysql Phar posix readline shmop SimpleXML soap sockets sysvmsg sysvsem sysvshm tokenizer wddx xmlreader xmlwriter xsl zip mhash apc Zend OPcache Paquets installés
APY\JsFormValidationBundle\APYJsFormValidationBundle Akeneo\Bundle\BatchBundle\AkeneoBatchBundle Akeneo\Bundle\BufferBundle\AkeneoBufferBundle Akeneo\Bundle\ClassificationBundle\AkeneoClassificationBundle Akeneo\Bundle\FileStorageBundle\AkeneoFileStorageBundle Akeneo\Bundle\MeasureBundle\AkeneoMeasureBundle Akeneo\Bundle\StorageUtilsBundle\AkeneoStorageUtilsBundle Doctrine\Bundle\DoctrineBundle\DoctrineBundle Doctrine\Bundle\FixturesBundle\DoctrineFixturesBundle Doctrine\Bundle\MigrationsBundle\DoctrineMigrationsBundle Escape\WSSEAuthenticationBundle\EscapeWSSEAuthenticationBundle FOS\JsRoutingBundle\FOSJsRoutingBundle FOS\OAuthServerBundle\FOSOAuthServerBundle FOS\RestBundle\FOSRestBundle JMS\SerializerBundle\JMSSerializerBundle Knp\Bundle\MenuBundle\KnpMenuBundle Liip\ImagineBundle\LiipImagineBundle Oneup\FlysystemBundle\OneupFlysystemBundle Oro\Bundle\AsseticBundle\OroAsseticBundle Oro\Bundle\ConfigBundle\OroConfigBundle Oro\Bundle\DataGridBundle\OroDataGridBundle Oro\Bundle\FilterBundle\OroFilterBundle Oro\Bundle\NavigationBundle\OroNavigationBundle Oro\Bundle\RequireJSBundle\OroRequireJSBundle Oro\Bundle\SecurityBundle\OroSecurityBundle Oro\Bundle\TranslationBundle\OroTranslationBundle Oro\Bundle\UserBundle\OroUserBundle Pim\Bundle\AnalyticsBundle\PimAnalyticsBundle Pim\Bundle\ApiBundle\PimApiBundle Pim\Bundle\CatalogBundle\PimCatalogBundle Pim\Bundle\CommentBundle\PimCommentBundle Pim\Bundle\ConnectorBundle\PimConnectorBundle Pim\Bundle\DashboardBundle\PimDashboardBundle Pim\Bundle\DataGridBundle\PimDataGridBundle Pim\Bundle\EnhancedConnectorBundle\PimEnhancedConnectorBundle Pim\Bundle\EnrichBundle\PimEnrichBundle Pim\Bundle\FilterBundle\PimFilterBundle Pim\Bundle\ImportExportBundle\PimImportExportBundle Pim\Bundle\InstallerBundle\PimInstallerBundle Pim\Bundle\JsFormValidationBundle\PimJsFormValidationBundle Pim\Bundle\LocalizationBundle\PimLocalizationBundle Pim\Bundle\NavigationBundle\PimNavigationBundle Pim\Bundle\NotificationBundle\PimNotificationBundle Pim\Bundle\PdfGeneratorBundle\PimPdfGeneratorBundle Pim\Bundle\ReferenceDataBundle\PimReferenceDataBundle Pim\Bundle\UIBundle\PimUIBundle Pim\Bundle\UserBundle\PimUserBundle Pim\Bundle\VersioningBundle\PimVersioningBundle Sensio\Bundle\FrameworkExtraBundle\SensioFrameworkExtraBundle Symfony\Bundle\AsseticBundle\AsseticBundle Symfony\Bundle\FrameworkBundle\FrameworkBundle Symfony\Bundle\MonologBundle\MonologBundle Symfony\Bundle\SecurityBundle\SecurityBundle Symfony\Bundle\SwiftmailerBundle\SwiftmailerBundle Symfony\Bundle\TwigBundle\TwigBundle Stockage doctrine/orm Version de MySQL mysqlnd 5.0.11-dev - 20120503 - $Id: 76b08b24596e12d4553bd41fc93cccd5bac2fe7a $

jmleroux commented 7 years ago

hello @morganistic , thanks a lot for raising this issue. We will try to reproduce and get back to you.

Regards, JM