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

Blocks disappear in Clean in RTL

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.5.3, 2.6
    • Fix Version/s: 2.5.4, 2.6.1
    • Component/s: Themes
    • Labels:
    • Testing Instructions:
      Hide
      1. Using the Clean theme with a course which 3 columns and blocks on both sides.
      2. Turn editing on.
      3. Move all the blocks to the left.
      4. Turn editing off.
      5. Switch to RTL (by perhaps appending '&lang=he' to the URL).
      6. Confirm that no blocks are displayed and there is a blank area on the right with the content filling all the way to the left.
      7. Apply the patch, 'Purge all caches' and refresh the page.
      8. Confirm that the blocks appear on the right and the content filling all the way to the left.
      9. Switch to LTR (by perhaps appending '&lang=en' to the URL).
      10. Confirm that the blocks appear on the left and the content fills all the space to the right.
      11. Switch to the Standard theme (by perhaps appending '&theme=standard' to the URL if 'Allow theme changes in the URL' is set - docs.moodle.org/25/en/Theme_settings#Allow_theme_changes_in_the_URL).
      12. Confirm that the blocks appear on the left and the content fills all the space to the right.
      13. Switch to RTL (by perhaps appending '&lang=he' to the URL).
      14. Confirm that the blocks appear on the right and the content fills all the space to the left.
      15. Switch back to the Clean theme and to LTR (by perhaps appending '&lang=en' to the URL).
      16. Go back to the course and turn editing on.
      17. Move all bar the navigation and administration blocks to the right.
      18. Turn editing off.
      19. Confirm that the navigation and administration blocks are on the left and the others are on the right.
      20. Switch to RTL (by perhaps appending '&lang=he' to the URL).
      21. Confirm that the navigation and administration blocks are on the right and the others are on the left.
      22. Switch to LTR (by perhaps appending '&lang=en' to the URL).
      23. Turn editing on.
      24. Move all blocks to the right.
      25. Turn editing off.
      26. Confirm that all blocks are on the right.
      27. Switch to RTL (by perhaps appending '&lang=he' to the URL).
      28. Confirm that all blocks are on the left.
      29. Switch to LTR (by perhaps appending '&lang=en' to the URL).
      30. Go to the two column 'Purge all caches' page being an 'admin' layout it will be 'columns2.php' in the 'config.php' file.
      31. Confirm that all blocks are on the left.
      32. Switch to RTL (by perhaps appending '&lang=he' to the URL).
      33. Confirm that all blocks are on the right.
      Show
      Using the Clean theme with a course which 3 columns and blocks on both sides. Turn editing on. Move all the blocks to the left. Turn editing off. Switch to RTL (by perhaps appending '&lang=he' to the URL). Confirm that no blocks are displayed and there is a blank area on the right with the content filling all the way to the left. Apply the patch, 'Purge all caches' and refresh the page. Confirm that the blocks appear on the right and the content filling all the way to the left. Switch to LTR (by perhaps appending '&lang=en' to the URL). Confirm that the blocks appear on the left and the content fills all the space to the right. Switch to the Standard theme (by perhaps appending '&theme=standard' to the URL if 'Allow theme changes in the URL' is set - docs.moodle.org/25/en/Theme_settings#Allow_theme_changes_in_the_URL). Confirm that the blocks appear on the left and the content fills all the space to the right. Switch to RTL (by perhaps appending '&lang=he' to the URL). Confirm that the blocks appear on the right and the content fills all the space to the left. Switch back to the Clean theme and to LTR (by perhaps appending '&lang=en' to the URL). Go back to the course and turn editing on. Move all bar the navigation and administration blocks to the right. Turn editing off. Confirm that the navigation and administration blocks are on the left and the others are on the right. Switch to RTL (by perhaps appending '&lang=he' to the URL). Confirm that the navigation and administration blocks are on the right and the others are on the left. Switch to LTR (by perhaps appending '&lang=en' to the URL). Turn editing on. Move all blocks to the right. Turn editing off. Confirm that all blocks are on the right. Switch to RTL (by perhaps appending '&lang=he' to the URL). Confirm that all blocks are on the left. Switch to LTR (by perhaps appending '&lang=en' to the URL). Go to the two column 'Purge all caches' page being an 'admin' layout it will be 'columns2.php' in the 'config.php' file. Confirm that all blocks are on the left. Switch to RTL (by perhaps appending '&lang=he' to the URL). Confirm that all blocks are on the right.
    • Affected Branches:
      MOODLE_25_STABLE, MOODLE_26_STABLE
    • Fixed Branches:
      MOODLE_25_STABLE, MOODLE_26_STABLE
    • Pull from Repository:
    • Pull Master Branch:
      wip-MDL-42852_master

      Description

      Found lots of related bugs/improvement requests but nothing as major as this:

      If my course has blocks only on one side, when switching to Clean theme and RTL language the blocks disappear.

      Reproduced on 2.5

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Votes:
                  0 Vote for this issue
                  Watchers:
                  10 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved:
                    Fix Release Date:
                    13/Jan/14