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

Signup: On copy or modify for advanced timeslots, the date/times are not editable

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: OPEN
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 12.7, 19.4, 20.0, 21.0 [Tentative]
    • Fix Version/s: None
    • Component/s: Signup
    • Labels:
      None
    • Environment:
      21x: https://trunk-mysql.nightly.sakaiproject.org/, build: 61ff3f96
      Win10: Chrome, Firefox
    • Test Plan:
      Hide
      1. Open the browser console
      2. Click on Sign-up
      3. Click Add
      4. Enter title and location
      5. Set the date start/end times for a future meeting
      6. Accept the default number of slots or change it
      7. Check the box for Advanced user-defined timeslots
      8. Click Create timeslot(s)
      9. Verify the slots were created correctly and click Continue
      10. Click Next
      11. Click Publish
      12. Now click on the title of the meeting just created
      13. Click Modify
        Expected behavior: dates/times should be editable
      14. Click Copy
        Expected behavior: dates/times should be editable
      Show
      Open the browser console Click on Sign-up Click Add Enter title and location Set the date start/end times for a future meeting Accept the default number of slots or change it Check the box for Advanced user-defined timeslots Click Create timeslot(s) Verify the slots were created correctly and click Continue Click Next Click Publish Now click on the title of the meeting just created Click Modify Expected behavior: dates/times should be editable Click Copy Expected behavior: dates/times should be editable

      Description

      Using the advanced time-slots when creating a signup event, and then clicking to copy or edit the meeting, does not allow the date/time to be edited and displays console errors.

      Creating a meeting with different durations and time slots works fine for copy or edit as long as the original meeting did  not have the box checked for Advanced user-defined timeslots.

      Chrome error:

      signupScript.js:21 Uncaught TypeError: Cannot read property 'value' of null
      at getSignupDateTime (signupScript.js:21)
      at Object.sakai.updateSignupBeginsExact (signupScript.js:594)
      at Object.sakai.initSignupBeginAndEndsExact (signupScript.js:587)
      at HTMLDocument.<anonymous> (orgSignupMeeting:872)
      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)
      getSignupDateTime @ signupScript.js:21
      sakai.updateSignupBeginsExact @ signupScript.js:594
      sakai.initSignupBeginAndEndsExact @ signupScript.js:587
      (anonymous) @ orgSignupMeeting:872
      i @ jquery.js:3232
      fireWith @ jquery.js:3362
      ready @ jquery.js:3582
      K @ jquery.js:3617

       

      Firefox:

      TypeError: document.getElementById(...) is null signupScript.js:21:24
      getSignupDateTime signupScript.js:21
      updateSignupBeginsExact signupScript.js:594
      initSignupBeginAndEndsExact signupScript.js:587
      <anonymous> orgSignupMeeting:872
      jQuery 4
      i
      fireWith
      ready
      K

      Firefox learn more link: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Errors/Unexpected_type

        Gliffy Diagrams

          Zeplin

            Attachments

              Activity

                People

                • Assignee:
                  Unassigned
                  Reporter:
                  agschmidt Andrea Schmidt
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  2 Start watching this issue

                  Dates

                  • Created:
                    Updated:

                    Git Integration