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

Test settings can be edited through Lessons, but cannot be saved

    Details

    • 19 status:
      Resolved
    • Test Plan:
      Hide
      1. Create a quiz and publish it
      2. Select settings from the published quiz and change something in the feedback section (e.g. Feedback on submission)
      3. Click Save - quiz should save without problems
      4. Click on Lessons -> Add content
      5. Add the quiz 
      6. Click on the Edit icon for the item
      7. Click Edit Quiz Settings
      8. Modify something with the feedback settings and click Save

      Expected behavior: quiz saves

      Current behavior: quiz does not save and if you scroll up, the following error displays:

      The date you have entered for Available Date is not valid. Please make sure you have entered an existing date in the mm/dd/yyyy hh:mm:ss AM/PM format.

      If you now click Cancel, then click on Tests & Quizzes, and edit the settings there (again make feedback changes), and click Save, the quiz saves without a problem.

       

      Show
      Create a quiz and publish it Select settings from the published quiz and change something in the feedback section (e.g. Feedback on submission) Click Save - quiz should save without problems Click on Lessons -> Add content Add the quiz  Click on the Edit icon for the item Click Edit Quiz Settings Modify something with the feedback settings and click Save Expected behavior: quiz saves Current behavior: quiz does not save and if you scroll up, the following error displays: The date you have entered for Available Date is not valid. Please make sure you have entered an existing date in the mm/dd/yyyy hh:mm:ss AM/PM format. If you now click Cancel, then click on Tests & Quizzes, and edit the settings there (again make feedback changes), and click Save, the quiz saves without a problem.  

      Description

      Trying to verify SAK-40959. The user can edit the quiz from Lessons, but cannot save it. After the quiz failed to save, I found the following in the logs:

      19-Nov-2018 21:53:23.438 ERROR [http-nio-20013-exec-9] org.sakaiproject.tool.assessment.ui.bean.author.PublishedAssessmentSettingsBean.setStartDateString setStartDateString could not parse hidden start date:

      The only change I tried to make through Lessons in the quiz settings was the feedback portion, yet the error that displays when hitting save is "The date you have entered for Available Date is not valid. Please make sure you have entered an existing date in the mm/dd/yyyy hh:mm:ss AM/PM format." 

      I then tried to edit the quiz settings from Samigo and was able to save without a problem.

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                bergarvi Bernardo Garcia Vila
                Reporter:
                agschmidt Andrea Schmidt
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Git Source Code