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

Not posible change "Edit Quiz Settings" on Lesson Builder tool

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Verified
    • Priority: Major
    • Resolution: Incorporated
    • Affects Version/s: 20.0, 21.0 [Tentative]
    • Fix Version/s: None
    • Labels:
      None
    • 20 status:
      Please Merge
    • Test Plan:
      Hide

      1. Go to Lesson tool
      2. Click "Add content"
      3. Link to a Test or Quiz
      4. Create a new quiz using Tests and Quzz
      5. Click Add
      6. Fill Assignment Title
      7. Select a question type -> Multiple choice
      8. Fill Question and answers
      9. Click Save
      10. Click Publish
      11. Click Publish again

      An error is shown on console

       publishAssessment:273 Uncaught ReferenceError: moment is not defined
       at HTMLTableCellElement.<anonymous> (publishAssessment:273)
       at Function.each (jquery.js:370)
       at a.fn.init.each (jquery.js:137)
       at HTMLDocument.<anonymous> (publishAssessment:272)
       at i (jquery.js:3232)
       at Object.fireWith [as resolveWith] (jquery.js:3362)
       at Function.ready (jquery.js:3582)
       at HTMLDocument.K (jquery.js:3617)

       

      12. Click "Continue with Add Quiz, after you have created the new quiz"
      13. Existing quizzes, select your assessment
      14. Click Use selected item
      15. Edit the assessment
      16. Click "Edit Quiz Settings"

      An other error is shown on console

       lang-datepicker.js:1627 Uncaught ReferenceError: moment is not defined
       at getDate (lang-datepicker.js:1627)
       at initDateTime (lang-datepicker.js:1764)
       at init (lang-datepicker.js:1813)
       at Plugin.init (lang-datepicker.js:1874)
       at new Plugin (lang-datepicker.js:1538)
       at HTMLInputElement.<anonymous> (lang-datepicker.js:1882)
       at Function.each (jquery.js:370)
       at a.fn.init.each (jquery.js:137)
       at a.fn.init.$.fn.<computed> [as sakaiDateTimePicker] (lang-datepicker.js:1880)
       at localDatePicker (lang-datepicker.js:1891)

       

      Show
      1. Go to Lesson tool 2. Click "Add content" 3. Link to a Test or Quiz 4. Create a new quiz using Tests and Quzz 5. Click Add 6. Fill Assignment Title 7. Select a question type -> Multiple choice 8. Fill Question and answers 9. Click Save 10. Click Publish 11. Click Publish again An error is shown on console publishAssessment:273 Uncaught ReferenceError: moment is not defined at HTMLTableCellElement.<anonymous> (publishAssessment:273) at Function.each (jquery.js:370) at a.fn.init.each (jquery.js:137) at HTMLDocument.<anonymous> (publishAssessment:272) at i (jquery.js:3232) at Object .fireWith [as resolveWith] (jquery.js:3362) at Function.ready (jquery.js:3582) at HTMLDocument.K (jquery.js:3617)   12. Click "Continue with Add Quiz, after you have created the new quiz" 13. Existing quizzes, select your assessment 14. Click Use selected item 15. Edit the assessment 16. Click "Edit Quiz Settings" An other error is shown on console lang-datepicker.js:1627 Uncaught ReferenceError: moment is not defined at getDate (lang-datepicker.js:1627) at initDateTime (lang-datepicker.js:1764) at init (lang-datepicker.js:1813) at Plugin.init (lang-datepicker.js:1874) at new Plugin (lang-datepicker.js:1538) at HTMLInputElement.<anonymous> (lang-datepicker.js:1882) at Function.each (jquery.js:370) at a.fn.init.each (jquery.js:137) at a.fn.init.$.fn.<computed> [as sakaiDateTimePicker] (lang-datepicker.js:1880) at localDatePicker (lang-datepicker.js:1891)  

      Description

      Some javascript error when changing "Edit Quiz Settings" from Lessons. Date picker error

      See testing plan

        Gliffy Diagrams

          Zeplin

            Attachments

              Issue Links

                Activity

                  People

                  Assignee:
                  maintenanceteam Core Team
                  Reporter:
                  jesusmmp Jesus Maria Mendez
                  Votes:
                  0 Vote for this issue
                  Watchers:
                  5 Start watching this issue

                    Dates

                    Created:
                    Updated:
                    Resolved:

                      Git Integration