-
Type:
Bug
-
Status: Closed
-
Resolution: Won't Fix
-
Affects Version/s: 6.1.20 EE GA2, 6.2.10 EE GA1, 7.0.0 M3
-
Fix Version/s: 6.1.2 CE GA3, 6.2.10 EE GA1, 7.0.0 M3
-
Component/s: Asset Framework
-
Labels:
-
Fix Priority:4
-
Git Pull Request:
search portlet creates links to found items. Some of the link goes to the original place of the content, some of the link shows the content in Asset Publisher, especially some web contents where the isPrivateLayout for the article and for the search portlet is different.
(On 6.1.20 Asset Publisher comes up when search portlet and article is not on the same site.
The [optional steps] are for testing this on 6.1.20)
steps to reproduce
set up environment
- create a blank site, named "test".
- Create a private page, named "private" on "test" site
- Create a public page, named "public" on "test" site
- Add a Search portlet to "private" page on "test" site
- Add a web content display to "private" page on "test" site
- Create a web content, title "private xxx", content: "private xxx"
- repeat steps 4-6 to "public" page and use word "public" instead "private"
[optional steps, these for checking different sites. It is working on trunk]
- create a blank site, named "search"
- create a public/private pages on this
- add Search portlet to these pages
test
- use all the search portlets with word "xxx" and click on the links in the found-list.
(or just hover the mouse over the links. If it is a simple link, it will go to other page. If it is a long link full of parameters, it will show content in Asset Publisher)
expected behaviour
The links should go to the original place of the content
experienced behaviour
Some links shows content in Asset Publisher, some goes to the original place
- Asset publisher shows when search is on public page, content is on private page or vice versa
- [NOT ON TRUNK] Asset publisher shows content when content is on different site than the search portlet
root cause
JournalArticleAssetRenderer.getURLViewInContext checks only one of private/public pages, not both and [NOT ON TRUNK] uses layout.getGroupId instead of _article.getGorupId and
- relates
-
LPS-45414 JournalArticleAssetRenderer.getURLViewInContext should find articles everywhere and return a good URL
-
- Open
-