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

Invalid URL for editor stylesheet when slashargs set

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Blocker Blocker
    • 4.0.6
    • 4.0.5
    • Themes
    • MOODLE_400_STABLE
    • MOODLE_400_STABLE
    • MDL-76468-master
    • Hide

      4.0 and master

      1. Login as admin
      2. Navigate to Site admin -> Languages -> Language packs
      3. Install an RTL language such as Hebrew
      4. Navigate to Site admin -> Plugins - Text editors -> Manage text editors
      5. Ensure that the Legacy TinyMCE editor is enabled (it's just called TinyMCE in 4.0 and earlier)
      6. Move it to the top of the list to make it the default editor
      7. Open the user menu
      8. Choose Profile
      9. Edit your profile
      10. Modify the URL to append &lang=he (for Hebrew)
      11. Find the editor in the page and click into it
        1. Confirm that the cursor and any text you type is on the right of the page

      master only

      1. Navigate to Site admin -> Plugins - Text editors -> Manage text editors
      2. Ensure that the new TinyMCE editor is enabled
      3. Move it to the top of the list to make it the default editor
      4. Open the user menu
      5. Choose Profile
      6. Edit your profile
      7. Modify the URL to append &lang=he (for Hebrew)
      8. Find the editor in the page and click into it
        1. Confirm that the cursor and any text you type is on the right of the page
      9. Switch back to English
      10. Add a new H5P activity using the H5P button (you can find one in the h5p/tests/fixtures directory)
        1. Confirm that the H5P activity was added to the text editor with a dark background and the H5P text/logo
      Show
      4.0 and master Login as admin Navigate to Site admin -> Languages -> Language packs Install an RTL language such as Hebrew Navigate to Site admin -> Plugins - Text editors -> Manage text editors Ensure that the Legacy TinyMCE editor is enabled (it's just called TinyMCE in 4.0 and earlier) Move it to the top of the list to make it the default editor Open the user menu Choose Profile Edit your profile Modify the URL to append &lang=he (for Hebrew) Find the editor in the page and click into it Confirm that the cursor and any text you type is on the right of the page master only Navigate to Site admin -> Plugins - Text editors -> Manage text editors Ensure that the new TinyMCE editor is enabled Move it to the top of the list to make it the default editor Open the user menu Choose Profile Edit your profile Modify the URL to append &lang=he (for Hebrew) Find the editor in the page and click into it Confirm that the cursor and any text you type is on the right of the page Switch back to English Add a new H5P activity using the H5P button (you can find one in the h5p/tests/fixtures directory) Confirm that the H5P activity was added to the text editor with a dark background and the H5P text/logo

      When slashargs is set, the editor style sheet is missing a slash.

      Currently:
      http://mandarin.local/im/theme/styles.phpboost/1669278835_1669278839/editor
      Should be:
      http://mandarin.local/im/theme/styles.php/boost/1669278835_1669278839/editor
      

        1. H5P_master_MDL-76468.png
          58 kB
          John Edward Pedregosa
        2. legacy_tinymce_master_MDL-76468.png
          53 kB
          John Edward Pedregosa
        3. legacy_tinymce_v400_MDL-76468.png
          52 kB
          John Edward Pedregosa
        4. new_tinymce_master_MDL-76468.png
          55 kB
          John Edward Pedregosa

            dobedobedoh Andrew Lyons
            dobedobedoh Andrew Lyons
            Mathew May Mathew May
            Jun Pataleta Jun Pataleta
            John Edward Pedregosa John Edward Pedregosa
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved:

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 2 hours, 50 minutes
                2h 50m

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