Skip to content

15.2 Rollback - Hangs / Crashes browser when highlighting large JSON structure #18518

@InfiniteSpirals

Description

@InfiniteSpirals

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

15.2.1

Bug summary

When attempting to rollback on documents which make extensive use of block list editors, often the browser becomes unresponsive, which I believe is due to the change highlighting running in browser with vast amounts of JSON to compare.

Image

Specifics

We notice that it's very easy to end up with a significant amount of JSON when using an invariant block list editor on a vary by culture doctype, due to the fact all variants are stored in a single property across all cultures.

Steps to reproduce

Create a document with a block list editor and create a vast amount of content within that block list editor, then attempt to rollback.

Expected result / actual result

Ideally, it would function in a timely manner. However, given the size of text, not sure if this is possible. Possibly the highlighting could be disabled as an option, or the comparisons could be rendered async on the server, scoping language variants to only the selected language for rollback.

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