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

RS if taxonomy identifier is too long

    XMLWordPrintable

    Details

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

      Description

      It happens if the taxonomy identifier is longer than 50 characters.

      2018-02-18 14:54:12,587 [ajp-nio2-8027-exec-45] ERROR AssertException - OLAT::ERROR ^%^ N27-E56 ^%^ org.olat.core.logging
      https://lernen.xyz.ch/auth/QPool/0/My/0 ^%^ Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/63.0.3239.132 Safari/537.36
      **RedScreen** Olatresource type may not exceed 50 chars: type=review_Berufsbegleitende Umschulung zur Praxisgehilfin
      
      <dispatchinfo>
      	<componentinfo>
      		<compname>qpoolTree</compname>
      		<compclass>org.olat.core.gui.components.tree.MenuTree</compclass>
      		<extendedinfo>n/a</extendedinfo>
      		<event>
      			<class&gt;org.olat.core.gui.components.tree.TreeEvent</class&gt;
      			<command>ctncl</command>
      			<tostring>TreeEvent:{cmd:ctncl,sub:tectnclose nodeid:97132851568302}</tostring>
      		</event>
      	</componentinfo>
      	<controllerinfo>
      		<controllername>org.olat.modules.qpool.ui.QuestionPoolMainEditorController</controllername>
      		<controllername>org.olat.core.commons.fullWebApp.BaseFullWebappController</controllername>
      	</controllerinfo>
      </dispatchinfo>
      
      >>> stack of 1.cause::org.olat.core.logging.AssertException: Olatresource type may not exceed 50 chars: type=review_Berufsbegleitende Umschulung zur Praxisgehilfin
      -> at org.olat.core.util.resource.OresHelper.createOLATResourceableInstance(OresHelper.java:54)
         at org.olat.modules.qpool.ui.tree.ReviewTreeNode.getController(ReviewTreeNode.java:81)
         at org.olat.modules.qpool.ui.QuestionPoolMainEditorController.doSelectQuestionsNode(QuestionPoolMainEditorController.java:379)
         at org.olat.modules.qpool.ui.QuestionPoolMainEditorController.doSelectControllerTreeNode(QuestionPoolMainEditorController.java:154)
         at org.olat.modules.qpool.ui.QuestionPoolMainEditorController.event(QuestionPoolMainEditorController.java:143)
         at org.olat.core.gui.control.DefaultController.dispatchEvent(DefaultController.java:202)
         at org.olat.core.gui.components.AbstractComponent$1.run(AbstractComponent.java:240)
         at org.olat.core.logging.activity.ThreadLocalUserActivityLoggerInstaller.runWithUserActivityLogger(ThreadLocalUserActivityLoggerInstaller.java:108)
         at org.olat.core.gui.components.AbstractComponent.fireEvent(AbstractComponent.java:238)
         at org.olat.core.gui.components.tree.MenuTree.handleClick(MenuTree.java:297)
         at org.olat.core.gui.components.tree.MenuTree.doDispatchRequest(MenuTree.java:196)
      >>> stack of 2.cause::java.lang.Exception: assertionstackgenerator
      -> at org.olat.core.logging.AssertException.<init>(AssertException.java:53)
         at org.olat.core.util.resource.OresHelper.createOLATResourceableInstance(OresHelper.java:54)
         at org.olat.modules.qpool.ui.tree.ReviewTreeNode.getController(ReviewTreeNode.java:81)
         at org.olat.modules.qpool.ui.QuestionPoolMainEditorController.doSelectQuestionsNode(QuestionPoolMainEditorController.java:379)
         at org.olat.modules.qpool.ui.QuestionPoolMainEditorController.doSelectControllerTreeNode(QuestionPoolMainEditorController.java:154)
         at org.olat.modules.qpool.ui.QuestionPoolMainEditorController.event(QuestionPoolMainEditorController.java:143)
         at org.olat.core.gui.control.DefaultController.dispatchEvent(DefaultController.java:202)
         at org.olat.core.gui.components.AbstractComponent$1.run(AbstractComponent.java:240)
         at org.olat.core.logging.activity.ThreadLocalUserActivityLoggerInstaller.runWithUserActivityLogger(ThreadLocalUserActivityLoggerInstaller.java:108)
         at org.olat.core.gui.components.AbstractComponent.fireEvent(AbstractComponent.java:238)
         at org.olat.core.gui.components.tree.MenuTree.handleClick(MenuTree.java:297)
      

        Attachments

          Activity

            People

            Assignee:
            srosse Stéphane Rossé
            Reporter:
            srosse Stéphane Rossé
            Tester:
            Mandy Menzel
            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, 15 minutes
                1h 15m