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

Editing cohort description does not allow images of media to be uploaded

    XMLWordPrintable

Details

    • MOODLE_21_STABLE
    • MOODLE_30_STABLE
    • wip-MDL-28954-master
    • Hide

      As manager with capability to view and manage cohorts (but not as admin!):

      • Create cohort, add image in the description
      • Make sure it is displayed
      • Edit cohort, change the context
      • Make sure the image is still displayed on the view cohorts list
      • Edit cohort, change/add the image
      • Make sure the changes are saved and cohort is displayed correctly.
      • Copy image URL
      • Make sure user with only cohort/view capability can access URL
      • Make sure guest or user without cohort/view capability can not access URL
      Show
      As manager with capability to view and manage cohorts (but not as admin!): Create cohort, add image in the description Make sure it is displayed Edit cohort, change the context Make sure the image is still displayed on the view cohorts list Edit cohort, change/add the image Make sure the changes are saved and cohort is displayed correctly. Copy image URL Make sure user with only cohort/view capability can access URL Make sure guest or user without cohort/view capability can not access URL

    Description

      When editing the description of a cohort with the HTML editor, it is not possible to upload images or media.

      This may be because of the context not being set for cohorts (or being set to zero), so there is no temporary editing area for attached files.

      Replication steps:

      1. Log in as admin
      2. Navigate to Site Administration -> Users -> Accounts -> Cohorts
      3. Click on the "Insert/edit image" button or the "Moodle media" button.

      Attachments

        Issue Links

          Activity

            People

              marina Marina Glancy
              salvetore Michael de Raadt
              Simey Lameze Simey Lameze
              Eloy Lafuente (stronk7) Eloy Lafuente (stronk7)
              Rajesh Taneja Rajesh Taneja
              Amaia Anabitarte, Carlos Escobedo, Ferran Recio, Ilya Tregubov, Laurent David, Raquel Ortega, Sara Arjona (@sarjona)
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                16/Nov/15