Uploaded image for project: 'OpenOLAT'
  1. OpenOLAT
  2. OO-820

RS in outbox

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 9.0.4
    • Fix Version/s: 9.0.6
    • Component/s: Mail, Mailbox
    • Labels:
      None

      Description

      The recipients are not fetched in the outbox which can cause red screens. An example is an outbox with paging, click on the second page generate a RS, make a link to a sender mail, logout and use the link, you can see the message but the click on the back button create a RS...

      User-Agent: Mozilla/5.0 (Windows NT 6.2; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/30.0.1599.69 Safari/537.36
      Log msg: *RedScreen* exception while rendering component 'table' (org.olat.core.gui.components.table.Table) listener:[org.olat.core.gui.components.table.TableController [cListener:org.olat.core.util.mail.ui.MailListController, ]]
      Message of exception: failed to lazily initialize a collection of role: org.olat.core.util.mail.model.DBMailLightImpl.recipients, could not initialize proxy - no Session :::: ::::
      Cause:
      stack of 1.cause::org.olat.core.logging.OLATRuntimeException: exception while rendering component 'table' (org.olat.core.gui.components.table.Table) listener:[org.olat.core.gui.components.table.TableController [cListener:org.olat.core.util.mail.ui.MailListController, ]]
      Message of exception: failed to lazily initialize a collection of role: org.olat.core.util.mail.model.DBMailLightImpl.recipients, could not initialize proxy - no Session
      -> at org.olat.core.gui.components.Window.dispatchRequest(Window.java:748)
      at org.olat.core.gui.components.Window.doDispatchRequest(Window.java:238)
      at org.olat.core.gui.components.Component.dispatchRequest(Component.java:192)
      at org.olat.dispatcher.AuthenticatedDispatcher.execute(AuthenticatedDispatcher.java:227)
      at org.olat.core.dispatcher.DispatcherAction.execute(DispatcherAction.java:154)
      at org.olat.core.servlets.OLATServlet.doPost(OLATServlet.java:155)
      at org.olat.core.servlets.OLATServlet.doGet(OLATServlet.java:128)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:621)
      at org.olat.core.servlets.OLATServlet.service(OLATServlet.java:112)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:728)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)
      stack of 2.cause::org.hibernate.LazyInitializationException: failed to lazily initialize a collection of role: org.olat.core.util.mail.model.DBMailLightImpl.recipients, could not initialize proxy - no Session
      -> at org.hibernate.collection.internal.AbstractPersistentCollection.throwLazyInitializationException(AbstractPersistentCollection.java:566)
      at org.hibernate.collection.internal.AbstractPersistentCollection.withTemporarySessionIfNeeded(AbstractPersistentCollection.java:186)
      at org.hibernate.collection.internal.AbstractPersistentCollection.initialize(AbstractPersistentCollection.java:545)
      at org.hibernate.collection.internal.AbstractPersistentCollection.read(AbstractPersistentCollection.java:124)
      at org.hibernate.collection.internal.PersistentList.iterator(PersistentList.java:138)
      at org.olat.core.util.mail.ui.MailDataModel.getValueAt(MailDataModel.java:134)
      at org.olat.core.gui.components.table.DefaultColumnDescriptor.getModelData(DefaultColumnDescriptor.java:121)
      at org.olat.core.gui.components.table.DefaultColumnDescriptor.renderValue(DefaultColumnDescriptor.java:128)
      at org.olat.core.gui.components.table.TableRenderer.appendSingleDataRow(TableRenderer.java:305)
      at org.olat.core.gui.components.table.TableRenderer.appendDataRows(TableRenderer.java:265)
      at org.olat.core.gui.components.table.TableRenderer.render(TableRenderer.java:119)2013-10-09 14:58:20,579 [ajp-apr-8009-exec-36]

        Attachments

          Activity

            People

            • Assignee:
              srosse Stéphane Rossé
              Reporter:
              stephan Stephan Clemenz
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 30 minutes
                30m