[PR #1779] [MERGED] Avoid Error parsing LastKnownRevisionDate warning for mobile clients #6646

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

📋 Pull Request Information

Original PR: https://github.com/dani-garcia/vaultwarden/pull/1779
Author: @jjlin
Created: 6/20/2021
Status: Merged
Merged: 6/20/2021
Merged by: @BlackDex

Base: mainHead: last-known-rev-warning


📝 Commits (1)

  • 49579e4 Avoid Error parsing LastKnownRevisionDate warning for mobile clients

📊 Changes

1 file changed (+7 additions, -1 deletions)

View changed files

📝 src/api/core/ciphers.rs (+7 -1)

📄 Description

When creating a new cipher, the mobile clients seem to set this field to an
invalid value, which causes a warning to be logged:

Error parsing LastKnownRevisionDate '0001-01-01T00:00:00': premature end of input

Avoid this by dropping the LastKnownRevisionDate field on cipher creation.


🔄 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/1779 **Author:** [@jjlin](https://github.com/jjlin) **Created:** 6/20/2021 **Status:** ✅ Merged **Merged:** 6/20/2021 **Merged by:** [@BlackDex](https://github.com/BlackDex) **Base:** `main` ← **Head:** `last-known-rev-warning` --- ### 📝 Commits (1) - [`49579e4`](https://github.com/dani-garcia/vaultwarden/commit/49579e4ce77fb5cd5a5fa8b8dc8844a0f2f3abc0) Avoid `Error parsing LastKnownRevisionDate` warning for mobile clients ### 📊 Changes **1 file changed** (+7 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `src/api/core/ciphers.rs` (+7 -1) </details> ### 📄 Description When creating a new cipher, the mobile clients seem to set this field to an invalid value, which causes a warning to be logged: Error parsing LastKnownRevisionDate '0001-01-01T00:00:00': premature end of input Avoid this by dropping the `LastKnownRevisionDate` field on cipher creation. --- <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:02:22 -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#6646