Uploaded image for project: 'PUBLIC - Liferay Portal Community Edition'
  1. PUBLIC - Liferay Portal Community Edition
  2. LPS-60071

Mail portlet does not work with UploadServletRequestFilter

    Details

    • Type: Regression Bug
    • Status: Verified
    • Resolution: Unresolved
    • Affects Version/s: 6.2.10 EE GA1
    • Fix Version/s: None
    • Component/s: Mail
    • Labels:
      None
    • Fix Priority:
      2

      Description

      STEPS TO REPRODUCE
      1.- Apply a portal-63 or a later fixpack to 6.2 EE
      2.- Deploy Mail EE LPKG (available in Marketplace)
      3.- Add a Gmail account
      4.- Click on Compose
      5.- Complete the form
      5.- Click on Send

      EXPECTED
      The mail should be sent

      ACTUAL
      The following exception appears:

      Caused by: com.liferay.mail.NoSuchAccountException: No Account exists with the primary key 0
      	at com.liferay.mail.service.persistence.AccountPersistenceImpl.findByPrimaryKey(AccountPersistenceImpl.java:1206)
      	at com.liferay.mail.service.persistence.AccountPersistenceImpl.findByPrimaryKey(AccountPersistenceImpl.java:1224)
      	at sun.reflect.GeneratedMethodAccessor711.invoke(Unknown Source)
      	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      	at java.lang.reflect.Method.invoke(Method.java:597)
      	at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:320)
      	at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183)
      	at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150)
      	at com.liferay.portal.dao.shard.advice.ShardPersistenceAdvice.invoke(ShardPersistenceAdvice.java:54)
      	at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
      	at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:90)
      	at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
      	at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202)
      	at com.sun.proxy.$Proxy573.findByPrimaryKey(Unknown Source)
      	at com.liferay.mail.service.base.AccountLocalServiceBaseImpl.getAccount(AccountLocalServiceBaseImpl.java:230)
      	at sun.reflect.GeneratedMethodAccessor712.invoke(Unknown Source)
      

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              support-lep@liferay.com SE Support
              Reporter:
              sergio.sanchez Sergio Sanchez
              Participants of an Issue:
              Recent user:
              Brian Wulbern
              Votes:
              1 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Days since last comment:
                4 years, 17 weeks, 4 days ago

                  Packages

                  Version Package