Uploaded image for project: 'Sakai'
  1. Sakai
  2. SAK-38192

Lesson Builder doesn't handle null short answers

    Details

    • Type: Bug
    • Status: Verified
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: 2.9.0
    • Fix Version/s: 2.9.0
    • Component/s: Lessons
    • Labels:
      None
    • Previous Issue Keys:
      LSNBLDR-293

      Description

      We have a user generating an IllegalArgumentException based on what looks like a null 'Short Answer' response. The user just has to visit the page to generate the following error. I've attached a diff that should resolve the problem.

      Fatal internal error handling request:
      Target exception of class java.lang.IllegalArgumentException
      Successive lines until stack trace show causes progressing to exception site:
      Value of UIBoundString cannot be null
      java.lang.IllegalArgumentException: Value of UIBoundString cannot be null
      at uk.org.ponder.rsf.components.UIBoundString.setValue(UIBoundString.java:12)
      at org.sakaiproject.lessonbuildertool.tool.producers.ShowPageProducer.fillComponents(ShowPageProducer.java:2189)

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                hedrick Charles Hedrick
                Reporter:
                bkirschn Beth Kirschner
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Git Source Code