Uploaded image for project: 'ui-courses'
  1. ui-courses
  2. UICR-113

Deleting an in-use course type causes the Courses app to crash

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: P2
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: None
    • Labels:
    • Template:
      Standard Bug Write-Up Format
    • Development Team:
      Thor
    • Affected Institution:
      Duke, Simmons

      Description

      Overview: On an environment running Honeysuckle (@folio/courses 3.0.2), you are able to delete an in-use course type from Settings --> Courses --> Course Types. Once you've done so, the Courses pane of the Courses app begins crashing with a 500 error.

      I replicated this on a local Duke environment as well as folio snapshot.

      Steps to Reproduce:

      1. Log into an environment running honeysuckle as a user with permissions to the courses app, and courses settings.
      2. Go to Settings --> Courses --> Course types and create a new course type.
      3. Go to the Courses App and create a new course and assign it your new course type.
      4. Save the course.
      5. Return to Settings --> Courses --> Course types.
      6. Select the trash can to delete the course type you just assigned to the course.
      7. Delete the course type
      8. Return to the Courses app

      Expected Results: The Courses app runs, and you can view the course you just created, with an empty value in the Course Type field since it's not required OR you should not be able to delete the in-use Settings value.
      Actual Results: The Courses pane of the Courses app gives you a 500 internal server error.
      Additional Information:
      URL:
      Interested parties: Kelly Drake Mark Deutsch

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              kdrake Kelly Drake
              Reporter:
              enettifee Erin Nettifee
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: