[PR #4730] [MERGED] Fix bug where secureNotes is empty #21683

Closed
opened 2026-04-30 08:06:50 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/dani-garcia/vaultwarden/pull/4730
Author: @cobyge
Created: 7/10/2024
Status: Merged
Merged: 7/10/2024
Merged by: @BlackDex

Base: mainHead: bugfix/empty_notes


📝 Commits (1)

  • d859973 Fix bug where secureNotes is empty

📊 Changes

1 file changed (+4 additions, -2 deletions)

View changed files

📝 src/db/models/cipher.rs (+4 -2)

📄 Description

Fixes #4719
Fixes bug where the value of my notes is an empty string, and thus doesn't pass the check for an empty array.
This adds empty strings to the if condition. Tested with the mobile app and this fixes my issue


🔄 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/4730 **Author:** [@cobyge](https://github.com/cobyge) **Created:** 7/10/2024 **Status:** ✅ Merged **Merged:** 7/10/2024 **Merged by:** [@BlackDex](https://github.com/BlackDex) **Base:** `main` ← **Head:** `bugfix/empty_notes` --- ### 📝 Commits (1) - [`d859973`](https://github.com/dani-garcia/vaultwarden/commit/d8599736553a59bec3e9ce3404d2cb6703ec0b26) Fix bug where secureNotes is empty ### 📊 Changes **1 file changed** (+4 additions, -2 deletions) <details> <summary>View changed files</summary> 📝 `src/db/models/cipher.rs` (+4 -2) </details> ### 📄 Description Fixes #4719 Fixes bug where the value of my notes is an empty string, and thus doesn't pass the check for an empty array. This adds empty strings to the if condition. Tested with the mobile app and this fixes my issue --- <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-04-30 08:06:50 -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#21683