Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-80344

Incorrect language string usage on manage calendar subscriptions

XMLWordPrintable

    • MOODLE_403_STABLE, MOODLE_404_STABLE
    • MDL-80344-403
    • MDL-80344-404
    • Hide
      1. Log in as admin
      2. Manually navigate to following URL:

        <WWWROOT>/calendar/view.php
        

      3. Press Import or export calendars
      4. Confirm you see the following message:

        No calendar subscriptions yet. Import an external calendar
        

      5. Press Import and external calendar
        • Calendar name: Test
        • Import from: Calendar file (.ics)
        • Calendar file (.ics): Blank.ics
        • Type of event: Category
        • Category: Category 1
      6. Press Import calendar
      7. Create a new user
      8. Navigate to Courses > Manage courses and categories in site administration
      9. Create new category:
        • Parent category: Top
        • Category name: Category 2
      10. Select Permissions > Assign roles for Category 2 (from the action menu)
      11. Assign test user the Manager role in Category 2
      12. Log out
      13. Log in as test user
      14. Manually navigate to following URL:

        <WWWROOT>/calendar/view.php
        

      15. Press Import or export calendars
      16. Confirm you see the following message:

        No calendar subscriptions yet. Import an external calendar
        

      Show
      Log in as admin Manually navigate to following URL: <WWWROOT>/calendar/view.php Press Import or export calendars Confirm you see the following message: No calendar subscriptions yet. Import an external calendar Press Import and external calendar Calendar name: Test Import from: Calendar file (.ics) Calendar file (.ics): Blank.ics Type of event: Category Category: Category 1 Press Import calendar Create a new user Navigate to Courses > Manage courses and categories in site administration Create new category: Parent category: Top Category name: Category 2 Select Permissions > Assign roles for Category 2 (from the action menu) Assign test user the Manager role in Category 2 Log out Log in as test user Manually navigate to following URL: <WWWROOT>/calendar/view.php Press Import or export calendars Confirm you see the following message: No calendar subscriptions yet. Import an external calendar
    • 1
    • Team Hedgehog 2024 Sprint 2.2

      There are a few problems with this language string change from MDL-71790:

      1. String concatenation is bad - doesn't work well in non-English;
      2. We've significantly changed the meaning of the string with the addition of {$a} parameter - will be missing from all existing translations;
      3. The parameter is missing here

      Original report

      Login as a student
      Navigate to Calendar - > Import or Export Calendars ->Import calendar
      In the import calendar form, in the Type of event dropdown, the student can select "Group" or "Course" and successfully add the calendar

      Issue exists in moodle 4.1 version (but not able to reproduce in moodle demo 4.3 server)
      Also, after the student adds the calendar, they should be able to manage it .
      The student cannot delete it.

        1. (1) 16 Passed -- (Main)MDL-80344.png
          (1) 16 Passed -- (Main)MDL-80344.png
          38 kB
        2. (1) 4 Passed -- (Main)MDL-80344.png
          (1) 4 Passed -- (Main)MDL-80344.png
          36 kB
        3. Blank.ics
          0.1 kB
        4. import calendar as student.png
          import calendar as student.png
          35 kB
        5. screenshot-1.png
          screenshot-1.png
          66 kB
        6. screenshot-2.png
          screenshot-2.png
          80 kB

            pholden Paul Holden
            saraschandrikagrandhi SarasChandrika Grandhi
            Huong Nguyen Huong Nguyen
            Sara Arjona (@sarjona) Sara Arjona (@sarjona)
            Kim Jared Lucas Kim Jared Lucas
            Votes:
            0 Vote for this issue
            Watchers:
            16 Start watching this issue

              Created:
              Updated:
              Resolved:

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

                  Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.