Skip to content

[BUG] setTiddlerData triggers a changed tiddler event even if no change #8784

@ittayd

Description

@ittayd

Describe the bug

it calls this.addTiddler which in turn calls this.enqueueTiddlerEvent which causes a refresh even if nothing changed.

this can sometimes cause an infinite loop if data is set during a refresh. In particular it happens for the full-text-search plugin as the count of results is refreshed (of course it is bad to set data as part of a filter evaluation)

Expected behavior

the change event should not trigger

To Reproduce

No response

Screenshots

No response

TiddlyWiki Configuration

5.3.5

Additional context

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