Skip to content

Widgets parameters #108

@readio

Description

@readio

When creating widgets I get the below error in Magento admin when trying to view the created widget:

Exception #0 (InvalidArgumentException): Unable to unserialize value. Error: Syntax error

This seems to be caused by the way key/values are created. Using the code from the sample widget.yaml it creates the below in the database field 'widget_parameters' :

a:1:{s:8:"block_id";s:1:"1";}

If I manually change this to below the error goes away.

{"block_id":"1"}

Is this a known issue?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions