PhilippC / PhilippC/keepass2android

[BUG] OneDrive Child Database

Open
#2,861 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug
Dominant language
C#
Stars
6.2k
Forks
478
Avg merge
1h 4m
Merged PRs (30d)
2

Description

Checks
  • I have read the FAQ section, searched the open issues, and still think this is a new bug.
Describe the bug you encountered:

With the migration to OneDrive2 API, existing databases with child in OneDrive is causing deprecated API errors when opening in a brand new session (except for the very first open).

The workaround is to remove the child entry from the AutoOpen group and recreate it using the Database Child settings. Beware that I experienced blank white OneDrive screen repeatedly after authentication while doing so, during the selection of new child database.

K2A should not stop the parent DB from opening cleanly. The child open error should be handled more gracefully.

Describe what you expected to happen:

Outlined in description

What version of Keepass2Android are you using?

1.12r5

Which version of Android are you on?

14

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Reproduce the issue on Android 14 with Keepass2Android 1.12r5 using an existing OneDrive parent database with a child database, comparing the first open with a new session. Trace the OneDrive2 child-database opening path and verify that the parent opens cleanly while a child-open failure is handled gracefully without deprecated API errors or a blank selection screen.

Written by the indexing model from the issue text.

Assessment

Tech stack
android, csharp
Domain
cloud, mobile
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.