Skip to content

[BUG] setVariable occasionally doesn't set anything (especially when you use 2 shortcuts in turn} ) #554

@royyeh22

Description

@royyeh22

Steps To Reproduce

3 of them are all advanced scripting shortcut (no http request).
Image

  1. read db_fan first
Image
  1. Click on "set 1"
Image
  1. click read db_fan
Image
  1. go global variable to check its value
Image

Expected behavior

correct value read after each update

Actual behavior

value isn't set all the time when setVariable called.

Context

Please complete the following information:

  • App Version 4.5
Image Image Image

The setVariable sometimes does work at his first time, but only in a ratio less than 0.1.
If we click ’set 1’ and ’set 2’ in turn, db_fan would keep showing his initial value for several times, untill one of them occasionally does his job.

Is this because of some cache machanism? (i didn't see this issue on another device)

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugrelease soonIssue was fixed/resolved, changes will be included in next release

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions