Application state doesn't get fully cleared on config reset #363

Closed
opened 2023-09-27 06:04:34 +03:00 by NaiJi · 1 comment
Collaborator

Expected Behavior

Clearing application config resets its state completely.

Actual Behavior

Clearing application config resets the majority of attributes, but still makes it impossible to re-deploy SelfPrivacy without resetting application process.

Steps to Reproduce

  1. Deploy SelfPrivacy server
  2. Reset application config
  3. Begin fresh installation again
  4. Notice how all steps get skipped real quick
  5. See how it breaks on step "3 of 4"

Context and notes

It is important to keep application open during the whole process. Resetting the process after clearing the config fixes the issue.

I assume some state variables get stashed in RAM and do not get affected upon resetting.

Relevant log output

No response

App Version

0.9.0

Server API Version

2.4.1

Operating System

Linux

### Expected Behavior Clearing application config resets its state completely. ### Actual Behavior Clearing application config resets the majority of attributes, but still makes it impossible to re-deploy SelfPrivacy without resetting application process. ### Steps to Reproduce 1. Deploy SelfPrivacy server 2. Reset application config 3. Begin fresh installation again 4. Notice how all steps get skipped real quick 5. See how it breaks on step "3 of 4" ### Context and notes It is important to keep application open during the whole process. Resetting the process after clearing the config fixes the issue. I assume some state variables get stashed in RAM and do not get affected upon resetting. ### Relevant log output _No response_ ### App Version 0.9.0 ### Server API Version 2.4.1 ### Operating System Linux
NaiJi added the
Bug
Severity
Medium
labels 2023-09-27 06:04:34 +03:00
NaiJi self-assigned this 2023-09-27 06:04:34 +03:00
NaiJi added the
Priority
Low
label 2023-09-27 06:05:04 +03:00
Poster
Collaborator

Can't reproduce anymore

Can't reproduce anymore
NaiJi closed this issue 2023-11-24 12:05:28 +02:00
Sign in to join this conversation.
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: SelfPrivacy/selfprivacy.org.app#363
There is no content yet.