Skip to content

V9: Inserting partial via template doesn't use await #11220

@bjarnef

Description

@bjarnef

Which exact Umbraco version are you using? For example: 8.13.1 - don't just write v8

9.0.0

Bug summary

When inserting a partial view via template editor in backoffice it just use the following like in v8:

@Html.Partial("Breadcrumb")

It should instead use the recommended approach in .NET5:

@(await Html.PartialAsync("Breadcrumb"))

Specifics

No response

Steps to reproduce

Insert a partial via backoffice template editor and notice it render the partial like in v8, but not async.

Expected result / actual result

No response

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