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

Undefined variable: href when creating IMSCP

    XMLWordPrintable

    Details

    • Story Points:
      1
    • Sprint:
      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

              Assignee:
              peterdias Peter Dias
              Reporter:
              sarjona Sara Arjona (@sarjona)
              Peer reviewer:
              Mathew May Mathew May
              Integrator:
              Andrew Lyons Andrew Lyons
              Tester:
              Anna Carissa Sadia Anna Carissa Sadia
              Participants:
              Component watchers:
              Adrian Greeve, Jake Dallimore, Mathew May, Mihail Geshoski, Peter Dias, Sujith Haridasan
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Fix Release Date:
                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