Skip to content

Sync Error Messaging #143

@korgon

Description

@korgon

When syncing a recommendation template that has invalid properties snapfu is not complaining about the error as expected.

Example template file that should cause an error (but does not):

{
	"type": "snap/recommendation/standard",
	"name": "grid",
	"label": "Grid",
	"description": "A simple, grid layout for recommendations.",
	"component": "Grid",
	"orientation": "horizontal",
	"parameters": [
		{
			"name": "title",
			"label": "Title",
			"description": "Title for recommendations.",
			"defaultValue": "Recommended For You"
		},
		{
			"name": "limit",
			"label": "Limit",
			"description": "Limit the amount of recommendations returned. The maximum amount and default is 20.",
			"defaultValue": ""
		},
		{
			"name": "buttonLabel",
			"label": "Button Label",
			"description": "Label for button below the grid. \"Button Link \" must be set.",
			"defaultValue": "See More"
		},
		{
			"name": "buttonLink",
			"Link": "Button Link",
			"description": "Link for button below the grid. \"Button Label \" must be set.",
			"defaultValue": ""
		}
	]
}

The error is with the "Link" property of the fourth parameter.

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