Uploaded image for project: 'Sakai'
  1. Sakai
  2. SAK-32318

Forums crashes when logging in as a student

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Verified
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: 12.0
    • Fix Version/s: 12.0
    • Component/s: Forums Tool
    • Labels:
      None
    • Test Plan:
      • Add forums tool to a site
      • Login as a student (maybe not even necessary)
      • Try to open a topic, gives an error (if fixed it wouldn't)

      Description

      When I try to use forums as a student it gives me this error

      10-Mar-2017 11:38:10.242 ERROR [http-apr-18888-exec-9] org.sakaiproject.component.app.messageforums.ui.DiscussionForumManagerImpl.hasNextTopic java.lang.Long cannot be cast to java.lang.Integer
      10-Mar-2017 11:38:10.244 ERROR [http-apr-18888-exec-9] org.sakaiproject.tool.messageforums.DiscussionForumTool.resetTopicById Transaction rolled back because it has been marked as rollback-only
      org.springframework.transaction.UnexpectedRollbackException: Transaction rolled back because it has been marked as rollback-only
      	at org.springframework.transaction.support.AbstractPlatformTransactionManager.commit(AbstractPlatformTransactionManager.java:724)
      	at org.springframework.transaction.interceptor.TransactionAspectSupport.commitTransactionAfterReturning(TransactionAspectSupport.java:504)
      	at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:292)
      	at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:96)
      	at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
      	at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:213)
      	at com.sun.proxy.$Proxy88.hasNextTopic(Unknown Source)
      	at org.sakaiproject.tool.messageforums.DiscussionForumTool.getDecoratedTopic(DiscussionForumTool.java:3233)
      	at org.sakaiproject.tool.messageforums.DiscussionForumTool.resetTopicById(DiscussionForumTool.java:3530)
      	at org.sakaiproject.tool.messageforums.DiscussionForumTool.displayTopicById(DiscussionForumTool.java:3559)
      	at org.sakaiproject.tool.messageforums.DiscussionForumTool.processActionDisplayTopic(DiscussionForumTool.java:2325)
      

      Probably KNL-945 related

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  ern Earle R Nietzel
                  Reporter:
                  jonespm Matthew Jones
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  2 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved:

                    Git Source Code