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

Undefined variable: href when creating IMSCP

    XMLWordPrintable

Details

    • 1
    • 4.0 holding pattern 11, 4.0 holding pattern 12

    Description

      Steps to reproduce:

      1. Login as an admin.
      2. Go to a course.
      3. Create an "IMS content package" resource.
      4. Upload the attached sample IMS Common Cartridge package.
      5. Save changes.

       

      Expected result:

      There are no errors.

       

      Current result:

      The following error is displayed:

      Notice: Undefined variable: href in moodle/mod/imscp/locallib.php on line 247Notice: Undefined variable: href in moodle/mod/imscp/locallib.php on line 247Call Stack# Time Memory Function Location1 0.0001 413160 {main}( ) .../modedit.php:02 0.1141 8314616 add_moduleinfo( ) .../modedit.php:1543 0.1202 8353472 imscp_add_instance( ) .../modlib.php:1284 0.1600 8425664 imscp_parse_structure( ) .../lib.php:1265 0.1608 8431200 imscp_parse_manifestfile( ) .../locallib.php:1106 0.1609 8432304 imscp_recursive_href( ) .../locallib.php:180

       

      Attachments

        Issue Links

          Activity

            People

              peterdias Peter Dias
              sarjona Sara Arjona (@sarjona)
              Mathew May Mathew May
              Andrew Lyons Andrew Lyons
              Anna Carissa Sadia Anna Carissa Sadia
              Ilya Tregubov, Kevin Percy, Mathew May, Mihail Geshoski, Shamim Rezaie
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                8/Mar/21

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 2 hours, 35 minutes
                  2h 35m