Skip to content

[3.4.0] JSON fields show up empty in Strapi record view #8930

@Ravanger

Description

@Ravanger

Bug report

Describe the bug

When trying to view a JSON field in Strapi record view, it shows up empty.
When querying the API endpoint, the JSON data shows up.

Steps to reproduce the behavior

  1. Start new Strapi quickstart project (or open existing project)
  2. Create a new Content Type with a JSON field
  3. Create new Item in new collection type (or open existing item)
  4. Enter JSON data and save
  5. Refresh page or visit the item again
  6. JSON data disappears

Expected behavior

The JSON data appears in the field

Screenshots

image
image

Code snippets

N/A; used project quick-start

System

  • Node.js version: v12.18.4
  • NPM version: 6.14.6
  • Yarn version: 1.22.5
  • Strapi version: 3.4.0
  • Database: sqlite
  • Operating system: Windows 10

Metadata

Metadata

Assignees

No one assigned

    Labels

    issue: bugIssue reporting a bugseverity: highIf it breaks the basic use of the productsource: core:content-managerSource is core/content-manager packagestatus: confirmedConfirmed by a Strapi Team member or multiple community members

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions