Fórum

Images not displayed after migrating to 6.1.10

Nagaraja Chokkavarapu, modificado 11 Anos atrás.

Images not displayed after migrating to 6.1.10

Junior Member Postagens: 39 Data de Entrada: 14/09/09 Postagens Recentes
After migrating from 5.2.3 to 6.1.10, images are not showing on public pages. During migration tomcat copied all the images from DB to data/document_library/ folder.

If I login as Administrator, images are showing up. I have custom portlet, where we upload images. Same issue with these images well. I am DLAppServiceUtil.addFileEntry. Same issue with these images as well. I am sure it is permission issue. Not sure how to fix it.

Thanks,
Nagaraj
thumbnail
Dhandapani S, modificado 11 Anos atrás.

RE: Images not displayed after migrating to 6.1.10 (Resposta)

Regular Member Postagens: 176 Data de Entrada: 24/03/09 Postagens Recentes
Hi Nagaraja,

There is some API class packages are changed in Liferay 6.1. So you have to cross check in your code is there API package error.(like in Import statement ).

Regards
Dhandapani S
Nagaraja Chokkavarapu, modificado 11 Anos atrás.

RE: Images not displayed after migrating to 6.1.10

Junior Member Postagens: 39 Data de Entrada: 14/09/09 Postagens Recentes
Finally figured it out.

It is because of the permissions inherited by the parent folder. Two solutions.
1) Add property permissions.view.dynamic.inheritance=false in portal-ext.properties
OR
2) Change folder permissions. Use list view in "Control Panel" -> "Documents and Media". Click on small triangle icon for your folder to get Actions button. This is not visible in other views.