App allows to back up disabled services #433

Closed
opened 2024-01-22 03:39:38 +02:00 by inex · 2 comments

Expected Behavior

When you create a manual backup and select the services to backup, app should only suggest you enabled services.

Actual Behavior

App suggest all services, regardless of their state. This leads to failed backup attempts, as there is no data to backup.

Steps to Reproduce

  1. Have a server installed with backups repository initialized
  2. During the server's lifespan, never enable some service
  3. It is possible to back up the said service
  4. You get a failed backup job.

Context and notes

Reported by @k.zholnay

Relevant log output

No response

App Version

0.10.0

Server API Version

No response

Operating System

Android

### Expected Behavior When you create a manual backup and select the services to backup, app should only suggest you enabled services. ### Actual Behavior App suggest all services, regardless of their state. This leads to failed backup attempts, as there is no data to backup. ### Steps to Reproduce 1. Have a server installed with backups repository initialized 2. During the server's lifespan, never enable some service 3. It is possible to back up the said service 4. You get a failed backup job. ### Context and notes Reported by @k.zholnay ### Relevant log output _No response_ ### App Version 0.10.0 ### Server API Version _No response_ ### Operating System Android
inex added the
Bug
Source
Stakeholders
labels 2024-01-22 03:39:45 +02:00
Collaborator

but why should we forbid it? we could just mark them as off, but still allow backup. it's much more flexible that way

but why should we forbid it? we could just mark them as off, but still allow backup. it's much more flexible that way
Poster
Owner

There is no data to back up when service was never enabled, and so this backup returns the error.

There is no data to back up when service was never enabled, and so this backup returns the error.
NaiJi self-assigned this 2024-03-04 13:11:09 +02:00
NaiJi closed this issue 2024-04-17 18:48:58 +03:00
Sign in to join this conversation.
No Milestone
No project
No Assignees
2 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#433
There is no content yet.