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

Red screen by "Einschreibung" if the publisher for e-mails notifications is not persisted.

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 8.0
    • Component/s: None
    • Labels:
      None

      Description

      It's a nested do inSync if the publisher is not created before the enrollment. There is only one publisher for e-mail, check it by start of OpenOLAT if it exists and create it if needed.

      <dispatchinfo>
      <componentinfo>
      <compname>table</compname>
      <compclass>org.olat.core.gui.components.table.Table</compclass>
      <extendedinfo>n/a</extendedinfo>
      <event>
      <class>org.olat.core.gui.components.table.TableEvent</class>
      <command>r</command>
      <tostring>cmd:r, rowId:0, actionId:cmd.enroll.in.group</tostring>
      </event>
      </componentinfo>
      <controllerinfo>
      <controllername>org.olat.core.gui.components.table.TableController</controllername>
      <controllername>org.olat.course.nodes.en.ENRunController</controllername>
      <controllername>org.olat.course.run.RunMainController</controllername>
      <controllername>org.olat.core.commons.fullWebApp.BaseFullWebappController</controllername>
      <controllername>org.olat.core.commons.chiefcontrollers.controller.simple.SimpleBaseController</controllername>
      <controllername>org.olat.core.commons.chiefcontrollers.BaseChiefController</controllername>
      </controllerinfo>
      </dispatchinfo>

      Throwable: org.olat.core.logging.AssertException

      logmsg:ClusterSyncer: nested doInSync is not allowed
      message:ClusterSyncer: nested doInSync is not allowed,org.olat.core.logging.AssertException

      at org.olat.commons.coordinate.cluster.ClusterSyncer$ThreadLocalClusterSyncer.incrementAndCheckNestedLevelCounter(ClusterSyncer.java:199)
      at org.olat.commons.coordinate.cluster.ClusterSyncer.doInSync(ClusterSyncer.java:88)
      at org.olat.notifications.NotificationsManagerImpl.findOrCreatePublisher(NotificationsManagerImpl.java:543)
      at org.olat.notifications.NotificationsManagerImpl.subscribe(NotificationsManagerImpl.java:761)
      at org.olat.core.util.mail.manager.MailManager.subscribe(MailManager.java:148)
      at org.olat.core.util.mail.manager.MailManager.saveDBMessage(MailManager.java:681)
      at org.olat.core.util.mail.manager.MailManager.sendMessage(MailManager.java:445)
      at org.olat.core.util.mail.MailerWithTemplate.sendWithContext(MailerWithTemplate.java:370)
      at org.olat.core.util.mail.MailerWithTemplate.sendMailAsSeparateMails(MailerWithTemplate.java:217)
      at org.olat.core.util.mail.MailerWithTemplate.sendMail(MailerWithTemplate.java:173)

      1. cause:

      message:assertionstackgenerator,java.lang.Exception

      at org.olat.core.logging.AssertException.(AssertException.java:51)
      at org.olat.commons.coordinate.cluster.ClusterSyncer$ThreadLocalClusterSyncer.incrementAndCheckNestedLevelCounter(ClusterSyncer.java:199)
      at org.olat.commons.coordinate.cluster.ClusterSyncer.doInSync(ClusterSyncer.java:88)
      at org.olat.notifications.NotificationsManagerImpl.findOrCreatePublisher(NotificationsManagerImpl.java:543)
      at org.olat.notifications.NotificationsManagerImpl.subscribe(NotificationsManagerImpl.java:761)
      at org.olat.core.util.mail.manager.MailManager.subscribe(MailManager.java:148)
      at org.olat.core.util.mail.manager.MailManager.saveDBMessage(MailManager.java:681)
      at org.olat.core.util.mail.manager.MailManager.sendMessage(MailManager.java:445)
      at org.olat.core.util.mail.MailerWithTemplate.sendWithContext(MailerWithTemplate.java:370)
      at org.olat.core.util.mail.MailerWithTemplate.sendMailAsSeparateMails(MailerWithTemplate.java:217)

        Attachments

          Activity

            People

            Assignee:
            srosse Stéphane Rossé
            Reporter:
            strentini Sergio Trentini
            Tester:
            Sergio Trentini
            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