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

NPE in wiki when modifying menu

    XMLWordPrintable

    Details

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

      Description

      How to reproduce

      • Open a wiki which is embedded in a course
      • In course menu, select "Wiki menu"
      • In the wiki menu select "Menu"
      • Edit page
        => Another page is opened in editor, not the menu page
      • Save
        => NPE

      When fixing this, the Navigation submenu can be removed, unnecessary hierarchie

      <dispatchinfo>
      <componentinfo>
      <compname>ffo_main_vertical</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.modules.wiki.WikiEditArticleForm</controllername>
      <controllername>org.olat.course.run.RunMainController</controllername>
      <controllername>org.olat.course.run.CourseRuntimeController</controllername>
      <controllername>org.olat.core.commons.fullWebApp.BaseFullWebappController</controllername>
      </controllerinfo>
      </dispatchinfo> 
      Throwable: java.lang.NullPointerException
      
      message:null,java.lang.NullPointerException
      
      at org.olat.modules.wiki.WikiManager.saveWikiPage(WikiManager.java:434)
      at org.olat.modules.wiki.WikiMainController.event(WikiMainController.java:982)
      at org.olat.core.gui.control.DefaultController$1.run(DefaultController.java:245)
      at org.olat.core.logging.activity.ThreadLocalUserActivityLoggerInstaller.runWithUserActivityLogger(ThreadLocalUserActivityLoggerInstaller.java:108)
      at org.olat.core.gui.control.DefaultController.dispatchEvent(DefaultController.java:242)
      at org.olat.core.gui.control.DefaultController.fireEvent(DefaultController.java:190)
      at org.olat.modules.wiki.WikiEditArticleForm.formOK(WikiEditArticleForm.java:91)
      at org.olat.core.gui.components.form.flexible.impl.FormBasicController.event(FormBasicController.java:369)
      at org.olat.core.gui.control.DefaultController.dispatchEvent(DefaultController.java:201)
      at org.olat.core.gui.components.AbstractComponent$1.run(AbstractComponent.java:238)
      

        Attachments

          Activity

            People

            • Assignee:
              srosse Stéphane Rossé
              Reporter:
              gnaegi Florian Gnägi
            • 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 - 1 hour
                1h