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

Placeholder used as content in block user tour (race condition)

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Minor Minor
    • None
    • 4.3.8, 4.4.4, 4.5
    • User Tours
    • MOODLE_403_STABLE, MOODLE_404_STABLE, MOODLE_405_STABLE

      There are times when the block placeholder will be used as the user tour content, and not the actual block content. This could be because, at the time of cloning the node into the tour highlight box, the placeholder is momentarily there.

      To reproduce:

      1. Go to site admin -> appearance -> user tours
      2. Create a new tour
      3. Give the tour a name
      4. Set 'Apply to URL match' to FRONTPAGE_MY
      5. Set 'Show with backdrop' to Yes
      6. Save changes
      7. Disable the other tours using the FRONTPAGE_MY and only enable your new tour
      8. Click on the 'View' icon for your tour to create some steps
      9. Click 'New step'
      10. Set the 'Target type' to Block
      11. Set the block to Recently accessed items
      12. Set 'Title' to anything
      13. Set 'Content' to anything
      14. Save changes
      15. Go to the dashboard.
      16. If not already there, add the 'Recently accessed items' block
      17. Click the ? icon and reset the user tour for this page.
      18. Keep refreshing the page until the placeholder gets stuck in the highlight box.
      19. If that doesn't work, purge your caches and refresh the page again.

      These last steps might need to be repeated due to the race conditions between the placeholder and the user tour content cloning.

            Unassigned Unassigned
            david.woloszyn@moodle.com David Woloszyn
            Votes:
            1 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:

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