From 1824c9a7fd1c117fdfa508b3f9e0d565a2d1042d Mon Sep 17 00:00:00 2001 From: "francesco.mangiacrapa" Date: Fri, 1 Mar 2024 12:05:43 +0100 Subject: [PATCH] Fixing Incident [#26678] --- .settings/org.eclipse.wst.common.component | 45 ++++++++++++++----- CHANGELOG.md | 3 +- pom.xml | 2 +- .../user/workspace/client/AppController.java | 3 ++ src/test/.gitignore | 1 + 5 files changed, 41 insertions(+), 13 deletions(-) create mode 100644 src/test/.gitignore diff --git a/.settings/org.eclipse.wst.common.component b/.settings/org.eclipse.wst.common.component index 64e75b9..7e7e355 100644 --- a/.settings/org.eclipse.wst.common.component +++ b/.settings/org.eclipse.wst.common.component @@ -1,5 +1,7 @@ - + + + @@ -68,7 +70,9 @@ - + + + @@ -137,7 +141,9 @@ - + + + @@ -206,7 +212,9 @@ - + + + @@ -275,7 +283,9 @@ - + + + @@ -311,14 +321,21 @@ - + + + - + uses - + + uses + + + + @@ -387,7 +404,9 @@ - + + + @@ -456,7 +475,9 @@ - + + + @@ -525,7 +546,9 @@ - + + + diff --git a/CHANGELOG.md b/CHANGELOG.md index ef31d2a..323b4ab 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,10 +4,11 @@ All notable changes to this project will be documented in this file. This project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). -## [v6.29.1-SNAPSHOT] - 2024-02-20 +## [v6.30.0-SNAPSHOT] - 2024-02-20 - Moved to maven parent 1.2.0 - Equipped with the new Catalogue Publishing Widget [#26825] +- Fixed Incident [#26678] ## [v6.29.0] - 2023-04-04 diff --git a/pom.xml b/pom.xml index f1c8f16..b69bd6d 100644 --- a/pom.xml +++ b/pom.xml @@ -13,7 +13,7 @@ org.gcube.portlets.user workspace war - 6.29.1-SNAPSHOT + 6.30.0-SNAPSHOT gCube Workspace Portlet gCube Workspace Portlet is a web-gui to manage the gCube workspace, a collaborative area where users can exchange and organize information objects (workspace items) according to their specific needs. diff --git a/src/main/java/org/gcube/portlets/user/workspace/client/AppController.java b/src/main/java/org/gcube/portlets/user/workspace/client/AppController.java index 1108a50..95c23b3 100644 --- a/src/main/java/org/gcube/portlets/user/workspace/client/AppController.java +++ b/src/main/java/org/gcube/portlets/user/workspace/client/AppController.java @@ -587,6 +587,9 @@ public class AppController implements SubscriberInterface { new MessageBoxAlert("Error", caught.getMessage(), null); wsPortlet.getGridGroupContainer().unmask(); + + //Reload the tree and select the root. Fixing Incident [#26678] + AppControllerExplorer.getEventBus().fireEvent(new LoadTreeEvent(true)); } diff --git a/src/test/.gitignore b/src/test/.gitignore new file mode 100644 index 0000000..cb6eb2c --- /dev/null +++ b/src/test/.gitignore @@ -0,0 +1 @@ +/resources/