Uploaded image for project: 'Moodle app'
  1. Moodle app
  2. MOBILE-1283

Description in my courses is empty if the description only has media in it

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.5
    • Fix Version/s: 2.5
    • Component/s: Courses
    • Labels:
    • Testing Instructions:
      Hide
      1. Create/Edit a course and insert a single image in the description.
      2. Go to my courses in the app and check that you can see a expand icon.
      3. Edit the course and add some text to the description along with the image.
      4. Check that the expand icon is no longer seen in the app, it shows the text instead.
      Show
      Create/Edit a course and insert a single image in the description. Go to my courses in the app and check that you can see a expand icon. Edit the course and add some text to the description along with the image. Check that the expand icon is no longer seen in the app, it shows the text instead.
    • Affected Branches:
      MOODLE_25_STABLE
    • Fixed Branches:
      MOODLE_25_STABLE

      Description

      Since we're removing all the HTML tags from the descriptions in My Courses, if a description only has images/videos and so it will display an empty description. This description won't be able to be expanded.

      One solution is to show a certain icon if we detect that the description only has media in it

        Attachments

          Activity

            People

            • Assignee:
              dpalou Daniel Palou
              Reporter:
              dpalou Daniel Palou
              Peer reviewer:
              Frédéric Massart
              Integrator:
              Juan Leyva
              Tester:
              Juan Leyva
              Participants:
              Component watchers:
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

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