[PR #4268] [MERGED] PM-14433: Null domain data #4819

Closed
opened 2025-11-26 23:50:11 -06:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/bitwarden/android/pull/4268
Author: @SaintPatrck
Created: 11/8/2024
Status: Merged
Merged: 11/8/2024
Merged by: @SaintPatrck

Base: mainHead: cherrypick/hotfix-25097cba-to-main


📝 Commits (2)

  • 8dd0cee PM-14433 update flow type to nullable so we can handle gracefully and avoid crash. (#4231)
  • a0434ff PM-14433: Null domain data

📊 Changes

10 files changed (+275 additions, -17 deletions)

View changed files

app/schemas/com.x8bit.bitwarden.data.vault.datasource.disk.database.VaultDatabase/5.json (+256 -0)
📝 app/src/main/java/com/x8bit/bitwarden/data/vault/datasource/disk/VaultDiskSource.kt (+1 -1)
📝 app/src/main/java/com/x8bit/bitwarden/data/vault/datasource/disk/VaultDiskSourceImpl.kt (+3 -3)
📝 app/src/main/java/com/x8bit/bitwarden/data/vault/datasource/disk/dao/DomainsDao.kt (+1 -1)
📝 app/src/main/java/com/x8bit/bitwarden/data/vault/datasource/disk/database/VaultDatabase.kt (+1 -1)
📝 app/src/main/java/com/x8bit/bitwarden/data/vault/datasource/disk/entity/DomainsEntity.kt (+1 -1)
📝 app/src/main/java/com/x8bit/bitwarden/data/vault/datasource/network/model/SyncResponseJson.kt (+1 -1)
📝 app/src/main/java/com/x8bit/bitwarden/data/vault/repository/util/DomainsExtensions.kt (+3 -3)
📝 app/src/test/java/com/x8bit/bitwarden/data/vault/datasource/disk/VaultDiskSourceTest.kt (+6 -3)
📝 app/src/test/java/com/x8bit/bitwarden/data/vault/datasource/disk/dao/FakeDomainsDao.kt (+2 -3)

📄 Description

🎟️ Tracking

https://bitwarden.atlassian.net/browse/PM-14433
Cherry-picked from #4243 (25097cba) on branch release/hotfix-v2024.11.1.

📔 Objective

This PR allows for the domains data to be nullable in the sync response JSON and handles all the downstream affects that change has.

Reminders before review

  • Contributor guidelines followed
  • All formatters and local linters executed and passed
  • Written new unit and / or integration tests where applicable
  • Used internationalization (i18n) for all UI strings
  • CI builds passed
  • Communicated to DevOps any deployment requirements
  • Updated any necessary documentation or informed the documentation team

🦮 Reviewer guidelines

  • 👍 (:+1:) or similar for great changes
  • 📝 (:memo:) or ℹ️ (:information_source:) for notes or general info
  • (:question:) for questions
  • 🤔 (:thinking:) or 💭 (:thought_balloon:) for more open inquiry that's not quite a confirmed
    issue and could potentially benefit from discussion
  • 🎨 (:art:) for suggestions / improvements
  • (:x:) or ⚠️ (:warning:) for more significant problems or concerns needing attention
  • 🌱 (:seedling:) or ♻️ (:recycle:) for future improvements or indications of technical debt
  • ⛏ (:pick:) for minor or nitpick changes

🔄 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/bitwarden/android/pull/4268 **Author:** [@SaintPatrck](https://github.com/SaintPatrck) **Created:** 11/8/2024 **Status:** ✅ Merged **Merged:** 11/8/2024 **Merged by:** [@SaintPatrck](https://github.com/SaintPatrck) **Base:** `main` ← **Head:** `cherrypick/hotfix-25097cba-to-main` --- ### 📝 Commits (2) - [`8dd0cee`](https://github.com/bitwarden/android/commit/8dd0cee156d49116a432d8c75e40f69a5c9508b3) PM-14433 update flow type to nullable so we can handle gracefully and avoid crash. (#4231) - [`a0434ff`](https://github.com/bitwarden/android/commit/a0434ff500717660f1fad7e793c9a9348f7a2ffc) PM-14433: Null domain data ### 📊 Changes **10 files changed** (+275 additions, -17 deletions) <details> <summary>View changed files</summary> ➕ `app/schemas/com.x8bit.bitwarden.data.vault.datasource.disk.database.VaultDatabase/5.json` (+256 -0) 📝 `app/src/main/java/com/x8bit/bitwarden/data/vault/datasource/disk/VaultDiskSource.kt` (+1 -1) 📝 `app/src/main/java/com/x8bit/bitwarden/data/vault/datasource/disk/VaultDiskSourceImpl.kt` (+3 -3) 📝 `app/src/main/java/com/x8bit/bitwarden/data/vault/datasource/disk/dao/DomainsDao.kt` (+1 -1) 📝 `app/src/main/java/com/x8bit/bitwarden/data/vault/datasource/disk/database/VaultDatabase.kt` (+1 -1) 📝 `app/src/main/java/com/x8bit/bitwarden/data/vault/datasource/disk/entity/DomainsEntity.kt` (+1 -1) 📝 `app/src/main/java/com/x8bit/bitwarden/data/vault/datasource/network/model/SyncResponseJson.kt` (+1 -1) 📝 `app/src/main/java/com/x8bit/bitwarden/data/vault/repository/util/DomainsExtensions.kt` (+3 -3) 📝 `app/src/test/java/com/x8bit/bitwarden/data/vault/datasource/disk/VaultDiskSourceTest.kt` (+6 -3) 📝 `app/src/test/java/com/x8bit/bitwarden/data/vault/datasource/disk/dao/FakeDomainsDao.kt` (+2 -3) </details> ### 📄 Description ## 🎟️ Tracking https://bitwarden.atlassian.net/browse/PM-14433 Cherry-picked from #4243 (25097cba) on branch `release/hotfix-v2024.11.1`. ## 📔 Objective This PR allows for the domains data to be nullable in the sync response JSON and handles all the downstream affects that change has. ## ⏰ Reminders before review - Contributor guidelines followed - All formatters and local linters executed and passed - Written new unit and / or integration tests where applicable - Used internationalization (i18n) for all UI strings - CI builds passed - Communicated to DevOps any deployment requirements - Updated any necessary documentation or informed the documentation team ## 🦮 Reviewer guidelines <!-- Suggested interactions but feel free to use (or not) as you desire! --> - 👍 (`:+1:`) or similar for great changes - 📝 (`:memo:`) or ℹ️ (`:information_source:`) for notes or general info - ❓ (`:question:`) for questions - 🤔 (`:thinking:`) or 💭 (`:thought_balloon:`) for more open inquiry that's not quite a confirmed issue and could potentially benefit from discussion - 🎨 (`:art:`) for suggestions / improvements - ❌ (`:x:`) or ⚠️ (`:warning:`) for more significant problems or concerns needing attention - 🌱 (`:seedling:`) or ♻️ (`:recycle:`) for future improvements or indications of technical debt - ⛏ (`:pick:`) for minor or nitpick changes --- <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 2025-11-26 23:50:11 -06:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/android#4819