Skip to content

Descriptions on modal products are truncated after 255 characters #725

@lukas-network

Description

@lukas-network

Environment and configuration

  1. Magento 2.4.6-p9
  2. akeneo/module-magento2-connector-community 104.3.18
  3. PHP 8.2

Steps to reproduce

  1. Create different attribute description for product (description) and product model (configurable_description)
  2. In the connector configuration for a configurable product, the mapping configurable_description to description is set
  3. Run bin/magento akeneo_connector:import --code=product

Expected result

  1. Correctly mapped product descriptions

Actual result

  1. Descriptions on modal products are truncated after 255 characters

Debug

When the bin/magento akeneo_connector:import --code=product command is run, the data for products configurable from PIM is saved in the tmp_akeneo_connector_entities_product_model table. In the next steps, this data is processed and saved in the tmp_akeneo_connector_entities_product table.
In the first table, the description field type is text, but in the second table, the description field has the type varchar(255).
This applies to every attribute that is mapped.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions