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

Remove the call to set_popup_notification_allowed from message/lib.php

XMLWordPrintable

    • Icon: Improvement Improvement
    • Resolution: Fixed
    • Icon: Minor Minor
    • 2.4
    • 2.1.7, 2.3.1
    • Messages
    • Any
    • MOODLE_21_STABLE, MOODLE_23_STABLE
    • MOODLE_24_STABLE
    • MDL-34367_message_lib
    • Hide

      You'll need 2 users in 2 separate browsers (firefox and chrome for example). The users will be the message sender and the message recipient.

      Log in as the recipient and check their messaging preferences. Make sure that personal messages are set to popup for both online and offline.

      Leave this page open.

      Log in as the sender and sender the recipient a message.

      As the recipient reload the messaging preferences page and check that you dont get a messaging popup.

      Go to My profile > messages and check that you dont get a messaging popup.

      Go to a course page and you should now get a messaging popup.

      If you mess up this somewhat delicate process somehow be aware that Moodle will only show popups every few minutes. If you need to start over go get a cup of coffee or do another test and come back to it.

      Show
      You'll need 2 users in 2 separate browsers (firefox and chrome for example). The users will be the message sender and the message recipient. Log in as the recipient and check their messaging preferences. Make sure that personal messages are set to popup for both online and offline. Leave this page open. Log in as the sender and sender the recipient a message. As the recipient reload the messaging preferences page and check that you dont get a messaging popup. Go to My profile > messages and check that you dont get a messaging popup. Go to a course page and you should now get a messaging popup. If you mess up this somewhat delicate process somehow be aware that Moodle will only show popups every few minutes. If you need to start over go get a cup of coffee or do another test and come back to it.

      message/lib.php is calling $PAGE->set_popup_notification_allowed(false);

      lib files shouldnt be calling stuff. The individual files that are including the lib should be calling the function if they need it called.

            andyjdavis Andrew Davis
            andyjdavis Andrew Davis
            Sam Hemelryk Sam Hemelryk
            Dan Poltawski Dan Poltawski
            Ankit Agarwal Ankit Agarwal
            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.