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

wrong alert displayed with doView_submission url

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: CLOSED
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.6.0, 2.6.1, 2.6.2, 2.6.3, 2.7.0, 2.7.1, 2.8.0
    • Fix Version/s: 2.7.2, 2.8.0
    • Component/s: Assignments
    • Labels:
      None
    • Test Plan:
      Hide

      1. Create an assignment;
      2. Go to "Student View", look for the assignment title, copy the link url of "Submit as Student";
      3. Add a new Web Content tool, and copy the above url to it.
      4. Log in as student, verify the student can submit;
      5. After submission, refresh the Web Content tool, make sure he doesn't see any alert message as "The close date of the assignment has passed. You can no longer submit an answer."
      6. Log in as instructor, grade the student submission.
      7. Log in as student, make sure the student can see the instructor grade information.

      Alternatively, log in as student and do not submit until the assignment close date passed. Then make sure he actually SEE the alert message "The close date of the assignment has passed. You can no longer submit an answer."

      Show
      1. Create an assignment; 2. Go to "Student View", look for the assignment title, copy the link url of "Submit as Student"; 3. Add a new Web Content tool, and copy the above url to it. 4. Log in as student, verify the student can submit; 5. After submission, refresh the Web Content tool, make sure he doesn't see any alert message as "The close date of the assignment has passed. You can no longer submit an answer." 6. Log in as instructor, grade the student submission. 7. Log in as student, make sure the student can see the instructor grade information. Alternatively, log in as student and do not submit until the assignment close date passed. Then make sure he actually SEE the alert message "The close date of the assignment has passed. You can no longer submit an answer."

      Description

      Sometimes the instructor copies the Assignment submission link and use it for Web Content tool. This way, instructor can limit student access to the full view of assignment, but rather, just to one specific assignment. The link format is like: https://server_url/portal/tool/tool_id?assignmentReference=assignment_reference&panel=Main&sakai_action=doView_submission, and one can get it by clicking on the "Student View" link in Assignment tool.

      However, after student submits, he sees wrong alert message as "The close date of the assignment has passed. You can no longer submit an answer.", even though the assignment close date is not over yet.

        Gliffy Diagrams

          Zeplin

            Attachments

              Issue Links

                Activity

                  People

                  Assignee:
                  zqian Zhen Qian
                  Reporter:
                  zqian Zhen Qian
                  Votes:
                  0 Vote for this issue
                  Watchers:
                  0 Start watching this issue

                    Dates

                    Created:
                    Updated:
                    Resolved:

                      Git Integration