Uploaded image for project: 'OpenOLAT'
  1. OpenOLAT
  2. OO-1390

Some inconsistencies when accessing a protected course outside the time period

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 10.1
    • Fix Version/s: 10.2
    • Component/s: Access Control
    • Labels:
      None

      Description

      There are some inconsistencies when accessing a course which is protected by an access code.
      1. If accessing the course outside the configured time period via "start", the message is wrong. It says that the course is closed. I think the message is not necessary here and can be omitted.
      2. The german translation of this message is wrong.
      3. When accessing the course outside the time period via clicking the image or link and then "Start Course" on info page nothing happens. Landing on the same page as in 1. would be much better (without the warning message)

      If the course is closed and access code is configured it behaves the same as in 1., 2. and 3.
      But the behaviour should be the same as accessing the closed course without having access code configured.

      When accessing a course outside the configured time period, the user is told to "try it later". This can confuse the user, especially when the time period is expired. I suggest to omit this hint.

      Here's a patch with some suggestions:

      diff -r bbbca4f46b72 src/main/java/org/olat/resource/accesscontrol/ui/_i18n/LocalStrings_de.properties
      --- a/src/main/java/org/olat/resource/accesscontrol/ui/_i18n/LocalStrings_de.properties	Tue Jan 13 17:35:12 2015 +0100
      +++ b/src/main/java/org/olat/resource/accesscontrol/ui/_i18n/LocalStrings_de.properties	Wed Jan 14 15:13:44 2015 +0100
      @@ -29,7 +29,7 @@
       access.button=Buchen
       access.free.title=Freie Ressource 
       access.free.desc=Diese Ressource ist für Sie frei verfügbar. Wählen Sie die Schaltfläche "$:access.button" um sich für den Zugang zu registrieren.
      -access.refused.desc=Diese Ressource kann zur Zeit nicht gebucht werden. Bitte versuchen Sie es später noch einmal oder kontaktieren Sie den Besitzer dieser Ressource.
      +access.refused.desc=Diese Ressource kann zur Zeit nicht gebucht werden. Bitte kontaktieren Sie den Besitzer dieser Ressource.
       cmd.title=Zugangskontrolle
       cmd.close=Schliessen
       members.name=Name
      @@ -113,4 +113,5 @@
       chelp.accesscontrol_group.method.token=$:chelp.accesscontrol.method.token
       chelp.accesscontrol_group.dates=$:chelp.accesscontrol.dates
       chelp.accesscontrol_group.manual=$:chelp.accesscontrol.manual
      -chelp.accesscontrol_group.delete=$:chelp.accesscontrol.deletecourse.closed=$org.olat.course.run\:course.closed
      +chelp.accesscontrol_group.delete=$:chelp.accesscontrol.delete
      +course.closed=$org.olat.course.run\:course.closed
      diff -r bbbca4f46b72 src/main/java/org/olat/resource/accesscontrol/ui/_i18n/LocalStrings_en.properties
      --- a/src/main/java/org/olat/resource/accesscontrol/ui/_i18n/LocalStrings_en.properties	Tue Jan 13 17:35:12 2015 +0100
      +++ b/src/main/java/org/olat/resource/accesscontrol/ui/_i18n/LocalStrings_en.properties	Wed Jan 14 15:13:44 2015 +0100
      @@ -15,7 +15,7 @@
       access.free.title=Free resource
       access.info.price.noVat={0}
       access.info.price.vat={0} (incl. {1}% VAT)
      -access.refused.desc=This resource is currently available for booking. Please try again later or contact the owner of this resource.
      +access.refused.desc=This resource is currently not available for booking. Please contact the owner of this resource.
       access.title=Book resource
       access.token.desc=This resource is protected with an access code. Enter the access code and press the button "$\:access.button" to register for access. The access code can be obtained from the operator of this resource.
       access.token.title=Protected resource
      

        Attachments

          Activity

            People

            Assignee:
            srosse Stéphane Rossé
            Reporter:
            stephan Stephan Clemenz
            Tester:
            Florian Gnägi
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Time Tracking

                Estimated:
                Original Estimate - 0 minutes
                0m
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 1 hour, 30 minutes
                1h 30m