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

Problems with Conditional Release

    Details

      Description

      We have activated the Conditional Release at our instance of sakai 2.8 recently but we have found some problems.
      When we create a resource and do it visible to students only if some condition is met, nothing occurs, the resource is visible to all students. Later, if we edit the properties of the resource and we save them without change nothing, the CR works.
      This occurs for both upload and link resources.
      We have solved it by adding the below sentence, after to do commitResource:

      conditionsHelper.notifyCondition(resource);

      -----------------------------------
      Steps to reproduce it:

      • Create a gradebook item
      • Upload a resource (or add a web link), making it conditional accessed if the following property is met:
        The grade is in blank.
      • Enter as student. You should be able to view the resource. But, you won't.
        Now, edit the resource and save it without change anything.
      • Enter as student again. Now, you can view the resource.

        Gliffy Diagrams

          Zeplin

            Attachments

              Issue Links

                Activity

                  People

                  Assignee:
                  maintenanceteam Core Team
                  Reporter:
                  anueda Angel Nueda Lozano
                  Votes:
                  0 Vote for this issue
                  Watchers:
                  2 Start watching this issue

                    Dates

                    Created:
                    Updated:
                    Resolved:

                      Git Integration