Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Delete Default Portlet instance to External spaces List - MEED-7414 - Meeds-io/MIPs#156 #206

Merged
merged 1 commit into from
Sep 4, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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