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

Items in manifest rendered as link, even though they don't refer to a resource

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Won't Fix
    • Icon: Minor Minor
    • None
    • 2.2.1
    • IMS-CP resource type
    • Debian
    • MOODLE_22_STABLE
    • Hide

      Apply attached patch.

      Show
      Apply attached patch.
    • Hide

      Load a IMS-CP package which includes items with no resource ("identifierref" attribute). View it.

      If the following are true, the fix worked:
      1. The first item with a resource is displayed when the IMSCP is viewed.
      2. Items without resources are non-linked plain text.
      3. Clicking on an item without resources displays a list of child node titles in the content area.
      4. Clicking one of child nodes listed loads the corresponding item (with or without resource) in the in the content area.

      Show
      Load a IMS-CP package which includes items with no resource ("identifierref" attribute). View it. If the following are true, the fix worked: 1. The first item with a resource is displayed when the IMSCP is viewed. 2. Items without resources are non-linked plain text. 3. Clicking on an item without resources displays a list of child node titles in the content area. 4. Clicking one of child nodes listed loads the corresponding item (with or without resource) in the in the content area.

      View a IM-CP which includes items with no resource ("identifierref" attribute).

      When rendered, every branch and leaf is output as a link - even when there is no resource to link to specified in the manifest.

      Expected results: items without resources are rendered as non-linked plain text.

      Actual results: items without resources are rendered as links.

      Patch to fix this attached.

            Unassigned Unassigned
            balchd Dave Balch
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:

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