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

Assignments in binder before their sections

    XMLWordPrintable

    Details

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

      Description

      There is 2 aspects in this issue. First the user see its assignments before the section where they are. The second is an intern error. The 2 problems point to a not predictable sort algorithm.

      2017-03-21 15:15:34,285 [ajp-nio2-8004-exec-34] ERROR PageListDataModel OLAT::ERROR ^%^ N4-E228 ^%^ org.olat.modules.portfolio.ui
      https://xyz.ch/auth/HomeSite/303988815/PortfolioV2/0/MyBinders/0/Binder/231/Toc/0
      Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_3) AppleWebKit/602.4.8 (KHTML, like Gecko) Version/10.0.3 Safari/602.4.8
      Cannot sort with: sort[key=null:asc=false]
      >>>stack of 1.cause::java.lang.IllegalArgumentException: Comparison method violates its general contract!
      -> at java.util.TimSort.mergeHi(TimSort.java:899)
         at java.util.TimSort.mergeAt(TimSort.java:516)
         at java.util.TimSort.mergeForceCollapse(TimSort.java:457)
         at java.util.TimSort.sort(TimSort.java:254)
         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.modules.portfolio.ui.PageListSortableDataModelDelegate.sort(PageListSortableDataModelDelegate.java:66)
         at org.ola[...]
      

        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 - 4 hours, 5 minutes
                4h 5m