简体   繁体   English

Shopware 6 迁移 - 实体未正确迁移的自定义字段

[英]Shopware 6 migration - custom field with entities not correctly migrated

We are currently migrating a shop from Shopware 5.7.7 to Shopware 6.4.17.2 using these Shopware Plugins:我们目前正在使用这些 Shopware 插件将商店从 Shopware 5.7.7 迁移到 Shopware 6.4.17.2:

Shopware 6 Plugin (v4.2.5): https://store.shopware.com/swag257162657297f/migrations-assistent.html Shopware 6 插件 (v4.2.5): https://store.shopware.com/swag257162657297f/migrations-assistent.html

Shopware 5 Plugin (v1.3.4): https://store.shopware.com/swag226607479310f/migration-connector.html Shopware 5 插件 (v1.3.4): https://store.shopware.com/swag226607479310f/migration-connector.html

We have a problem with custom fields of type Single selection - TEXT .我们遇到了类型为Single selection - TEXT的自定义字段的问题。 In our case with entity type Media - Shopware\Models\Media\Media but we suspect that it occurs with all custom fields with an entity connection.在我们使用实体类型媒体的案例中 - Shopware\Models\Media\Media但我们怀疑它出现在所有具有实体连接的自定义字段中。

During the migration, a custom field of type text is created, with the id of the Shopware 5 entity as value.在迁移过程中,将创建一个文本类型的自定义字段,并将 Shopware 5 实体的 ID 作为值。 These fields are unusable.这些字段不可用。

  • The custom field has no label in the admin.自定义字段在管理员中没有 label。
  • The custom field has no value in the admin.自定义字段在管理员中没有值。
  • The custom field does not allow entity selection with dropdown.自定义字段不允许使用下拉菜单选择实体。
  • The custom field has no link to an entity in Shopware 6.自定义字段没有链接到 Shopware 6 中的实体。
  • In case of an entity of type Media - Shopware\Models\Media\Media no image is imported.如果是媒体类型的实体- Shopware\Models\Media\Media则不会导入任何图像。

Is there or will there be a solution for this?是否有或将会有解决方案?

Yes, you're right, there is currently no migration of attributes of type Single selection - TEXT .是的,您是对的,目前没有迁移Single selection - TEXT类型的属性。 These attributes should be migrated to the Entity select custom field type in SW6, but I couldn't find any ticket with this issue.这些属性应该迁移到 SW6 中的Entity select自定义字段类型,但我找不到任何有此问题的票证。 Feel free to create a ticket for this, that the migration team could implement this.随意为此创建一个票证,迁移团队可以实现它。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM