[PR #7048] [MERGED] Fix empty string FolderId #26082

Closed
opened 2026-05-29 05:04:28 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/dani-garcia/vaultwarden/pull/7048
Author: @BlackDex
Created: 4/1/2026
Status: Merged
Merged: 4/1/2026
Merged by: @dani-garcia

Base: mainHead: fix-empty-string-folder


📝 Commits (1)

  • 390a073 Fix empty string FolderId

📊 Changes

4 files changed (+23 additions, -2 deletions)

View changed files

📝 src/api/core/accounts.rs (+2 -1)
📝 src/api/core/ciphers.rs (+4 -1)
📝 src/api/core/folders.rs (+2 -0)
📝 src/util.rs (+15 -0)

📄 Description

In newer versions of Bitwarden Clients instead of using null the folder_id will be an empty string. This commit adds a special deserialize_with function to keep the same way of working code-wise.

Fixes #6962


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/dani-garcia/vaultwarden/pull/7048 **Author:** [@BlackDex](https://github.com/BlackDex) **Created:** 4/1/2026 **Status:** ✅ Merged **Merged:** 4/1/2026 **Merged by:** [@dani-garcia](https://github.com/dani-garcia) **Base:** `main` ← **Head:** `fix-empty-string-folder` --- ### 📝 Commits (1) - [`390a073`](https://github.com/dani-garcia/vaultwarden/commit/390a0732be9d1729eaed18b0d81cd02f8943d855) Fix empty string FolderId ### 📊 Changes **4 files changed** (+23 additions, -2 deletions) <details> <summary>View changed files</summary> 📝 `src/api/core/accounts.rs` (+2 -1) 📝 `src/api/core/ciphers.rs` (+4 -1) 📝 `src/api/core/folders.rs` (+2 -0) 📝 `src/util.rs` (+15 -0) </details> ### 📄 Description In newer versions of Bitwarden Clients instead of using `null` the folder_id will be an empty string. This commit adds a special deserialize_with function to keep the same way of working code-wise. Fixes #6962 --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
GiteaMirror added the pull-request label 2026-05-29 05:04:28 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/vaultwarden#26082