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

Display a better error if a dependency isn't found when deploying an H5P package

    XMLWordPrintable

Details

    • Improvement
    • Status: Tested
    • Minor
    • Resolution: Unresolved
    • 3.9.5
    • None
    • H5P
    • Hide

      This issue only needs to be tested in 1 device.

      1. In the app, login in our master site.
      2. Go to MM Dev Testing > H5P > MOBILE-3917.
      3. Click "Download file". Check that, after unzipping the file, the app displays the error: Missing dependency H5PEditor.ColorSelector 1.3 required by H5P.ImageHotspots 1.9.
      Show
      This issue only needs to be tested in 1 device. In the app, login in our master site. Go to MM Dev Testing > H5P > MOBILE-3917 . Click "Download file". Check that, after unzipping the file, the app displays the error: Missing dependency H5PEditor.ColorSelector 1.3 required by H5P.ImageHotspots 1.9.
    • MOODLE_39_STABLE
    • Moodle App 4.0

    Description

      Right now the app displays an error about a NOT NULL constraint, we should display a better error.

      The problem is in this function. If the dependency isn't included in the package (or it has a different version), it's not found in the DB and dependencyId is undefined.

      Attachments

        Activity

          People

            dpalou Dani Palou
            dpalou Dani Palou
            Pau Ferrer Pau Ferrer
            Juan Leyva Juan Leyva
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated: