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

RS if searching for data collection ID

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • 15.3.13, 15.4.5
    • QM
    • None

    Description

      Happens if no number is entered in the field ID.

      <dispatchinfo>
      	<componentinfo>
      		<compname>ffo_main_barebone</compname>
      		<compclass>org.olat.core.gui.components.form.flexible.impl.FormWrapperContainer</compclass>
      		<extendedinfo>n/a</extendedinfo>
      		<event>
      			<class&gt;org.olat.core.gui.components.form.flexible.impl.FormEvent</class&gt;
      			<command>done</command>
      			<tostring>com:done,org.olat.core.gui.components.form.flexible.impl.FormEvent@2f23a1</tostring>
      		</event>
      	</componentinfo>
      	<controllerinfo>
      		<controllername>org.olat.modules.quality.ui.DataCollectionSearchController</controllername>
      		<controllername>org.olat.modules.quality.ui.DataCollectionListController</controllername>
      		<controllername>org.olat.modules.quality.ui.QualityHomeController</controllername>
      		<controllername>org.olat.modules.quality.ui.QualityMainController</controllername>
      		<controllername>org.olat.core.commons.fullWebApp.BaseFullWebappController</controllername>
      	</controllerinfo>
      </dispatchinfo>org.olat.core.logging.OLATRuntimeException: For input string: "40.0001A-2018-3"
      Caused by: java.lang.NumberFormatException: For input string: "40.0001A-2018-3"
       at java.base/java.lang.NumberFormatException.forInputString(NumberFormatException.java:65)
       at java.base/java.lang.Long.parseLong(Long.java:692)
       at java.base/java.lang.Long.valueOf(Long.java:1144)
       at org.olat.modules.quality.ui.DataCollectionSearchController.fireSearchEvent(DataCollectionSearchController.java:245)
       at org.olat.modules.quality.ui.DataCollectionSearchController.formInnerEvent(DataCollectionSearchController.java:174)
       at org.olat.core.gui.components.form.flexible.impl.FormBasicController.event(FormBasicController.java:431)
       at org.olat.core.gui.control.DefaultController.dispatchEvent(DefaultController.java:214)
       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.form.flexible.impl.FormWrapperContainer.fireFormEvent(FormWrapperContainer.java:136)
       at org.olat.core.gui.components.form.flexible.impl.Form.fireFormEvent(Form.java:743)
       at org.olat.core.gui.components.form.flexible.impl.elements.FormLinkImpl.dispatchFormRequest(FormLinkImpl.java:270)
       at org.olat.core.gui.components.form.flexible.impl.FormItemImpl.doDispatchFormRequest(FormItemImpl.java:568)
       at org.olat.core.gui.components.form.flexible.impl.Form.evalFormRequest(Form.java:317)
       at org.olat.core.gui.components.form.flexible.impl.FormWrapperContainer.doDispatchRequest(FormWrapperContainer.java:105)
       at org.olat.core.gui.components.AbstractComponent.dispatchRequest(AbstractComponent.java:193)
       at org.olat.core.gui.components.Window.doDispatchToComponent(Window.java:1258)
       at org.olat.core.gui.components.Window.dispatchRequest(Window.java:433)
      

      Attachments

        Activity

          People

            uhensler Urs Hensler
            uhensler Urs Hensler
            Mandy Menzel 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 - 15 minutes
                15m