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

RS if a guest try to access a group by booking it

    XMLWordPrintable

    Details

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

      Description

      It's possible to access the group via a REST url and click the guest access to land on the booking methods of the group. Filling one make the red screen as guest have no e-mail address.

      2015-01-04 19:44:31,278 [ajp-bio-8002-exec-1] ERROR OLATRuntimeException  - OLAT::ERROR ^%^ N2-E6 ^%^ org.olat.core.logging ^%^ guest_de ^%^ 46.28.80.100 ^%^ https://community.openolat.org/auth/1%3A1%3A0%3A0%3A0/
      Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/39.0.2171.95 Safari/537.36
      **RedScreen** null
      
      <dispatchinfo>
      	<componentinfo>
      		<compname>ffo_main_null</compname>
      		<compclass>org.olat.core.gui.components.form.flexible.impl.FormWrapperContainer</compclass>
      		<extendedinfo>n/a</extendedinfo>
      		<event>
      			<class&gt;org.olat.core.gui.control.Event</class&gt;
      			<command>validation ok</command>
      			<tostring>com:validation ok,org.olat.core.gui.control.Event@d62b3f02</tostring>
      		</event>
      	</componentinfo>
      	<controllerinfo>
      		<controllername>org.olat.resource.accesscontrol.provider.token.ui.TokenAccessController</controllername>
      		<controllername>org.olat.resource.accesscontrol.ui.AccessListController</controllername>
      		<controllername>org.olat.group.ui.run.BusinessGroupMainRunController</controllername>
      		<controllername>org.olat.core.commons.fullWebApp.BaseFullWebappController</controllername>
      	</controllerinfo>
      </dispatchinfo>
      >>> stack of 1.cause::org.olat.core.logging.OLATRuntimeException: null
      -> at org.olat.core.gui.exception.ExceptionWindowController.<init>(ExceptionWindowController.java:116)
         at org.olat.core.gui.exception.MsgFactory.createMessageChiefController(MsgFactory.java:57)
         at org.olat.core.gui.exception.MsgFactory.createMessageChiefController(MsgFactory.java:46)
         at org.olat.core.gui.components.Window.dispatchRequest(Window.java:524)
         at org.olat.core.gui.components.Window.doDispatchRequest(Window.java:228)
         at org.olat.core.gui.components.AbstractComponent.dispatchRequest(AbstractComponent.java:192)
         at org.olat.dispatcher.AuthenticatedDispatcher.processValidDispatchURI(AuthenticatedDispatcher.java:241)
         at org.olat.dispatcher.AuthenticatedDispatcher.execute(AuthenticatedDispatcher.java:197)
         at org.olat.core.servlets.OpenOLATServlet.executeUserRequest(OpenOLATServlet.java:269)
         at org.olat.core.servlets.OpenOLATServlet.doPost(OpenOLATServlet.java:212)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:647)
      >>> stack of 2.cause::java.lang.NullPointerException: null
      -> at javax.mail.internet.InternetAddress.checkAddress(InternetAddress.java:1089)
         at javax.mail.internet.InternetAddress.validate(InternetAddress.java:1071)
         at org.olat.core.util.mail.manager.MailManagerImpl.createAddressWithName(MailManagerImpl.java:1241)
         at org.olat.core.util.mail.manager.MailManagerImpl.createFromAddress(MailManagerImpl.java:1346)
         at org.olat.core.util.mail.manager.MailManagerImpl.saveDBMessage(MailManagerImpl.java:913)
         at org.olat.core.util.mail.manager.MailManagerImpl.sendMessage(MailManagerImpl.java:682)
         at org.olat.group.manager.BusinessGroupMailing.sendEmail(BusinessGroupMailing.java:135)
         at org.olat.group.manager.BusinessGroupServiceImpl.addParticipant(BusinessGroupServiceImpl.java:903)
         at org.olat.group.manager.BusinessGroupServiceImpl.enroll(BusinessGroupServiceImpl.java:1368)
         at org.olat.resource.accesscontrol.manager.ACFrontendManager.allowAccesToResource(ACFrontendManager.java:475)
         at org.olat.resource.accesscontrol.manager.ACFrontendManager.accessResource(ACFrontendManager.java:353)
      

        Attachments

          Activity

            People

            Assignee:
            srosse Stéphane Rossé
            Reporter:
            srosse Stéphane Rossé
            Votes:
            0 Vote for this issue
            Watchers:
            1 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