Foros de discusión

Images not displayed after migrating to 6.1.10

Nagaraja Chokkavarapu, modificado hace 11 años.

Images not displayed after migrating to 6.1.10

Junior Member Mensajes: 39 Fecha de incorporación: 14/09/09 Mensajes recientes
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 hace 11 años.

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

Regular Member Mensajes: 176 Fecha de incorporación: 24/03/09 Mensajes recientes
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 hace 11 años.

RE: Images not displayed after migrating to 6.1.10

Junior Member Mensajes: 39 Fecha de incorporación: 14/09/09 Mensajes recientes
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.