Normalizer returns wrong structure

Created on 8 February 2023, almost 2 years ago
Updated 9 February 2023, almost 2 years ago

Problem/Motivation

JsonItemNormalizer.php return wrong response that results in inability to import previously exported content using default content deploy module.
drush dcdi command fails with such an error:

It's by wrong structure in content .json files:

Expected structure is:

Steps to reproduce

  1. Instal Default content deploy module
  2. Add JSON (raw) field to a node type
  3. Create a node and fill in this field
  4. Export this node
  5. Try to import it

Proposed resolution

Change structure of normalized data.

πŸ› Bug report
Status

Fixed

Version

1.0

Component

Code

Created by

πŸ‡ΉπŸ‡·Turkey linichalexey

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024