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

Visible Date not honored with isAvailableOrSubmitted change to BaseAssignmentService.java

    XMLWordPrintable

    Details

    • 10 status:
      Resolved
    • Test Plan:
      Hide

      I've reopened this jira because I think "Visible Date" is not working properly:

      Enable property assignment.visible.date.enabled=true

      1.- Go to http://nightly2.sakaiproject.org:8085/portal
      2.- Login as instructor.
      3.- Create a site (with students) and add Assignments tool.
      4.- Create an assignment with a visible date in the past (Click Use Visible Date) and an open in the future, so today is between both dates
      5.- Access as student and go to assignments

      Expected: Since the visible date is in the past, you should be able to see the assignment even though it's not yet open. Open date just protects being able to save or submit.

      Show
      I've reopened this jira because I think "Visible Date" is not working properly: Enable property assignment.visible.date.enabled=true 1.- Go to http://nightly2.sakaiproject.org:8085/portal 2.- Login as instructor. 3.- Create a site (with students) and add Assignments tool. 4.- Create an assignment with a visible date in the past (Click Use Visible Date) and an open in the future, so today is between both dates 5.- Access as student and go to assignments Expected: Since the visible date is in the past, you should be able to see the assignment even though it's not yet open. Open date just protects being able to save or submit.

      Description

      isAvailableOrSubmitted checks for the visibility of an assignment to a user but neglects the optional visible date feature (permitting an assignment to be visible but not open for submissions). The attached patch addresses this concern.

      Requires property assignment.visible.date.enabled=true (false by default) - This is true on nightly experimental.

        Gliffy Diagrams

          Zeplin

            Attachments

              Issue Links

                Activity

                  People

                  Assignee:
                  jjmerono@um.es Juan José Meroño Sánchez
                  Reporter:
                  conder@duke.edu Joseph Conder
                  Votes:
                  0 Vote for this issue
                  Watchers:
                  6 Start watching this issue

                    Dates

                    Created:
                    Updated:
                    Resolved:

                      Git Integration