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

Manual links in HTML wiki headers cause edit link to break

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • Minor
    • None
    • 2.7.3, 2.8.1, 2.9
    • Wiki (2.x)
    • MOODLE_27_STABLE, MOODLE_28_STABLE, MOODLE_29_STABLE

    Description

      In an HTML page, if you have a manually created link in the header, clicking on the edit link will result in a "invalidsection" error, instead of showing the edit page for that section.

      Reproduction steps:

      1. Create a wiki
      2. Create the first page as HTML
      3. In your text editor, switch to HTML. Insert the following:

        <h1>This is an example header</h1>
        <p>This is an example paragraph</p>
        

      4. Then switch your text editor back
      5. Select one of the words in the header
      6. Click the link button and link it to any site (e.g. moodle.org)
      7. View the page
      8. Click the edit link on the right of the header
      9. An error will be displayed

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              johno John Okely
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Clockify

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