updated pom at 2.2.0-SNAPSHOT

This commit is contained in:
Francesco Mangiacrapa 2021-03-25 17:58:37 +01:00
parent a2566c4143
commit b476e2af6a
3 changed files with 8 additions and 5 deletions

View File

@ -4,12 +4,15 @@
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).
## [v2.1.3-SNAPSHOT] - 2021-03-19
## [v2.2.0-NAPSHOT] - 2021-03-19
### Bug fixes
[#20991] Conflict with Bootstrap Modal fixed
Added a new behavior by selecting an input folder and
being able to navigate from the Workspace Root
## [v2.1.2] - 2019-12-19

View File

@ -10,7 +10,7 @@
<modelVersion>4.0.0</modelVersion>
<groupId>org.gcube.portlets.widgets</groupId>
<artifactId>workspace-explorer</artifactId>
<version>2.1.3-SNAPSHOT</version>
<version>2.2.0-SNAPSHOT</version>
<name>gCube Workspace Explorer</name>
<description>
gCube Workspace Explorer widget allows to navigate (gCube) Workspace

View File

@ -353,7 +353,7 @@ public class WorkspaceResourcesEnhancedExplorerPanel extends DockPanel implement
if(item.isFolder()){
try {
wsExplorer.loadFolder(item, true, ITEM_START_INDEX, ITEMS_PER_PAGE, true);
loadParentBreadcrumbByItemId(item.getId(), true);
loadParentBreadcrumbByItemId(item.getId(), true, null);
clearMoreInfo();
} catch (Exception e) {
GWT.log(e.getMessage());
@ -381,11 +381,11 @@ public class WorkspaceResourcesEnhancedExplorerPanel extends DockPanel implement
* @param itemIdentifier the item identifier
* @param includeItemAsParent the include item as parent
*/
protected void loadParentBreadcrumbByItemId(final String itemIdentifier, boolean includeItemAsParent){
protected void loadParentBreadcrumbByItemId(final String itemIdentifier, boolean includeItemAsParent, String parentLimit){
GWT.log("Reload Parent Breadcrumb: [Item id: "+itemIdentifier+"]");
WorkspaceExplorerConstants.workspaceNavigatorService.getBreadcrumbsByItemIdentifierToParentLimit(itemIdentifier, folderId, includeItemAsParent, new AsyncCallback<List<Item>>() {
WorkspaceExplorerConstants.workspaceNavigatorService.getBreadcrumbsByItemIdentifierToParentLimit(itemIdentifier, parentLimit, includeItemAsParent, new AsyncCallback<List<Item>>() {
@Override
public void onFailure(Throwable caught) {