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

Blocks disappear from "My home" page when customising it

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: 2.8
    • Fix Version/s: 2.8
    • Component/s: Dashboard (My home)
    • Labels:
    • Testing Instructions:
      Hide

      Install

      1. Create a fresh Moodle instance
      2. Log in as a user and go to my/ home
      3. Make sure the page contains the following blocks:
        • Private files, online users, my latest badges, calendar and upcoming events.
      4. Click the button to customise your page and make sure the block do not disappear
      5. Add and remove blocks, and save
      6. Make sure your changes have been saved
      7. Click to customise your changes, then click 'Reset'
      8. Make sure the page was reset to what it was the first time you opened it.
      9. Go to Home ► Site administration ► Appearance ► Default My home page
      10. Make sure the default blocks are the similar to the ones you saw on my/ page.
      11. Confirm that you can edit that page without losing the existing blocks.

      Upgrade

      1. Before upgrading:
        • Customise the home page of user A
        • Reset the home page of user B to its default
        • Add the "Latest news" block to the default my/ page
      2. Upgrade
      3. Make sure the my/ page of...
        • ... user A has NOT changed
        • ... user B has been updated with the new blocks (badges, calendar, upcoming events)
      4. Make sure that the default my/ page contains the new blocks, and the previously added "Latest news"
      5. As user A, try to customise your my/ page and confirm that it works as expected
      6. As user B, customise your my/ page and confirm that you do not lose the blocks you had before
      7. As any of those, try to "reset" your my/ to the default and confirm that it worked.

      Upgrade from an old version

      1. Install Moodle from d29fb4ac65c42e0a0a12185f3f74b8e70c98f429 or before
      2. Repeat test above
      Show
      Install Create a fresh Moodle instance Log in as a user and go to my/ home Make sure the page contains the following blocks: Private files, online users, my latest badges, calendar and upcoming events. Click the button to customise your page and make sure the block do not disappear Add and remove blocks, and save Make sure your changes have been saved Click to customise your changes, then click 'Reset' Make sure the page was reset to what it was the first time you opened it. Go to Home ► Site administration ► Appearance ► Default My home page Make sure the default blocks are the similar to the ones you saw on my/ page. Confirm that you can edit that page without losing the existing blocks. Upgrade Before upgrading: Customise the home page of user A Reset the home page of user B to its default Add the "Latest news" block to the default my/ page Upgrade Make sure the my/ page of... ... user A has NOT changed ... user B has been updated with the new blocks (badges, calendar, upcoming events) Make sure that the default my/ page contains the new blocks, and the previously added "Latest news" As user A, try to customise your my/ page and confirm that it works as expected As user B, customise your my/ page and confirm that you do not lose the blocks you had before As any of those, try to "reset" your my/ to the default and confirm that it worked. Upgrade from an old version Install Moodle from d29fb4ac65c42e0a0a12185f3f74b8e70c98f429 or before Repeat test above
    • Affected Branches:
      MOODLE_28_STABLE
    • Fixed Branches:
      MOODLE_28_STABLE
    • Pull from Repository:
    • Pull Master Branch:
      MDL-47189-master-2nd

      Description

      Replication steps:-

      1. As any user go to my home page
      2. click on "customise"
      3. Make sure the layout and blocks remains same before and after the click (They don't at the moment as shown in the pictures)

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Fix Release Date:
                  10/Nov/14