Skip to content

Commit

Permalink
feat: Delete Default Portlet instance to External spaces List - MEED-…
Browse files Browse the repository at this point in the history
  • Loading branch information
boubaker committed Sep 5, 2024
1 parent 397f14e commit fbfd30e
Show file tree
Hide file tree
Showing 46 changed files with 1 addition and 108 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -355,7 +355,7 @@ private void deletePortletInstanceFromStore(long id) throws ObjectNotFoundExcept
}
try {
translationService.deleteTranslationLabels(PortletInstanceTranslationPlugin.OBJECT_TYPE, id);
} catch (ObjectNotFoundException e) {
} catch (Exception e) {
LOG.debug("Error while deleting translation labels of deleted Portlet instance", e);
}
portletInstanceStorage.deletePortletInstance(id);
Expand Down
19 changes: 0 additions & 19 deletions layout-service/src/main/resources/portlet-instances.json
Original file line number Diff line number Diff line change
Expand Up @@ -76,25 +76,6 @@
],
"system":true
},
{
"nameId":"ExternalSpacesList",
"categoryNameId":"tools",
"portletName":"ExternalSpacesList",
"names":{
"en":"layout.portletInstance.ExternalSpacesList.name"
},
"descriptions":{
"en":"layout.portletInstance.ExternalSpacesList.description"
},
"illustrationPath":"war:/../images/portlets/spacesList.webp",
"preferences":[

],
"permissions":[
"*:/platform/users"
],
"system":true
},
{
"nameId":"GettingStarted",
"categoryNameId":"tools",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -203,8 +203,6 @@ layout.portletInstance.SpaceSettingPortlet.name=Settings
layout.portletInstance.SpaceSettingPortlet.description=Settings of the space
layout.portletInstance.Image.name=Image
layout.portletInstance.Image.description=Display an image
layout.portletInstance.ExternalSpacesList.name=Spaces list
layout.portletInstance.ExternalSpacesList.description=Gadget listing spaces of the current user
layout.portletInstance.GettingStarted.name=Getting Started
layout.portletInstance.GettingStarted.description=Gadget suggesting first steps to do
layout.portletInstance.SpaceBannerPortlet.name=Space Banner
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -203,8 +203,6 @@ layout.portletInstance.SpaceSettingPortlet.name=Settings
layout.portletInstance.SpaceSettingPortlet.description=Settings of the space
layout.portletInstance.Image.name=Image
layout.portletInstance.Image.description=Display an image
layout.portletInstance.ExternalSpacesList.name=Spaces list
layout.portletInstance.ExternalSpacesList.description=Gadget listing spaces of the current user
layout.portletInstance.GettingStarted.name=Getting Started
layout.portletInstance.GettingStarted.description=Gadget suggesting first steps to do
layout.portletInstance.SpaceBannerPortlet.name=Space Banner
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -203,8 +203,6 @@ layout.portletInstance.SpaceSettingPortlet.name=Settings
layout.portletInstance.SpaceSettingPortlet.description=Settings of the space
layout.portletInstance.Image.name=Image
layout.portletInstance.Image.description=Display an image
layout.portletInstance.ExternalSpacesList.name=Spaces list
layout.portletInstance.ExternalSpacesList.description=Gadget listing spaces of the current user
layout.portletInstance.GettingStarted.name=Getting Started
layout.portletInstance.GettingStarted.description=Gadget suggesting first steps to do
layout.portletInstance.SpaceBannerPortlet.name=Space Banner
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -203,8 +203,6 @@ layout.portletInstance.SpaceSettingPortlet.name=Settings
layout.portletInstance.SpaceSettingPortlet.description=Settings of the space
layout.portletInstance.Image.name=Image
layout.portletInstance.Image.description=Display an image
layout.portletInstance.ExternalSpacesList.name=Spaces list
layout.portletInstance.ExternalSpacesList.description=Gadget listing spaces of the current user
layout.portletInstance.GettingStarted.name=Getting Started
layout.portletInstance.GettingStarted.description=Gadget suggesting first steps to do
layout.portletInstance.SpaceBannerPortlet.name=Space Banner
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -203,8 +203,6 @@ layout.portletInstance.SpaceSettingPortlet.name=Settings
layout.portletInstance.SpaceSettingPortlet.description=Settings of the space
layout.portletInstance.Image.name=Image
layout.portletInstance.Image.description=Display an image
layout.portletInstance.ExternalSpacesList.name=Spaces list
layout.portletInstance.ExternalSpacesList.description=Gadget listing spaces of the current user
layout.portletInstance.GettingStarted.name=Getting Started
layout.portletInstance.GettingStarted.description=Gadget suggesting first steps to do
layout.portletInstance.SpaceBannerPortlet.name=Space Banner
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -203,8 +203,6 @@ layout.portletInstance.SpaceSettingPortlet.name=Settings
layout.portletInstance.SpaceSettingPortlet.description=Settings of the space
layout.portletInstance.Image.name=Image
layout.portletInstance.Image.description=Display an image
layout.portletInstance.ExternalSpacesList.name=Spaces list
layout.portletInstance.ExternalSpacesList.description=Gadget listing spaces of the current user
layout.portletInstance.GettingStarted.name=Getting Started
layout.portletInstance.GettingStarted.description=Gadget suggesting first steps to do
layout.portletInstance.SpaceBannerPortlet.name=Space Banner
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -203,8 +203,6 @@ layout.portletInstance.SpaceSettingPortlet.name=Settings
layout.portletInstance.SpaceSettingPortlet.description=Settings of the space
layout.portletInstance.Image.name=Image
layout.portletInstance.Image.description=Display an image
layout.portletInstance.ExternalSpacesList.name=Spaces list
layout.portletInstance.ExternalSpacesList.description=Gadget listing spaces of the current user
layout.portletInstance.GettingStarted.name=Getting Started
layout.portletInstance.GettingStarted.description=Gadget suggesting first steps to do
layout.portletInstance.SpaceBannerPortlet.name=Space Banner
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -203,8 +203,6 @@ layout.portletInstance.SpaceSettingPortlet.name=Einstellungen
layout.portletInstance.SpaceSettingPortlet.description=Raumeinstellungen
layout.portletInstance.Image.name=Bild
layout.portletInstance.Image.description=Bild anzeigen
layout.portletInstance.ExternalSpacesList.name=Raum-Liste
layout.portletInstance.ExternalSpacesList.description=Tool - Raumliste des aktuellen Benutzers
layout.portletInstance.GettingStarted.name=Erste Schritte
layout.portletInstance.GettingStarted.description=Tool welches erste Schritte vorschlägt
layout.portletInstance.SpaceBannerPortlet.name=Raumbanner
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -203,8 +203,6 @@ layout.portletInstance.SpaceSettingPortlet.name=Settings
layout.portletInstance.SpaceSettingPortlet.description=Settings of the space
layout.portletInstance.Image.name=Image
layout.portletInstance.Image.description=Display an image
layout.portletInstance.ExternalSpacesList.name=Spaces list
layout.portletInstance.ExternalSpacesList.description=Gadget listing spaces of the current user
layout.portletInstance.GettingStarted.name=Getting Started
layout.portletInstance.GettingStarted.description=Gadget suggesting first steps to do
layout.portletInstance.SpaceBannerPortlet.name=Space Banner
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -203,8 +203,6 @@ layout.portletInstance.SpaceSettingPortlet.name=Settings
layout.portletInstance.SpaceSettingPortlet.description=Settings of the space
layout.portletInstance.Image.name=Image
layout.portletInstance.Image.description=Display an image
layout.portletInstance.ExternalSpacesList.name=Spaces list
layout.portletInstance.ExternalSpacesList.description=Gadget listing spaces of the current user
layout.portletInstance.GettingStarted.name=Getting Started
layout.portletInstance.GettingStarted.description=Gadget suggesting first steps to do
layout.portletInstance.SpaceBannerPortlet.name=Space Banner
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -203,8 +203,6 @@ layout.portletInstance.SpaceSettingPortlet.name=Settings
layout.portletInstance.SpaceSettingPortlet.description=Settings of the space
layout.portletInstance.Image.name=Image
layout.portletInstance.Image.description=Display an image
layout.portletInstance.ExternalSpacesList.name=Spaces list
layout.portletInstance.ExternalSpacesList.description=Gadget listing spaces of the current user
layout.portletInstance.GettingStarted.name=Getting Started
layout.portletInstance.GettingStarted.description=Gadget suggesting first steps to do
layout.portletInstance.SpaceBannerPortlet.name=Space Banner
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -203,8 +203,6 @@ layout.portletInstance.SpaceSettingPortlet.name=Settings
layout.portletInstance.SpaceSettingPortlet.description=Settings of the space
layout.portletInstance.Image.name=Image
layout.portletInstance.Image.description=Display an image
layout.portletInstance.ExternalSpacesList.name=Spaces list
layout.portletInstance.ExternalSpacesList.description=Gadget listing spaces of the current user
layout.portletInstance.GettingStarted.name=Getting Started
layout.portletInstance.GettingStarted.description=Gadget suggesting first steps to do
layout.portletInstance.SpaceBannerPortlet.name=Space Banner
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -203,8 +203,6 @@ layout.portletInstance.SpaceSettingPortlet.name=Settings
layout.portletInstance.SpaceSettingPortlet.description=Settings of the space
layout.portletInstance.Image.name=Image
layout.portletInstance.Image.description=Display an image
layout.portletInstance.ExternalSpacesList.name=Spaces list
layout.portletInstance.ExternalSpacesList.description=Gadget listing spaces of the current user
layout.portletInstance.GettingStarted.name=Getting Started
layout.portletInstance.GettingStarted.description=Gadget suggesting first steps to do
layout.portletInstance.SpaceBannerPortlet.name=Space Banner
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -203,8 +203,6 @@ layout.portletInstance.SpaceSettingPortlet.name=Settings
layout.portletInstance.SpaceSettingPortlet.description=Settings of the space
layout.portletInstance.Image.name=Image
layout.portletInstance.Image.description=Display an image
layout.portletInstance.ExternalSpacesList.name=Spaces list
layout.portletInstance.ExternalSpacesList.description=Gadget listing spaces of the current user
layout.portletInstance.GettingStarted.name=Getting Started
layout.portletInstance.GettingStarted.description=Gadget suggesting first steps to do
layout.portletInstance.SpaceBannerPortlet.name=Space Banner
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -203,8 +203,6 @@ layout.portletInstance.SpaceSettingPortlet.name=Settings
layout.portletInstance.SpaceSettingPortlet.description=Settings of the space
layout.portletInstance.Image.name=Image
layout.portletInstance.Image.description=Display an image
layout.portletInstance.ExternalSpacesList.name=Spaces list
layout.portletInstance.ExternalSpacesList.description=Gadget listing spaces of the current user
layout.portletInstance.GettingStarted.name=Getting Started
layout.portletInstance.GettingStarted.description=Gadget suggesting first steps to do
layout.portletInstance.SpaceBannerPortlet.name=Space Banner
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -203,8 +203,6 @@ layout.portletInstance.SpaceSettingPortlet.name=Paramètres
layout.portletInstance.SpaceSettingPortlet.description=Paramètres de l'espace
layout.portletInstance.Image.name=Image
layout.portletInstance.Image.description=Afficher une image
layout.portletInstance.ExternalSpacesList.name=Liste des espaces
layout.portletInstance.ExternalSpacesList.description=Liste des espaces de l'utilisateur actuel
layout.portletInstance.GettingStarted.name=Premiers Pas
layout.portletInstance.GettingStarted.description=Gadget suggérant les premières étapes à faire
layout.portletInstance.SpaceBannerPortlet.name=Bannière de l'espace
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -203,8 +203,6 @@ layout.portletInstance.SpaceSettingPortlet.name=Settings
layout.portletInstance.SpaceSettingPortlet.description=Settings of the space
layout.portletInstance.Image.name=Image
layout.portletInstance.Image.description=Display an image
layout.portletInstance.ExternalSpacesList.name=Spaces list
layout.portletInstance.ExternalSpacesList.description=Gadget listing spaces of the current user
layout.portletInstance.GettingStarted.name=Getting Started
layout.portletInstance.GettingStarted.description=Gadget suggesting first steps to do
layout.portletInstance.SpaceBannerPortlet.name=Space Banner
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -203,8 +203,6 @@ layout.portletInstance.SpaceSettingPortlet.name=Settings
layout.portletInstance.SpaceSettingPortlet.description=Settings of the space
layout.portletInstance.Image.name=Image
layout.portletInstance.Image.description=Display an image
layout.portletInstance.ExternalSpacesList.name=Spaces list
layout.portletInstance.ExternalSpacesList.description=Gadget listing spaces of the current user
layout.portletInstance.GettingStarted.name=Getting Started
layout.portletInstance.GettingStarted.description=Gadget suggesting first steps to do
layout.portletInstance.SpaceBannerPortlet.name=Space Banner
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -203,8 +203,6 @@ layout.portletInstance.SpaceSettingPortlet.name=Settings
layout.portletInstance.SpaceSettingPortlet.description=Settings of the space
layout.portletInstance.Image.name=Image
layout.portletInstance.Image.description=Display an image
layout.portletInstance.ExternalSpacesList.name=Spaces list
layout.portletInstance.ExternalSpacesList.description=Gadget listing spaces of the current user
layout.portletInstance.GettingStarted.name=Getting Started
layout.portletInstance.GettingStarted.description=Gadget suggesting first steps to do
layout.portletInstance.SpaceBannerPortlet.name=Space Banner
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -203,8 +203,6 @@ layout.portletInstance.SpaceSettingPortlet.name=Settings
layout.portletInstance.SpaceSettingPortlet.description=Settings of the space
layout.portletInstance.Image.name=Image
layout.portletInstance.Image.description=Display an image
layout.portletInstance.ExternalSpacesList.name=Spaces list
layout.portletInstance.ExternalSpacesList.description=Gadget listing spaces of the current user
layout.portletInstance.GettingStarted.name=Getting Started
layout.portletInstance.GettingStarted.description=Gadget suggesting first steps to do
layout.portletInstance.SpaceBannerPortlet.name=Space Banner
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -203,8 +203,6 @@ layout.portletInstance.SpaceSettingPortlet.name=Settings
layout.portletInstance.SpaceSettingPortlet.description=Settings of the space
layout.portletInstance.Image.name=Image
layout.portletInstance.Image.description=Display an image
layout.portletInstance.ExternalSpacesList.name=Spaces list
layout.portletInstance.ExternalSpacesList.description=Gadget listing spaces of the current user
layout.portletInstance.GettingStarted.name=Getting Started
layout.portletInstance.GettingStarted.description=Gadget suggesting first steps to do
layout.portletInstance.SpaceBannerPortlet.name=Space Banner
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -203,8 +203,6 @@ layout.portletInstance.SpaceSettingPortlet.name=Settings
layout.portletInstance.SpaceSettingPortlet.description=Settings of the space
layout.portletInstance.Image.name=Image
layout.portletInstance.Image.description=Display an image
layout.portletInstance.ExternalSpacesList.name=Spaces list
layout.portletInstance.ExternalSpacesList.description=Gadget listing spaces of the current user
layout.portletInstance.GettingStarted.name=Getting Started
layout.portletInstance.GettingStarted.description=Gadget suggesting first steps to do
layout.portletInstance.SpaceBannerPortlet.name=Space Banner
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -203,8 +203,6 @@ layout.portletInstance.SpaceSettingPortlet.name=Settings
layout.portletInstance.SpaceSettingPortlet.description=Settings of the space
layout.portletInstance.Image.name=Image
layout.portletInstance.Image.description=Display an image
layout.portletInstance.ExternalSpacesList.name=Spaces list
layout.portletInstance.ExternalSpacesList.description=Gadget listing spaces of the current user
layout.portletInstance.GettingStarted.name=Getting Started
layout.portletInstance.GettingStarted.description=Gadget suggesting first steps to do
layout.portletInstance.SpaceBannerPortlet.name=Space Banner
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -203,8 +203,6 @@ layout.portletInstance.SpaceSettingPortlet.name=Settings
layout.portletInstance.SpaceSettingPortlet.description=Settings of the space
layout.portletInstance.Image.name=Image
layout.portletInstance.Image.description=Display an image
layout.portletInstance.ExternalSpacesList.name=Spaces list
layout.portletInstance.ExternalSpacesList.description=Gadget listing spaces of the current user
layout.portletInstance.GettingStarted.name=Getting Started
layout.portletInstance.GettingStarted.description=Gadget suggesting first steps to do
layout.portletInstance.SpaceBannerPortlet.name=Space Banner
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -203,8 +203,6 @@ layout.portletInstance.SpaceSettingPortlet.name=Settings
layout.portletInstance.SpaceSettingPortlet.description=Settings of the space
layout.portletInstance.Image.name=Image
layout.portletInstance.Image.description=Display an image
layout.portletInstance.ExternalSpacesList.name=Spaces list
layout.portletInstance.ExternalSpacesList.description=Gadget listing spaces of the current user
layout.portletInstance.GettingStarted.name=Getting Started
layout.portletInstance.GettingStarted.description=Gadget suggesting first steps to do
layout.portletInstance.SpaceBannerPortlet.name=Space Banner
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -203,8 +203,6 @@ layout.portletInstance.SpaceSettingPortlet.name=Settings
layout.portletInstance.SpaceSettingPortlet.description=Settings of the space
layout.portletInstance.Image.name=Image
layout.portletInstance.Image.description=Display an image
layout.portletInstance.ExternalSpacesList.name=Spaces list
layout.portletInstance.ExternalSpacesList.description=Gadget listing spaces of the current user
layout.portletInstance.GettingStarted.name=Getting Started
layout.portletInstance.GettingStarted.description=Gadget suggesting first steps to do
layout.portletInstance.SpaceBannerPortlet.name=Space Banner
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -203,8 +203,6 @@ layout.portletInstance.SpaceSettingPortlet.name=Settings
layout.portletInstance.SpaceSettingPortlet.description=Settings of the space
layout.portletInstance.Image.name=Image
layout.portletInstance.Image.description=Display an image
layout.portletInstance.ExternalSpacesList.name=Spaces list
layout.portletInstance.ExternalSpacesList.description=Gadget listing spaces of the current user
layout.portletInstance.GettingStarted.name=Getting Started
layout.portletInstance.GettingStarted.description=Gadget suggesting first steps to do
layout.portletInstance.SpaceBannerPortlet.name=Space Banner
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -203,8 +203,6 @@ layout.portletInstance.SpaceSettingPortlet.name=Settings
layout.portletInstance.SpaceSettingPortlet.description=Settings of the space
layout.portletInstance.Image.name=Image
layout.portletInstance.Image.description=Display an image
layout.portletInstance.ExternalSpacesList.name=Spaces list
layout.portletInstance.ExternalSpacesList.description=Gadget listing spaces of the current user
layout.portletInstance.GettingStarted.name=Getting Started
layout.portletInstance.GettingStarted.description=Gadget suggesting first steps to do
layout.portletInstance.SpaceBannerPortlet.name=Space Banner
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -203,8 +203,6 @@ layout.portletInstance.SpaceSettingPortlet.name=Settings
layout.portletInstance.SpaceSettingPortlet.description=Settings of the space
layout.portletInstance.Image.name=Image
layout.portletInstance.Image.description=Display an image
layout.portletInstance.ExternalSpacesList.name=Spaces list
layout.portletInstance.ExternalSpacesList.description=Gadget listing spaces of the current user
layout.portletInstance.GettingStarted.name=Getting Started
layout.portletInstance.GettingStarted.description=Gadget suggesting first steps to do
layout.portletInstance.SpaceBannerPortlet.name=Space Banner
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -203,8 +203,6 @@ layout.portletInstance.SpaceSettingPortlet.name=Settings
layout.portletInstance.SpaceSettingPortlet.description=Settings of the space
layout.portletInstance.Image.name=Image
layout.portletInstance.Image.description=Display an image
layout.portletInstance.ExternalSpacesList.name=Spaces list
layout.portletInstance.ExternalSpacesList.description=Gadget listing spaces of the current user
layout.portletInstance.GettingStarted.name=Getting Started
layout.portletInstance.GettingStarted.description=Gadget suggesting first steps to do
layout.portletInstance.SpaceBannerPortlet.name=Space Banner
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -203,8 +203,6 @@ layout.portletInstance.SpaceSettingPortlet.name=Settings
layout.portletInstance.SpaceSettingPortlet.description=Settings of the space
layout.portletInstance.Image.name=Image
layout.portletInstance.Image.description=Display an image
layout.portletInstance.ExternalSpacesList.name=Spaces list
layout.portletInstance.ExternalSpacesList.description=Gadget listing spaces of the current user
layout.portletInstance.GettingStarted.name=Getting Started
layout.portletInstance.GettingStarted.description=Gadget suggesting first steps to do
layout.portletInstance.SpaceBannerPortlet.name=Space Banner
Expand Down
Loading

0 comments on commit fbfd30e

Please sign in to comment.