[PR #4685] [MERGED] Fix collections and native app issue #7113

Closed
opened 2026-03-07 21:11:14 -06:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/dani-garcia/vaultwarden/pull/4685
Author: @BlackDex
Created: 6/28/2024
Status: Merged
Merged: 7/3/2024
Merged by: @dani-garcia

Base: mainHead: fix-collections-and-native-app-issue


📝 Commits (1)

  • f033c66 Fix collections and native app issue

📊 Changes

2 files changed (+7 additions, -1 deletions)

View changed files

📝 src/db/models/cipher.rs (+6 -0)
📝 src/db/models/organization.rs (+1 -1)

📄 Description

Collections were not visible in the organization view.
This was because the flexibleCollections was set to true

Found an issue with loading some old created Secure Notes which had {} or {"type":null} as there data value.
This isn't allowed. When detected, replace it with {"type":0}

Fixes #4682
Fixes #4590


🔄 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/4685 **Author:** [@BlackDex](https://github.com/BlackDex) **Created:** 6/28/2024 **Status:** ✅ Merged **Merged:** 7/3/2024 **Merged by:** [@dani-garcia](https://github.com/dani-garcia) **Base:** `main` ← **Head:** `fix-collections-and-native-app-issue` --- ### 📝 Commits (1) - [`f033c66`](https://github.com/dani-garcia/vaultwarden/commit/f033c661cf198dd552c6a7291acd30a9348308f4) Fix collections and native app issue ### 📊 Changes **2 files changed** (+7 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `src/db/models/cipher.rs` (+6 -0) 📝 `src/db/models/organization.rs` (+1 -1) </details> ### 📄 Description Collections were not visible in the organization view. This was because the `flexibleCollections` was set to `true` Found an issue with loading some old created Secure Notes which had `{}` or `{"type":null}` as there `data` value. This isn't allowed. When detected, replace it with `{"type":0}` Fixes #4682 Fixes #4590 --- <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-03-07 21:11:14 -06:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/vaultwarden#7113