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

RS deleting a section where page list has an error in its list numbering

    XMLWordPrintable

    Details

      Description

      The red screen happens if a user want to delete a section or the whole binder and there is an error in the technical numbering of a list of pages.

      2017-09-25 08:53:46,360 [ajp-nio2-8026-exec-7] ERROR OLATRuntimeException - OLAT::ERROR ^%^ N26-E2 ^%^ org.olat.core.logging
      https://xyz.olat.com/auth/HomeSite/178290736/PortfolioV2/0/MyBinders/0/Binder/117/Toc/0
      
      Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/60.0.3112.90 Safari/537.36 OPR/47.0.2631.83
      
      **RedScreen**
      <dispatchinfo>
      	<componentinfo>
      		<compname>link_0</compname>
      		<compclass>org.olat.core.gui.components.link.Link</compclass>
      		<extendedinfo>n/a</extendedinfo>
      		<event>
      			<class&gt;org.olat.core.gui.control.Event</class&gt;
      			<command>link_0</command>
      			<tostring>com:link_0,org.olat.core.gui.control.Event@be46a54a</tostring>
      		</event>
      	</componentinfo>
      	<controllerinfo>
      		<controllername>org.olat.core.gui.control.generic.modal.DialogBoxController</controllername>
      		<controllername>org.olat.modules.portfolio.ui.TableOfContentController</controllername>
      		<controllername>org.olat.modules.portfolio.ui.BinderController</controllername>
      		<controllername>org.olat.modules.portfolio.ui.BinderListController</controllername>
      		<controllername>org.olat.modules.portfolio.ui.PortfolioHomeController</controllername>
      		<controllername>org.olat.modules.portfolio.ui.PortfolioPersonalToolController</controllername>
      		<controllername>org.olat.home.HomeMainController</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:549)
         at org.olat.core.gui.components.Window.doDispatchRequest(Window.java:242)
         at org.olat.core.gui.components.AbstractComponent.dispatchRequest(AbstractComponent.java:193)
         at org.olat.dispatcher.AuthenticatedDispatcher.processValidDispatchURI(AuthenticatedDispatcher.java:273)
         at org.olat.dispatcher.AuthenticatedDispatcher.execute(AuthenticatedDispatcher.java:190)
         at org.olat.core.servlets.OpenOLATServlet.executeUserRequest(OpenOLATServlet.java:289)
         at org.olat.core.servlets.OpenOLATServlet.doPost(OpenOLATServlet.java:232)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:648)
      >>> stack of 2.cause::java.lang.NullPointerException: null
      -> at org.olat.modules.portfolio.manager.PageDAO.deletePage(PageDAO.java:446)
         at org.olat.modules.portfolio.manager.BinderDAO.deleteSection(BinderDAO.java:573)
         at org.olat.modules.portfolio.manager.PortfolioServiceImpl.deleteSection(PortfolioServiceImpl.java:468)
         at org.olat.modules.portfolio.ui.TableOfContentController.doDelete(TableOfContentController.java:760)
         at org.olat.modules.portfolio.ui.TableOfContentController.event(TableOfContentController.java:484)
         at org.olat.core.gui.control.DefaultController$1.run(DefaultController.java:246)
         at org.olat.core.logging.activity.ThreadLocalUserActivityLoggerInstaller.runWithUserActivityLogger(ThreadLocalUserActivityLoggerInstaller.java:108)
         at org.olat.core.gui.control.DefaultController.dispatchEvent(DefaultController.java:243)
         at org.olat.core.gui.control.DefaultController.fireEvent(DefaultController.java:190)
         at org.olat.core.gui.control.generic.modal.DialogBoxController.event(DialogBoxController.java:205)
         at org.olat.core.gui.control.DefaultController.dispatchEvent(DefaultController.java:202)
      

        Attachments

          Activity

            People

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