diff --git a/.DS_Store b/.DS_Store
new file mode 100644
index 0000000..ae9c92f
Binary files /dev/null and b/.DS_Store differ
diff --git a/.settings/org.eclipse.jdt.core.prefs b/.settings/org.eclipse.jdt.core.prefs
index 4e4a3ad..cac0df4 100644
--- a/.settings/org.eclipse.jdt.core.prefs
+++ b/.settings/org.eclipse.jdt.core.prefs
@@ -3,7 +3,9 @@ org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled
org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.8
org.eclipse.jdt.core.compiler.compliance=1.8
org.eclipse.jdt.core.compiler.problem.assertIdentifier=error
+org.eclipse.jdt.core.compiler.problem.enablePreviewFeatures=disabled
org.eclipse.jdt.core.compiler.problem.enumIdentifier=error
org.eclipse.jdt.core.compiler.problem.forbiddenReference=warning
+org.eclipse.jdt.core.compiler.problem.reportPreviewFeatures=ignore
org.eclipse.jdt.core.compiler.release=disabled
org.eclipse.jdt.core.compiler.source=1.8
diff --git a/.settings/org.eclipse.wst.common.component b/.settings/org.eclipse.wst.common.component
index 88679f4..f2795c5 100644
--- a/.settings/org.eclipse.wst.common.component
+++ b/.settings/org.eclipse.wst.common.component
@@ -1,10 +1,19 @@
+
+
+
+
+
+
+
+
+
diff --git a/CHANGELOG.md b/CHANGELOG.md
new file mode 100644
index 0000000..99b6f5c
--- /dev/null
+++ b/CHANGELOG.md
@@ -0,0 +1,23 @@
+
+# Changelog for invites-common-livrary
+
+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).
+
+## [v1.4.1] - 2021-01-26
+
+- Fix Bug #20552 Workspace widget item counter no longer works
+
+## [v1.3.1] - 2019-10-09
+
+- Updated to new storage hub api
+
+## [v1.3.0] - 2019-03-04
+
+- Updated to new storage hub exception handling<
+
+- Feature #12796 Workspace widget: recent documents has a different behaviour on URL items
+
+## [v1.0.0] - 2018-05-17
+
+First release
diff --git a/FUNDING.md b/FUNDING.md
new file mode 100644
index 0000000..6fa9eac
--- /dev/null
+++ b/FUNDING.md
@@ -0,0 +1,26 @@
+# Acknowledgments
+
+The projects leading to this software have received funding from a series of European Union programmes including:
+
+- the Sixth Framework Programme for Research and Technological Development
+ - [DILIGENT](https://cordis.europa.eu/project/id/004260) (grant no. 004260).
+- the Seventh Framework Programme for research, technological development and demonstration
+ - [D4Science](https://cordis.europa.eu/project/id/212488) (grant no. 212488);
+ - [D4Science-II](https://cordis.europa.eu/project/id/239019) (grant no.239019);
+ - [ENVRI](https://cordis.europa.eu/project/id/283465) (grant no. 283465);
+ - [iMarine](https://cordis.europa.eu/project/id/283644) (grant no. 283644);
+ - [EUBrazilOpenBio](https://cordis.europa.eu/project/id/288754) (grant no. 288754).
+- the H2020 research and innovation programme
+ - [SoBigData](https://cordis.europa.eu/project/id/654024) (grant no. 654024);
+ - [PARTHENOS](https://cordis.europa.eu/project/id/654119) (grant no. 654119);
+ - [EGI-Engage](https://cordis.europa.eu/project/id/654142) (grant no. 654142);
+ - [ENVRI PLUS](https://cordis.europa.eu/project/id/654182) (grant no. 654182);
+ - [BlueBRIDGE](https://cordis.europa.eu/project/id/675680) (grant no. 675680);
+ - [PerformFISH](https://cordis.europa.eu/project/id/727610) (grant no. 727610);
+ - [AGINFRA PLUS](https://cordis.europa.eu/project/id/731001) (grant no. 731001);
+ - [DESIRA](https://cordis.europa.eu/project/id/818194) (grant no. 818194);
+ - [ARIADNEplus](https://cordis.europa.eu/project/id/823914) (grant no. 823914);
+ - [RISIS 2](https://cordis.europa.eu/project/id/824091) (grant no. 824091);
+ - [EOSC-Pillar](https://cordis.europa.eu/project/id/857650) (grant no. 857650);
+ - [Blue Cloud](https://cordis.europa.eu/project/id/862409) (grant no. 862409);
+ - [SoBigData-PlusPlus](https://cordis.europa.eu/project/id/871042) (grant no. 871042);
\ No newline at end of file
diff --git a/distro/changelog.xml b/distro/changelog.xml
deleted file mode 100644
index e7dab38..0000000
--- a/distro/changelog.xml
+++ /dev/null
@@ -1,19 +0,0 @@
-
-
- Updated to new storage hub api
-
-
- Updated to new storage hub exception handling
- Feature #12796 Workspace widget: recent documents has a different behaviour on URL items
-
-
- Added mazimise feature
-
-
- First Release
-
-
diff --git a/distro/descriptor.xml b/distro/descriptor.xml
deleted file mode 100644
index b3f5628..0000000
--- a/distro/descriptor.xml
+++ /dev/null
@@ -1,31 +0,0 @@
-
- servicearchive
-
- tar.gz
-
- /
-
-
- ${distroDirectory}
- /
- true
-
- README
- LICENSE
- changelog.xml
- profile.xml
-
- 755
- true
-
-
-
-
-
- /${artifactId}
-
-
-
\ No newline at end of file
diff --git a/distro/profile.xml b/distro/profile.xml
deleted file mode 100644
index 51c3b6b..0000000
--- a/distro/profile.xml
+++ /dev/null
@@ -1,25 +0,0 @@
-
-
-
- Service
-
- ${description}
- PortletUser
- ${artifactId}
- ${version}
-
-
- ${artifactId}
- ${version}
-
- ${groupId}
- ${artifactId}
- ${version}
-
-
- target/${build.finalName}.war
-
-
-
-
-
diff --git a/pom.xml b/pom.xml
index 0d18e39..2d403b0 100644
--- a/pom.xml
+++ b/pom.xml
@@ -36,7 +36,7 @@
org.gcube.distribution
maven-portal-bom
- 3.6.0
+ 3.6.0-SNAPSHOT
pom
import
diff --git a/src/main/java/org/gcube/portlets/user/wswidget/StorageHubServiceUtil.java b/src/main/java/org/gcube/portlets/user/wswidget/StorageHubServiceUtil.java
index c24f4fb..51b13ee 100644
--- a/src/main/java/org/gcube/portlets/user/wswidget/StorageHubServiceUtil.java
+++ b/src/main/java/org/gcube/portlets/user/wswidget/StorageHubServiceUtil.java
@@ -75,7 +75,7 @@ public class StorageHubServiceUtil {
ItemManagerClient client = AbstractPlugin.item().build();
int toReturn = -1;
try {
- client.childrenCount(itemId, false);
+ toReturn = client.childrenCount(itemId, false);
}
catch (Exception e) {
e.printStackTrace();