[PR #4966] [MERGED] Fix Pw History null dates #23071

Closed
opened 2026-05-16 05:45:09 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/dani-garcia/vaultwarden/pull/4966
Author: @BlackDex
Created: 9/18/2024
Status: Merged
Merged: 9/18/2024
Merged by: @dani-garcia

Base: mainHead: fix-pw-history-null-date


📝 Commits (1)

  • bec98a7 Fix Pw History null dates

📊 Changes

1 file changed (+9 additions, -0 deletions)

View changed files

📝 src/db/models/cipher.rs (+9 -0)

📄 Description

It seemed to have been possible to have null date values. This PR fixes this by setting the epoch start date if either the date does not exists or is not a string.

This should solve sync issues with the new native mobile clients.

Fixes https://github.com/dani-garcia/vaultwarden/pull/4932#issuecomment-2357581292


🔄 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/4966 **Author:** [@BlackDex](https://github.com/BlackDex) **Created:** 9/18/2024 **Status:** ✅ Merged **Merged:** 9/18/2024 **Merged by:** [@dani-garcia](https://github.com/dani-garcia) **Base:** `main` ← **Head:** `fix-pw-history-null-date` --- ### 📝 Commits (1) - [`bec98a7`](https://github.com/dani-garcia/vaultwarden/commit/bec98a71f6ae2768d7a41652e1cf57bd9ea54c50) Fix Pw History null dates ### 📊 Changes **1 file changed** (+9 additions, -0 deletions) <details> <summary>View changed files</summary> 📝 `src/db/models/cipher.rs` (+9 -0) </details> ### 📄 Description It seemed to have been possible to have `null` date values. This PR fixes this by setting the epoch start date if either the date does not exists or is not a string. This should solve sync issues with the new native mobile clients. Fixes https://github.com/dani-garcia/vaultwarden/pull/4932#issuecomment-2357581292 --- <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-16 05:45:09 -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#23071