Skip to content

[Bug]: A query that is set to fire "On App Load" does not fire in a module when refereshed #1852

Open
@ScottKemp

Description

@ScottKemp

TestModuleOnAppLoad.json

Is there an existing issue for this?

  • I have searched the existing issues

Current Behavior

I attached the broken module.

A JS query in a module is set to run "On App Load". I have a "toast" to tell me when the query runs. If I run the query manually, it shows the toast. If I refresh the browser (and presumably trigger an App Load event), the query doesn't run and the toast doesn't show.

If I change it to "On App Load plus Timeout" and make the timeout 1s, it functions properly on a browser refresh.

Image

Expected Behavior

JS Query should run with the module loads

Steps to reproduce

Create a query (See Screen Shot)
Refresh browser. Query will not run.

Environment

Self Hosted 2.7.2

Additional Information

No response

Metadata

Metadata

Labels

Javascript FrontendPull requests that update Javascript code

Type

Projects

Status

🆕 New

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions