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

Glossary 'entry list' format: entries load in popups, cause broken links

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Minor Minor
    • 2.1.5, 2.2.2
    • 2.1.1
    • Glossary
    • MOODLE_21_STABLE
    • MOODLE_21_STABLE, MOODLE_22_STABLE
    • MDL-31647-master
    • Hide

      Change to a different glossary format other than 'entry list'.

      Show
      Change to a different glossary format other than 'entry list'.
    • Hide

      1. Create a main glossary on a course, default settings. Add one entry with concept/name 'test' set to auto-link.
      2. Create a secondary glossary on a course, default settings except that the format should be 'Entry list'. Add an entry with any name and a value which includes the word 'test'.
      3. Go to the secondary glossary's main page. Click on the entry.

      EXPECTED BEHAVIOUR: Entry correctly opens in the current browser window.

      ACTUAL BEHAVIOUR: The entry unexpectedly opens in a new browser window. (This is terrible usability. You're in the glossary itself, things shouldn't be popping up all over.) You get links to the glossary entry which are normal links, but there's an onclick which takes you to the same link with popup=1 in a new window.

      4. In the popup window which shouldn't have opened, there is a glossary underline (from the main glossary) on the word 'test'. Click this word.

      EXPECTED BEHAVIOUR: Glossary popup for 'test' from main glossary appears (within the same browser window).

      ACTUAL BEHAVIOUR: Spinning cursor effect appears, but nothing happens.

      Show
      1. Create a main glossary on a course, default settings. Add one entry with concept/name 'test' set to auto-link. 2. Create a secondary glossary on a course, default settings except that the format should be 'Entry list'. Add an entry with any name and a value which includes the word 'test'. 3. Go to the secondary glossary's main page. Click on the entry. EXPECTED BEHAVIOUR: Entry correctly opens in the current browser window. ACTUAL BEHAVIOUR: The entry unexpectedly opens in a new browser window. (This is terrible usability. You're in the glossary itself, things shouldn't be popping up all over.) You get links to the glossary entry which are normal links, but there's an onclick which takes you to the same link with popup=1 in a new window. 4. In the popup window which shouldn't have opened, there is a glossary underline (from the main glossary) on the word 'test'. Click this word. EXPECTED BEHAVIOUR: Glossary popup for 'test' from main glossary appears (within the same browser window). ACTUAL BEHAVIOUR: Spinning cursor effect appears, but nothing happens.

      Links to a different glossary inside glossary window popup entries (not the current in-page style popup, the old separate-browser-window popup) fail.

      If you click on such a link, you get a spinny cursor and nothing happens. See testing instructions.

      Glossary window popup entries are only used from the 'entry list' glossary format.

      I think the best way to solve this problem would be to ensure that glossary entries do not open in a separate-browser-window popup in the 'entry list' glossary format. If you remove the popup=1 from the URL and have it load as a normal page instead of in a new window, it works fine, and the glossary links inside that window operate correctly.

            quen Sam Marshall
            quen Sam Marshall
            Dan Poltawski Dan Poltawski
            Sam Hemelryk Sam Hemelryk
            Rossiani Wijaya Rossiani Wijaya
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:

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