Fórum

Configure Document Library's email notification

Zhenlei Li, modificado 8 Anos atrás.

Configure Document Library's email notification

Junior Member Postagens: 51 Data de Entrada: 13/07/14 Postagens Recentes
I am working on LifeRay CE6.2, using Document Library portlet also.

I want to enable the email notification feature, what I have done as following:
1. Ticked checkbox of and/update document with correct mail configuration.
2. My testing user signed in portal, and then clicked on Subscribe link on document library portlet particular folder.
3. Upload a new document onto that folder, and publish it. and then edit it's description.
4. Check my testing user's mail box. I got one email which noticed me that a document changed, but no email to tell me a new document added.

Who can give me some tips on how to configure the email notification on document library portlet?

Thank you all
Zhenlei Li, modificado 8 Anos atrás.

RE: Configure Document Library's email notification

Junior Member Postagens: 51 Data de Entrada: 13/07/14 Postagens Recentes
Hi List,

Still waiting for your advice on this issue.
After more investigation, I found error log in my liferay portal server which told us that:
17:08:11,722 ERROR [liferay/subscription_sender-1][SubscriptionSender:472] com.liferay.portal.NoSuchRepositoryEntryException: No RepositoryEntry exists with the primary key 42919
com.liferay.portal.NoSuchRepositoryEntryException: No RepositoryEntry exists with the primary key 42919
at com.liferay.portal.service.persistence.RepositoryEntryPersistenceImpl.findByPrimaryKey(RepositoryEntryPersistenceImpl.java:2678)
at com.liferay.portal.service.persistence.RepositoryEntryPersistenceImpl.findByPrimaryKey(RepositoryEntryPersistenceImpl.java:2696)

....
And then I guess this might be related to the existed issue --- https://issues.liferay.com/browse/LPS-42212
The issue log said - liferay team fixed it between liferay 6.2 CE GA2 and GA3.
unfortunately, I am working on 6.2 CE GA2 only.

But I cannot upgrade the whole liferay version onto lastest version, since my application was running as production portal already.

anybody give me some suggestions on applying indovidual fixpack?

Thank you all
thumbnail
Arun Das, modificado 8 Anos atrás.

RE: Configure Document Library's email notification

Regular Member Postagens: 166 Data de Entrada: 23/07/12 Postagens Recentes
Hi,
If you don't want to upgrade, I think the only way is to create ext plugin.
Refer the code from here

Arun
Zhenlei Li, modificado 8 Anos atrás.

RE: Configure Document Library's email notification

Junior Member Postagens: 51 Data de Entrada: 13/07/14 Postagens Recentes
Arun Das:
Hi,
If you don't want to upgrade, I think the only way is to create ext plugin.
Refer the code from here

Arun


Thank you Arun!
I fixed the issue with your suggestion,.
Changed DLAppHelperLocalServiceImpl src, re-compile it and then package it into portal-impl.jar.