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

Undefined variable: href when creating IMSCP

    XMLWordPrintable

Details

    • MOODLE_38_STABLE, MOODLE_39_STABLE
    • MOODLE_310_STABLE, MOODLE_39_STABLE
    • MDL-68958-master
    • Hide
      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 backup-moodle2-course-16-cctest1-20140505-0736-nu.imscc .
      5. Save changes.
      6. Confirm no error comes up
      7. Confirm the content of 'News forum' is 'News forum General news and announcements'
      Show
      Login as an admin. Go to a course. Create an "IMS content package" resource. Upload the attached sample IMS Common Cartridge package backup-moodle2-course-16-cctest1-20140505-0736-nu.imscc . Save changes. Confirm no error comes up Confirm the content of 'News forum' is 'News forum General news and announcements'
    • 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
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

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

                  Clockify

                    Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.