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

RS if a user try the registration process on a system where it is disabled

    XMLWordPrintable

    Details

      Description

      On a system with the self registration disabled, a user try to registrar with the REST url ( in the form of: localhost:8080/olat/dmz/registration/0 ) -> red screen

      09:21:26,540 ERROR AssertException:175 - **RedScreen** could not create controller via reflection. classname:org.olat.registration.RegistrationController ::_:: ::_:: ^%^
      >>>stack of 1.cause::org.olat.core.logging.AssertException: could not create controller via reflection. classname:org.olat.registration.RegistrationController
      -> at org.olat.core.gui.control.creator.AutoCreator.createController(AutoCreator.java:92)
         at org.olat.login.DmzBFWCParts.getContentController(DmzBFWCParts.java:92)
         at org.olat.core.commons.fullWebApp.BaseFullWebappController.initialize(BaseFullWebappController.java:480)
         at org.olat.core.commons.fullWebApp.BaseFullWebappController.<init>(BaseFullWebappController.java:227)
         at org.olat.registration.DMZRegistrationContentControllerCreator.createController(DMZRegistrationContentControllerCreator.java:52)
         at org.olat.core.gui.control.ChiefControllerCreator.createChiefController(ChiefControllerCreator.java:48)
         at org.olat.dispatcher.DMZDispatcher.execute(DMZDispatcher.java:197)
         at org.olat.core.servlets.OpenOLATServlet.executeUserRequest(OpenOLATServlet.java:280)
         at org.olat.core.servlets.OpenOLATServlet.doGet(OpenOLATServlet.java:209)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:618)
         at org.olat.core.servlets.OpenOLATServlet.service(OpenOLATServlet.java:166)
      >>>stack of 2.cause::java.lang.reflect.InvocationTargetException: null
      -> at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
         at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
         at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
         at java.lang.reflect.Constructor.newInstance(Constructor.java:422)
         at org.olat.core.gui.control.creator.AutoCreator.createController(AutoCreator.java:72)
         at org.olat.login.DmzBFWCParts.getContentController(DmzBFWCParts.java:92)
         at org.olat.core.commons.fullWebApp.BaseFullWebappController.initialize(BaseFullWebappController.java:480)
         at org.olat.core.commons.fullWebApp.BaseFullWebappController.<init>(BaseFullWebappController.java:227)
         at org.olat.registration.DMZRegistrationContentControllerCreator.createController(DMZRegistrationContentControllerCreator.java:52)
         at org.olat.core.gui.control.ChiefControllerCreator.createChiefController(ChiefControllerCreator.java:48)
         at org.olat.dispatcher.DMZDispatcher.execute(DMZDispatcher.java:197)
      >>>stack of 3.cause::org.olat.core.logging.OLATRuntimeException: Registration controller launched but self registration is turned off in the config file
      -> at org.olat.registration.RegistrationController.<init>(RegistrationController.java:110)
         at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
         at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
         at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
         at java.lang.reflect.Constructor.newInstance(Constructor.java:422)
         at org.olat.core.gui.control.creator.AutoCreator.createController(AutoCreator.java:72)
         at org.olat.login.DmzBFWCParts.getContentController(DmzBFWCParts.java:92)
         at org.olat.core.commons.fullWebApp.BaseFullWebappController.initialize(BaseFullWebappController.java:480)
         at org.olat.core.commons.fullWebApp.BaseFullWebappController.<init>(BaseFullWebappController.java:227)
         at org.olat.registration.DMZRegistrationContentControllerCreator.createController(DMZRegistrationContentControllerCreator.java:52)
         at org.olat.core.gui.control.ChiefControllerCreator.createChiefController(ChiefControllerCreator.java:48)
      >>>stack of 4.cause::java.lang.Exception: olat_rtexception_stackgenerator
      -> at org.olat.core.logging.OLATRuntimeException.<init>(OLATRuntimeException.java:57)
         at org.olat.core.logging.OLATRuntimeException.<init>(OLATRuntimeException.java:79)
         at org.olat.registration.RegistrationController.<init>(RegistrationController.java:110)
         at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
         at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
         at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
         at java.lang.reflect.Constructor.newInstance(Constructor.java:422)
         at org.olat.core.gui.control.creator.AutoCreator.createController(AutoCreator.java:72)
         at org.olat.login.DmzBFWCParts.getContentController(DmzBFWCParts.java:92)
         at org.olat.core.commons.fullWebApp.BaseFullWebappController.initialize(BaseFullWebappController.java:480)
         at org.olat.core.commons.fullWebApp.BaseFullWebappController.<init>(BaseFullWebappController.java:227)
      
      

        Attachments

          Activity

            People

            • Assignee:
              srosse Stéphane Rossé
              Reporter:
              srosse Stéphane Rossé
              Tester:
              Dirk Furrer
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Time Tracking

                Estimated:
                Original Estimate - 0 minutes
                0m
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 40 minutes
                40m