KS Enrollment
  1. KS Enrollment
  2. KSENROLL-3368

Viewing AOs on schedule of classes when there is no actual schedule causes stack trace

    Details

    • Type: Bug Fix Bug Fix
    • Status: Closed Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: M5 , M5 - Sprint 3
    • Component/s: PDT - Red
    • Security Level: Public (Public: Anyone can view)
    • Labels:

      Description

      Manage ENGL101
      Copy one of the AOs
      Go to schedule of classes and search by course
      enter ENGL and search
      expand the AO details for ENGL101
      you will get a stacktrace:
      java.lang.IllegalArgumentException: id to load is required for loading at org.hibernate.event.LoadEvent.<init>(LoadEvent.java:89) at org.hibernate.event.LoadEvent.<init>(LoadEvent.java:61) at org.hibernate.impl.SessionImpl.get(SessionImpl.java:1002) at org.hibernate.impl.SessionImpl.get(SessionImpl.java:998) at

        Issue Links

          Activity

          Hide
          Daniel Epstein (Inactive) added a comment -

          This is most likely related

          Show
          Daniel Epstein (Inactive) added a comment - This is most likely related
          Hide
          Rachel Hendrickson (Inactive) added a comment -

          If the AO or the CO is not in a state of offered, it would not be shown in the Schedule of Classes. But getting a stacktrace is not a useful way to handle the situation where there is an AO that is not in the state of "offered".

          Show
          Rachel Hendrickson (Inactive) added a comment - If the AO or the CO is not in a state of offered, it would not be shown in the Schedule of Classes. But getting a stacktrace is not a useful way to handle the situation where there is an AO that is not in the state of "offered".
          Hide
          Daniel Epstein (Inactive) added a comment -

          fixed NPE for AOs without schedule data

          Show
          Daniel Epstein (Inactive) added a comment - fixed NPE for AOs without schedule data

            People

            • Assignee:
              Daniel Epstein (Inactive)
              Reporter:
              Daniel Epstein (Inactive)
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Structure Helper Panel