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

Error occurred during the course publication

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Deferred
    • Affects Version/s: 3.1
    • Fix Version/s: None
    • Component/s: Hub
    • Labels:
      None
    • Testing Instructions:
      Hide
      1. Use a program like ngrok to make your site is publicly accessible.
      2. Visit 'Site administration' > 'Notifications' and register your site.
      3. Visit a course page.
      4. Select 'Publish' under 'Course administration'.
      5. Press 'Share this course for people to download'.
      6. Select 'Moodle.net' on the next page and press 'Upload this course to a hub'.
      7. Fill in the require fields and press 'Upload this course to moodle.net'.
      8. Ensure everything works as expected.
      Show
      Use a program like ngrok to make your site is publicly accessible. Visit 'Site administration' > 'Notifications' and register your site. Visit a course page. Select 'Publish' under 'Course administration'. Press 'Share this course for people to download'. Select 'Moodle.net' on the next page and press 'Upload this course to a hub'. Fill in the require fields and press 'Upload this course to moodle.net'. Ensure everything works as expected.
    • Affected Branches:
      MOODLE_31_STABLE

      Description

      Prerequisite: This test requires the site to be registered on a hub.

      1. Login as manager and access the course page.
      2. Select Publish in the course administration.
      3. Select Share option, then select a hub.
      4. Fill in the require fields, add an image and press upload.

      You will see following error.

      An error occurred during the course publication (Unknown error). Please try again later.
       
      Debug info: Error code: errorcoursepublish
      Stack trace: line 194 of /course/publish/metadata.php: moodle_exception thrown
      

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: