Skip to content

Commit

Permalink
Merge Space Templates - Meeds-io/MIPs#150 (#547)
Browse files Browse the repository at this point in the history
  • Loading branch information
boubaker authored Nov 4, 2024
2 parents 8771cfb + 30d8e27 commit bfcf1db
Show file tree
Hide file tree
Showing 5 changed files with 3 additions and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -124,12 +124,6 @@ public static Space getSpace(String id) {
space = spaceService.getSpaceByPrettyName(id);
if (space == null) {
space = spaceService.getSpaceByGroupId("/spaces/" + id);
if (space == null) {
space = spaceService.getSpaceByDisplayName(id);
if (space == null) {
space = spaceService.getSpaceByUrl(id);
}
}
}
}
return space;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
import java.util.Map;
import java.util.concurrent.atomic.AtomicLong;

import org.apache.commons.codec.binary.StringUtils;
import org.apache.commons.lang3.StringUtils;
import org.junit.jupiter.api.BeforeEach;
import org.junit.jupiter.api.Test;
import org.springframework.beans.factory.annotation.Autowired;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
import java.util.ArrayList;
import java.util.List;

import org.apache.commons.codec.binary.StringUtils;
import org.apache.commons.lang3.StringUtils;

import org.exoplatform.commons.utils.ListAccess;
import org.exoplatform.social.core.identity.IdentityProvider;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@
import org.exoplatform.commons.utils.ListAccess;
import org.exoplatform.social.core.application.PortletPreferenceRequiredPlugin;
import org.exoplatform.social.core.identity.model.Identity;
import org.exoplatform.social.core.space.SpaceApplicationConfigPlugin;
import org.exoplatform.social.core.space.SpaceException;
import org.exoplatform.social.core.space.SpaceFilter;
import org.exoplatform.social.core.space.SpaceListAccess;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ export default {
if (this.type === 'user' || this.type === 'organization') {
return `${eXo.env.portal.context}/${eXo.env.portal.portalName}/profile/${this.id}`;
} else {
return `${eXo.env.portal.context}/g/:spaces:${this.id}/`;
return `${eXo.env.portal.context}/s/${this.technicalId}`;
}
}
},
Expand Down

0 comments on commit bfcf1db

Please sign in to comment.