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

File picker dialogue show markup and dropdown extending dialogue width

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.8.8, 2.9.2
    • Fix Version/s: 2.8.9, 2.9.3
    • Component/s: Filepicker
    • Labels:
    • Testing Instructions:
      Hide

      For the File Path select box

      1. On the dashboard, follow "Manage private files..." in the 'Private files' block.
      2. Create a folder with very big name. (i.e. "This is a test folder with big big big big big name")
      3. Upload a file and then click on uploaded file. Confirm that:
        The select box's width does not exceed the dialogue.

      For the file alias

      1. Follow "Manage private files..." in the 'Private files' block.
      2. Click on the "Add..." button to add a file.
      3. Select "Private files" and select the previously uploaded file.
      4. Choose the "Create an alias/shortcut to the file" radio button and enter another name for the file in the "Save as" text box then click "Select this file" button.
      5. Click "Save changes"
      6. Go again to the Private files page by clicking the "Manage private files" link in the Private files block.
      7. Click on original uploaded file to view properties.
      8. Check the contents of "Aliases/Shortcuts". Confirm that:
        The contents don't show any HTML markup
      9. Click on the Cancel button then click again the original uploaded file.
      10. Once again, check the contents of "Aliases/Shortcuts". Confirm that:
        The contents still don't show any HTML markup
      Show
      For the File Path select box On the dashboard, follow "Manage private files..." in the 'Private files' block. Create a folder with very big name. (i.e. "This is a test folder with big big big big big name") Upload a file and then click on uploaded file. Confirm that: The select box's width does not exceed the dialogue. For the file alias Follow "Manage private files..." in the 'Private files' block. Click on the "Add..." button to add a file. Select "Private files" and select the previously uploaded file. Choose the "Create an alias/shortcut to the file" radio button and enter another name for the file in the "Save as" text box then click "Select this file" button. Click "Save changes" Go again to the Private files page by clicking the "Manage private files" link in the Private files block. Click on original uploaded file to view properties. Check the contents of "Aliases/Shortcuts". Confirm that: The contents don't show any HTML markup Click on the Cancel button then click again the original uploaded file. Once again, check the contents of "Aliases/Shortcuts". Confirm that: The contents still don't show any HTML markup
    • Affected Branches:
      MOODLE_28_STABLE, MOODLE_29_STABLE
    • Fixed Branches:
      MOODLE_28_STABLE, MOODLE_29_STABLE
    • Pull Master Branch:
      MDL-51921-master

      Description

      While testing MDLQA-8450, it was observed that:

      Dropdown for path extends dialogue bound.

      Steps to reproduce:

      1. Login as user
      2. Follow "Manage private files..." in 'Private files' block.
      3. Create a folder with very big name "This is a test folder with big big big big big name"
      4. Upload a file and then click on uploaded file.
      5. You will observe that path drop down is extending the dialogue.

      HTML markup is visible in file ficker

      Steps to reproduce:

      1. Login as user
      2. Follow "Manage private files..." in 'Private files' block.
      3. Upload a file (moodle.png) and Save changes.
      4. Follow "Manage private files..." in 'Private files' block.
      5. Click "Add..." and select "Private files"
      6. Select uploaded file (moodle.png) and create a alias with rename the original file
      7. Save changes and go back to Manage private files
      8. Click on original image (moodle.png) to view properties.
      9. You will observer a proper alias information under"Aliases/Shortcuts"
      10. Press cancel and click on same image (moodle.png) again
      11. This time "Aliases/Shortcuts" will show html markup.

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

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

                  Dates

                  • Created:
                    Updated:
                    Resolved:
                    Fix Release Date:
                    9/Nov/15