Uploaded image for project: 'Samigo'
  1. Samigo
  2. SAM-2962

Can not save automatic submission settings in template as admin on Oracle

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: 11.0, 12.0 [Tentative]
    • Fix Version/s: 11.4, 12.0 [Tentative]
    • Component/s: Authoring
    • Labels:
    • Environment:
      Sakai - aaf70ea - Sakai aaf70ea53eb31900c1f7bcfb4eaa9bff091009c2 - Server ip-172-31-6-159
      on nightly Oracle Master
      Mac/Firefox
    • 11 status:
      Verified
    • Test Plan:
      Hide

      TO TEST THE ISSUE

      1. Log into a system using an Oracle database. This problem is specific to Oracle and not reproducable on MySQL.
      2. Enter as admin (password admin). Have a particular site in mind to edit.
      3. Go to the site and then go to "Test and Quizzes"
      4. Go to "Assessment Types"
      5. Edit Default Assessment Type
      6. Check or Uncheck any option and save
      7. Edit the "Default Assessment Type" again
      8. All the Checkboxes are unchecked, check the console/log for a Null Pointer Exception.

      TO TEST THE FIX

      1. Enter as admin (password admin). Have a particular site in mind to edit.
      2. Go to the site and then go to "Test and Quizzes"
      3. Go to "Assessment Types"
      4. Edit Default Assessment Type
      5. Check or Uncheck any option and save
      6. Edit the "Default Assessment Type" again
      7. All values for the template are restored correctly

      Show
      TO TEST THE ISSUE 1. Log into a system using an Oracle database. This problem is specific to Oracle and not reproducable on MySQL. 2. Enter as admin (password admin). Have a particular site in mind to edit. 3. Go to the site and then go to "Test and Quizzes" 4. Go to "Assessment Types" 5. Edit Default Assessment Type 6. Check or Uncheck any option and save 7. Edit the "Default Assessment Type" again 8. All the Checkboxes are unchecked, check the console/log for a Null Pointer Exception. TO TEST THE FIX 1. Enter as admin (password admin). Have a particular site in mind to edit. 2. Go to the site and then go to "Test and Quizzes" 3. Go to "Assessment Types" 4. Edit Default Assessment Type 5. Check or Uncheck any option and save 6. Edit the "Default Assessment Type" again 7. All values for the template are restored correctly

      Description

      For auto submit to show up in Settings for instructor, updating the default template is necessary (or, as I understand it, an sql update?).

      On master mysql nightly I am able to successfully set the default template. But on Oracle, I can not.

      Steps to reproduce:
      1) Find or create a site with Test & Quizzes added.
      2) Log in as admin and go to the Test & Quiz tool in any site.
      3) Click on Assessment Types (tab)
      4) Click on Default Assessment Type
      5) Click on Submissions accordion. Then check boxes under Automatic Submission "Can edit default value (below)?" and "If student forgets to submit in time, force submission of their saved work after the latest acceptance date"
      6) Click Save

      7) But wait, there is more. It appears to save with no error, however if you go back into it the checkbox for "Can edit default value (below)?" is not selected though the sub-checkbox about the "if the student forgets..." is still selected.

      8) If you try clicking Can edit default value and Save again you receive a "templateEditorForm:j_id_jsp_1784853254_48: Validation Error: Value is required".

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  alexgj Alejandro González Jiménez
                  Reporter:
                  ncaidin Neal Caidin
                • Votes:
                  1 Vote for this issue
                  Watchers:
                  7 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: