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

Wrong calculation of permalink in shared folder #331

Closed
jplette opened this issue Jul 24, 2015 · 1 comment
Closed

Wrong calculation of permalink in shared folder #331

jplette opened this issue Jul 24, 2015 · 1 comment

Comments

@jplette
Copy link

jplette commented Jul 24, 2015

org.opencms.staticexport.CmsLinkManager.getPermalink(CmsObject cms, String resourceName, CmsUUID detailContentId)

Line:332
String serverPrefix = OpenCms.getSiteManager().getCurrentSite(cms).getServerPrefix(cms, resourceName);

If a resource is stored in the shared folder (which has no site configured) the serverPrefix "://:0/" is returned. Instead the serverPrefix of the default site (or a configurable site) should be returned in case of shared folder items.

@gWestenberger
Copy link
Contributor

Fixed in release 9.5.3.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants