From f55bac16e3adca5d4d83b4d9844fecc638a4a17e Mon Sep 17 00:00:00 2001 From: Sawjan Gurung Date: Mon, 23 Feb 2026 16:23:50 +0545 Subject: [PATCH 1/4] fix: handle op projects whose parent project is unknown (#988) * fix: hanlding undisclosed and non-existing project parent * test: fix vue unit tests * test: add vue unit tests * chore: add changelog entry --------- Signed-off-by: Saw-jan --- CHANGELOG.md | 4 + src/components/tab/SearchInput.vue | 3 +- src/views/CreateWorkPackageModal.vue | 91 ++++++++++--------- tests/jest/components/tab/SearchInput.spec.js | 2 +- .../jest/views/CreateWorkpackageModal.spec.js | 87 ++++++++++++++---- 5 files changed, 123 insertions(+), 64 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index e011997c8..4b6ea02ba 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -13,6 +13,10 @@ and this project adheres to [Semantic Versioning](http://semver.org/). ## [Unreleased] +### Fixed + +- Fix: Handle projects whose parent project is unknown [#985](https://github.com/nextcloud/integration_openproject/pull/985) + ### Added - [BREAKING] Support Nextcloud 33 [#952](https://github.com/nextcloud/integration_openproject/pull/952) diff --git a/src/components/tab/SearchInput.vue b/src/components/tab/SearchInput.vue index e47b38124..74376dca3 100644 --- a/src/components/tab/SearchInput.vue +++ b/src/components/tab/SearchInput.vue @@ -47,9 +47,8 @@ diff --git a/src/views/CreateWorkPackageModal.vue b/src/views/CreateWorkPackageModal.vue index d0a81195b..23c589a2d 100644 --- a/src/views/CreateWorkPackageModal.vue +++ b/src/views/CreateWorkPackageModal.vue @@ -4,7 +4,7 @@ - SPDX-License-Identifier: AGPL-3.0-or-later -->