-
Type:
Bug
-
Status: Closed
-
Resolution: No Longer Reproducible
-
Affects Version/s: 7.0.X EE
-
Fix Version/s: 7.0.X EE
-
Component/s: Message Boards, Subscription Manager
-
Labels:None
-
Story Points:1.25
-
Fix Priority:3
Steps to reproduce
- Add the following properties to portal-ext:
message.boards.message.formats.default=html pop.server.notifications.enabled=true pop.server.subdomain= mail.session.mail.smtp.auth=true mail.session.mail.store.protocol=pop3 mail.session.mail.transport.protocol=smtp
- Start up portal and login as Test(User 1)
- Navigate to Account Settings and use a valid email as email address
- Go to Control Panel > Configuration > Server Administration > Mail Tab to configure the gmail seetings
- Navigate to Virtual Instances and edit Mail Domain to be gmail.com
- Add a user (User 2) with a valid email address
- Add MB portlet to page
- Add MB category
- Enter email address (same with the email on Mail Tab) to Message Boards in Site Admin > Options > Configuration > Email From > Address
- Sign out as User 1 and login as User 2
- Subscribe to MB category
- Sign out and login as User 1
- Add new thread to category
- Login to User 2's email
- View email regarding new MB thread
- Reply to email
- Navigate back to portal as Test
- Wait for a moment, refresh page to see the notification count shows
- Go to the MB page, click the category name to view the reply
Expected result: No exception throws
Actual result: NoSuchUserException throws on the console, but it doesn't affect the functionality.
08:08:32,551 ERROR [liferay/scheduler_dispatch-3][MessageListenerImpl:117] Unable to process message: com.sun.mail.pop3. POP3Message@37ab4937 com.liferay.portal.kernel.exception.NoSuchUserException: No User exists with the key {companyId=20116, emailAddress=life ray.qa2@gmail.com} at com.liferay.portal.service.persistence.impl.UserPersistenceImpl.findByC_EA(UserPersistenceImpl.java:4581) at com.liferay.portal.service.impl.UserLocalServiceImpl.getUserByEmailAddress(UserLocalServiceImpl.java:2705) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:497) at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:163) at com.liferay.portal.spring.transaction.DefaultTransactionExecutor.execute(DefaultTransactionExecutor.java:54) at com.liferay.portal.spring.transaction.TransactionInterceptor.invoke(TransactionInterceptor.java:58) at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:137) at com.liferay.portal.spring.aop.ChainableMethodAdvice.invoke(ChainableMethodAdvice.java:56) at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:137) at com.liferay.portal.spring.aop.ServiceBeanAopProxy.invoke(ServiceBeanAopProxy.java:169) at com.sun.proxy.$Proxy84.getUserByEmailAddress(Unknown Source) at com.liferay.message.boards.internal.pop.MessageListenerImpl.accept(MessageListenerImpl.java:111) at com.liferay.portal.pop.notifications.internal.MessageListenerWrapper.accept(MessageListenerWrapper.java:42) at com.liferay.portal.pop.notifications.internal.messaging.POPNotificationsMessageListener.notifyMessageListener s(POPNotificationsMessageListener.java:233) at com.liferay.portal.pop.notifications.internal.messaging.POPNotificationsMessageListener.doReceive(POPNotifica tionsMessageListener.java:136) at com.liferay.portal.kernel.messaging.BaseMessageListener.receive(BaseMessageListener.java:26) at com.liferay.portal.kernel.scheduler.messaging.SchedulerEventMessageListenerWrapper.receive(SchedulerEventMess ageListenerWrapper.java:65) at com.liferay.portal.kernel.messaging.InvokerMessageListener.receive(InvokerMessageListener.java:74) at com.liferay.portal.kernel.messaging.ParallelDestination$1.run(ParallelDestination.java:52) at com.liferay.portal.kernel.concurrent.ThreadPoolExecutor$WorkerTask._runTask(ThreadPoolExecutor.java:756) at com.liferay.portal.kernel.concurrent.ThreadPoolExecutor$WorkerTask.run(ThreadPoolExecutor.java:667) at java.lang.Thread.run(Thread.java:745)