You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@isis.apache.org by ah...@apache.org on 2022/12/12 13:31:23 UTC
[isis] branch master updated: ISIS-3294: properly creates bookmark for ApplicationFeatureViewModel (fixes NPE)
This is an automated email from the ASF dual-hosted git repository.
ahuber pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/isis.git
The following commit(s) were added to refs/heads/master by this push:
new 9055c3e0d4 ISIS-3294: properly creates bookmark for ApplicationFeatureViewModel (fixes NPE)
9055c3e0d4 is described below
commit 9055c3e0d4c6fa94b8451eb8d3bc9bbb6e61b4df
Author: Andi Huber <ah...@apache.org>
AuthorDate: Mon Dec 12 14:31:17 2022 +0100
ISIS-3294: properly creates bookmark for ApplicationFeatureViewModel
(fixes NPE)
---
.../causeway/applib/services/appfeatui/ApplicationFeatureViewModel.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/api/applib/src/main/java/org/apache/causeway/applib/services/appfeatui/ApplicationFeatureViewModel.java b/api/applib/src/main/java/org/apache/causeway/applib/services/appfeatui/ApplicationFeatureViewModel.java
index ed37d3dd7e..72cd229f2e 100644
--- a/api/applib/src/main/java/org/apache/causeway/applib/services/appfeatui/ApplicationFeatureViewModel.java
+++ b/api/applib/src/main/java/org/apache/causeway/applib/services/appfeatui/ApplicationFeatureViewModel.java
@@ -341,7 +341,7 @@ public abstract class ApplicationFeatureViewModel implements ViewModel {
viewModelClassFor(parentId, featureRepository);
return factory.viewModel(cls,
Bookmark.forLogicalTypeNameAndIdentifier(
- parentId.getLogicalTypeName(),
+ ApplicationFeatureViewModel.LOGICAL_TYPE_NAME,
parentId.asEncodedString()));
}