Skip to content

There is no PropertyInfo extractor #1085

Closed
@stipic

Description

@stipic

When i made PUT/POST/... request on my entity

page_blocks

i get this error:

"There is no PropertyInfo extractor supporting the class "stdClass"."

"file": "/vendor/api-platform/core/src/Bridge/Symfony/PropertyInfo/Metadata/Property/PropertyInfoPropertyNameCollectionFactory.php",
            "line": 46,

Postman request:

PUT: /api/page_blocks
raw body:

{  
   "page":"/api/pages/2020",
   "type":"image",
   "draggable":true,
   "name":"featured_image",
   "label":"Header Featured Image",
   "description":"",
   "status":0,
   "content":"{\"fields\":{\"title\":{\"value\":\"\"},\"images\":[{\"id\":0,\"categoryId\":0,\"uri\":\"/api/pictures\",\"resource\":\"{}\",\"description\":\"\",\"alt\":\"\",\"type\":\"picture\",\"text\":\"\",\"src\":\"\"}],\"alternativeAudio\":{},\"caption\":\"\"},\"showCaption\":false,\"alternativeContent\":false,\"alternativeAudioContent\":false,\"blockLayout\":\"default\"}",
   "renderOrder":6,
   "groupName":"header",
   "className":"ImageBlockComponent",
   "parentId":0
}

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions