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 2020/05/04 19:12:54 UTC

[isis] branch master updated: ISIS-2319: fixes a regression with Blob/Clob

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 50e1ff3  ISIS-2319: fixes a regression with Blob/Clob
50e1ff3 is described below

commit 50e1ff3880fe894f5f38055c410564522666fb29
Author: Andi Huber <ah...@apache.org>
AuthorDate: Mon May 4 21:12:41 2020 +0200

    ISIS-2319: fixes a regression with Blob/Clob
---
 .../components/scalars/isisapplib/IsisBlobOrClobPanelAbstract.java  | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/viewers/wicket/ui/src/main/java/org/apache/isis/viewer/wicket/ui/components/scalars/isisapplib/IsisBlobOrClobPanelAbstract.java b/viewers/wicket/ui/src/main/java/org/apache/isis/viewer/wicket/ui/components/scalars/isisapplib/IsisBlobOrClobPanelAbstract.java
index 358beb5..b0570b5 100644
--- a/viewers/wicket/ui/src/main/java/org/apache/isis/viewer/wicket/ui/components/scalars/isisapplib/IsisBlobOrClobPanelAbstract.java
+++ b/viewers/wicket/ui/src/main/java/org/apache/isis/viewer/wicket/ui/components/scalars/isisapplib/IsisBlobOrClobPanelAbstract.java
@@ -192,17 +192,17 @@ public abstract class IsisBlobOrClobPanelAbstract<T extends NamedWithMimeType> e
 
     @Override
     protected void onInitializeNotEditable() {
-        updateRegularFormComponents(InputFieldVisibility.VISIBLE, InputFieldEditability.NOT_EDITABLE, null, null);
+        updateRegularFormComponents(InputFieldVisibility.VISIBLE, InputFieldEditability.NOT_EDITABLE, null, Optional.empty());
     }
 
     @Override
     protected void onInitializeReadonly(final String disableReason) {
-        updateRegularFormComponents(InputFieldVisibility.VISIBLE, InputFieldEditability.NOT_EDITABLE, null, null);
+        updateRegularFormComponents(InputFieldVisibility.VISIBLE, InputFieldEditability.NOT_EDITABLE, null, Optional.empty());
     }
 
     @Override
     protected void onInitializeEditable() {
-        updateRegularFormComponents(InputFieldVisibility.VISIBLE, InputFieldEditability.EDITABLE, null, null);
+        updateRegularFormComponents(InputFieldVisibility.VISIBLE, InputFieldEditability.EDITABLE, null, Optional.empty());
     }
 
     private FileUploadField createFileUploadField(String componentId) {