You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
What i am doing wrong here?
The nodes/entities are created but only with title. All other fields are always empty (shown as null ).
(Also: Required fields are not validated if empty)
Test No. 1 for custom entity "fhp_shop_fishing_license_sold" of bundle "fhp_shop"
mutation createOrderline($license: fhp_shop_fishing_license_sold_input_type) {
fhp_shop_fishing_license_sold_save(entity: $license) {
id
title
field_shop_description {
value
format
}
field_shop_firstname
field_shop_lastname
field_shop_mail
}
}
{
"license": {
"title": "Some title",
"field_shop_description": "<p>This is the body text.</p>",
"field_shop_firstname": "Max",
"field_shop_lastname": "Mustermann",
"field_shop_street": "Some Street Name",
"field_shop_housenumber": "123",
"field_shop_zipcode": 12345,
"field_shop_city": "MyCity",
"field_shop_mail": "[email protected]",
"field_shop_birthdate": 222048000,
"field_shop_prize": 54,
"field_shop_license_reference": 17
}
}
------
Result:
{
"data": {
"fhp_shop_fishing_license_sold_save": {
"id": "50",
"title": "Some title",
"field_shop_description": null,
"field_shop_firstname": null,
"field_shop_lastname": null,
"field_shop_mail": null
}
}
}
Test No. 2 for node type "faq"
This node type has no default body-field, but a "field_body" which is configured as formatted multiline.
What i am doing wrong here?
The nodes/entities are created but only with title. All other fields are always empty (shown as null ).
(Also: Required fields are not validated if empty)
Test No. 1 for custom entity "fhp_shop_fishing_license_sold" of bundle "fhp_shop"
Test No. 2 for node type "faq"
This node type has no default body-field, but a "field_body" which is configured as formatted multiline.
The text was updated successfully, but these errors were encountered: