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

RS in mail list if user remove in table configuration all columns but "Read"

    XMLWordPrintable

    Details

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

      Description

      How to reproduce:

      • In the mail tool, in the main list, remove all column from the configuration and let only the "Read"
      • Click save -> red screen
      2015-10-27 21:45:13,038 [ajp-nio2-8021-exec-63] ERROR AssertException - OLAT::ERROR ^%^ N1-E203 ^%^ org.olat.core.logging
      
      Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/46.0.2490.80 Safari/537.36 ^%^ **RedScreen** staticcolumndescriptor was called to be sorted, but did not offer to be sorted
      
      <dispatchinfo>
      	<componentinfo>
      		<compname>colchoice</compname>
      		<compclass>org.olat.core.gui.components.choice.Choice</compclass>
      		<extendedinfo>choice: rows:7</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.core.gui.components.table.TableController</controllername>
      		<controllername>org.olat.core.util.mail.ui.MailBoxOverviewController</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.AssertException: staticcolumndescriptor was called to be sorted, but did not offer to be sorted
      -> at org.olat.core.gui.components.table.StaticColumnDescriptor.compareTo(StaticColumnDescriptor.java:112)
         at org.olat.core.gui.components.table.TableComparator.compare(TableComparator.java:43)
         at org.olat.core.gui.components.table.TableComparator.compare(TableComparator.java:29)
         at java.util.TimSort.countRunAndMakeAscending(TimSort.java:351)
         at java.util.TimSort.sort(TimSort.java:230)
         at java.util.Arrays.sort(Arrays.java:1512)
         at java.util.ArrayList.sort(ArrayList.java:1454)
         at java.util.Collections.sort(Collections.java:175)
         at org.olat.core.gui.components.table.Table.resort(Table.java:544)
         at org.olat.core.gui.components.table.Table.updateConfiguredRows(Table.java:716)
         at org.olat.core.gui.components.table.TableController.applyAndcheckChangedColumnsChoice(TableController.java:381)
      >>> stack of 2.cause::java.lang.Exception: assertionstackgenerator
      -> at org.olat.core.logging.AssertException.<init>(AssertException.java:53)
         at org.olat.core.gui.components.table.StaticColumnDescriptor.compareTo(StaticColumnDescriptor.java:112)
         at org.olat.core.gui.components.table.TableComparator.compare(TableComparator.java:43)
         at org.olat.core.gui.components.table.TableComparator.compare(TableComparator.java:29)
         at java.util.TimSort.countRunAndMakeAscending(TimSort.java:351)
         at java.util.TimSort.sort(TimSort.java:230)
         at java.util.Arrays.sort(Arrays.java:1512)
         at java.util.ArrayList.sort(ArrayList.java:1454)
         at java.util.Collections.sort(Collections.java:175)
         at org.olat.core.gui.components.table.Table.resort(Table.java:544)
         at org.olat.core.gui.components.table.Table.updateConfiguredRows(Table.java:716)
      

        Attachments

          Activity

            People

            • Assignee:
              srosse Stéphane Rossé
              Reporter:
              srosse Stéphane Rossé
              Tester:
              Kirsten Scherer
            • 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