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

Can't add comment to Wiki page made by different Author

    Details

      Description

      Steps to reproduce:

      1. Add a wikipage while logged in as one user account
      2. Logout and login with a different user account with proper permissions for the wiki
      3. Navigate to the created wiki page. Console error will generate, and comments will not display.

      Expected result: comments box displays any existing comments, and options to display new comment.
      Actual Result: Error in console, comments box displays but is empty and cannot leave or view comments.

      22:45:00,166 ERROR [http-bio-8080-exec-7][IncludeTag:129] Current URL /web/wiki-test-site/wiki-test-page/-/wiki/Main/Shure?_36_redirect=http%3A%2F%2F172.16.20.37%3A8080%2Fweb%2Fwiki-test-site%2Fwiki-test-page%2F-%2Fwiki%2FMain%2Fall_pages&p_p_isolated=1 generates exception: javax.servlet.ServletException: com.liferay.portlet.wiki.NoSuchPageException: No WikiPage exists with the primary key 10606
      com.liferay.portlet.wiki.NoSuchPageException: No WikiPage exists with the primary key 10606
              at com.liferay.portlet.wiki.service.persistence.impl.WikiPagePersistenceImpl.findByPrimaryKey(WikiPagePersistenceImpl.java:22117)
              at com.liferay.portlet.wiki.service.persistence.impl.WikiPagePersistenceImpl.findByPrimaryKey(WikiPagePersistenceImpl.java:22133)
              at com.liferay.portlet.wiki.service.impl.WikiPageLocalServiceImpl.getPageByPageId(WikiPageLocalServiceImpl.java:1201)
              at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:149)
              at com.liferay.portal.spring.transaction.DefaultTransactionExecutor.execute(DefaultTransactionExecutor.java:53)
              at com.liferay.portal.spring.transaction.TransactionInterceptor.invoke(TransactionInterceptor.java:55)
              at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:123)
              at com.liferay.portal.spring.aop.ChainableMethodAdvice.invoke(ChainableMethodAdvice.java:56)
              at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:123)
              at com.liferay.portal.spring.aop.ChainableMethodAdvice.invoke(ChainableMethodAdvice.java:56)
              at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:123)
              at com.liferay.portal.spring.aop.ChainableMethodAdvice.invoke(ChainableMethodAdvice.java:56)
              at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:123)
              at com.liferay.portal.spring.aop.ChainableMethodAdvice.invoke(ChainableMethodAdvice.java:56)
              at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:123)
              at com.liferay.portal.spring.aop.ChainableMethodAdvice.invoke(ChainableMethodAdvice.java:56)
              at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:123)
              at com.liferay.portal.spring.aop.ChainableMethodAdvice.invoke(ChainableMethodAdvice.java:56)
              at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:123)
              at com.liferay.portal.spring.aop.ChainableMethodAdvice.invoke(ChainableMethodAdvice.java:56)
      

      Environment Found:
      Tomcat 7.0.42 + MySQL5.5.21 + Windows7 (64-bit) + Chrome 37 & Firefox 22

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                simon.park Simon Park (Inactive)
                Reporter:
                simon.park Simon Park (Inactive)
                Participants of an Issue:
                Recent user:
                Esther Sanz
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Days since last comment:
                  5 years, 9 weeks, 1 day ago

                  Packages

                  Version Package
                  7.0.0 M2