Skip to content

Umbraco Forms 17.0.0-rc1 prevalue Source failing #1488

@shearer3000

Description

@shearer3000

Which Umbraco Forms version are you using? (Please write the exact version, example: 13.4.0)

17.0.0-rc1

Which Umbraco version are you using? (Please write the exact version, example: 13.5.2)

17.0.0-rc1

Issue summary

After upgrading Umbraco Forms 13.x to 17.0.0-rc1 it seems that a preexisting definition for a prevalue Source (where the source type is "Umbraco Documents" is failing to load.

I get the same error when trying to create a brand new prevalue Source also.

Specifics

Inspecting the "umbraco/forms/management/api/v1/prevalue-source" request in devtools shows the following response message:

{
    "type": "Error",
    "title": "Settings validation failed.",
    "status": 400,
    "detail": "\u0027Root node\u0027 setting has not been set and is required unless \u0060Use current page as root\u0027 is selected."
}

This results in the following .net runtime exception:

CLR/System.Text.Json.JsonException
An exception of type 'System.Text.Json.JsonException' occurred in 
System.Private.CoreLib.dll but was not handled in user code: 
''$' is an invalid start of a value. Path: $ | LineNumber: 0 | BytePositionInLine: 0.'

Steps to reproduce

Try to load preexisting Prevalue, or create a new Prevalue (of type 'Umbraco Documents')

Expected result / actual result

Existing Prevalue definition carried over from UF 13.x loads successfully, and/or able to create new definition.


This item has been added to our backlog AB#61886

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