field enhancer of type "Single nested property" on body fields break POST and PATCH

Created on 17 February 2022, almost 3 years ago
Updated 31 August 2023, about 1 year ago

It seems like when using the field enhancer of type "Single nested property" on body fields I cannot POST and PATCH via JSONAPI.
I am using the enhancer on the body field with path "processed". When using GET the enhancer works nicely giving me:

body:"bla"

instead of

body: {
  value:"bla",
  format":"plain_text",
  processed:"bla",
  summary:null
}

However when I try to POST or PATCH with the field enhancer turned on it doesn't seem to accept the input. I tried posting the body text using both formats. I would think that posting in the "Single nested property" form would not make sense in this case, since the processed field is computed.

🐛 Bug report
Status

Active

Version

3.20

Component

Code

Created by

🇳🇱Netherlands lodewijk.loos

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

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024