Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Saving an edited script keeps old script as a copy #447

Open
Redsandro opened this issue Aug 11, 2022 · 0 comments
Open

Saving an edited script keeps old script as a copy #447

Redsandro opened this issue Aug 11, 2022 · 0 comments
Labels
bug General label for all bugs (i.e. things not working as intended)

Comments

@Redsandro
Copy link

Describe the bug

When editing and saving a script, the old version remains active until the phone is rebooted. The old version is nowhere to be seen, but it still triggers. This may be the reason for multiple bug reports dating as far back as 2018 when people ask "why is my script triggered so many times".

You can see this in the Activity History when hitting the refresh button on the Outline page.

To Reproduce

  1. Have clean install
  2. Create single script from condition
  3. Hit refresh on the Outline page
  4. Observe there is only one entry on the Activity History page
  5. Clean the Activity History
  6. Edit the script a bunch of times: Toggle volatile/persistence, save, toggle Reoccurring, save, rename, save, toggle things back, save
  7. Hit refresh on the Outline page
  8. Observe there is a whole bunch of entries on the Activity History page
  9. Clean the Activity History
  10. Reboot phone
  11. Hit refresh on the Outline page
  12. Observe there is now one single entry on the Activity History page again.

Expected behavior

Editing and saving a script removes the old script from being triggered

Extra phone info:

  • ROM: LineageOS 19.1 Android 12
  • Easer version: 0.8.2.3
@Redsandro Redsandro added the bug General label for all bugs (i.e. things not working as intended) label Aug 11, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug General label for all bugs (i.e. things not working as intended)
Projects
None yet
Development

No branches or pull requests

1 participant