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
ContactFormRoute.php erwartet slotId, sonst wird es an core.basicInformation.email gesendet.
Und slotId ist irgendwie nicht im /store-api/pwa/page response drin, sowie cms_slot_id, der im Definition auch drin steht.
Id ist laut CmsSlotDefinition ist nicht apiAware.
PS: mit eigene extension habe ich es auch nicht gekriegt.
`class SlotExtension extends EntityExtension
{
public function extendFields(FieldCollection $collection): void
{
$collection->add((new IdField('id', 'id'))->addFlags(new Runtime(), new PrimaryKey(), new Required(), new ApiAware()));
}
public function getDefinitionClass(): string
{
return CmsSlotDefinition::class;
}
}`
gibt ein 500 mit Undefined array key "cms_slot.id", und ohne Requires/Primary flags kriege ich einfach "id": null.
Expected Behavior
slotId oder cms_slot_id steht im pwa/page response drin
Steps To Reproduce
/store-api/pwa/page mit folgende body aufrufen
{
"path": "Service/Kontakt",
"associations": {}
},
Is there an existing issue for this?
Current Behavior
ContactFormRoute.php erwartet
slotId
, sonst wird es ancore.basicInformation.email
gesendet.Und
slotId
ist irgendwie nicht im/store-api/pwa/page
response drin, sowiecms_slot_id
, der im Definition auch drin steht.Id ist laut CmsSlotDefinition ist nicht apiAware.
PS: mit eigene extension habe ich es auch nicht gekriegt.
`class SlotExtension extends EntityExtension
{
public function extendFields(FieldCollection $collection): void
{
$collection->add((new IdField('id', 'id'))->addFlags(new Runtime(), new PrimaryKey(), new Required(), new ApiAware()));
}
}`
gibt ein 500 mit Undefined array key "cms_slot.id", und ohne Requires/Primary flags kriege ich einfach "id": null.
Expected Behavior
slotId oder cms_slot_id steht im pwa/page response drin
Steps To Reproduce
{
"path": "Service/Kontakt",
"associations": {}
},
Erwartet:
Environment
Anything else?
No response
The text was updated successfully, but these errors were encountered: