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

Sending Message through Feedback Component

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.0.1
    • Fix Version/s: 2.0.4
    • Component/s: Feedback
    • Testing Instructions:
      Hide

      You have to have a course with one or more students.
      Create a feedback what is nonanonymous.
      After creation go to the tab "Show non-respondents".
      Select one or more students.
      Send a message.
      After clicking on "send" the error is thrown.

      Show
      You have to have a course with one or more students. Create a feedback what is nonanonymous. After creation go to the tab "Show non-respondents". Select one or more students. Send a message. After clicking on "send" the error is thrown.
    • Affected Branches:
      MOODLE_20_STABLE
    • Fixed Branches:
      MOODLE_20_STABLE
    • Pull from Repository:
    • Pull Master Branch:
      MDL-26075_head

      Description

      I was attempting to send a message through the feedback componenta and got the following message:

      Coding error detected, it must be fixed by a programmer: Could not load preference message_provider_mod_feedback_loggedoff. Does the component and name you supplied to message_send() match a row in message_providers? Message providers must appear in the database so users can configure how they will be notified when they receive messages.

      More information about this error
      Debug info: blah
      Stack trace:

      line 126 of /lib/messagelib.php: coding_exception thrown
      line 87 of /mod/feedback/show_nonrespondents.php: call to message_send()

        Gliffy Diagrams

          Attachments

            Activity

            Hide
            cedric.escher Cédric Escher added a comment -

            Same Problem in Verson 2.0.2.
            In the preferences Table i can find the property message_provider_mod_feedback_submission_loggedoff. Maybe the Feedbackplugin is looking for the wrong property

            Show
            cedric.escher Cédric Escher added a comment - Same Problem in Verson 2.0.2. In the preferences Table i can find the property message_provider_mod_feedback_submission_loggedoff. Maybe the Feedbackplugin is looking for the wrong property
            Hide
            grabs Andreas Grabs added a comment -

            I found the wrong things and fix it. Thank you for finding out!

            Show
            grabs Andreas Grabs added a comment - I found the wrong things and fix it. Thank you for finding out!
            Hide
            grabs Andreas Grabs added a comment -

            Hi, I'm hoping this time all things are correct
            Best regards
            Andreas

            Show
            grabs Andreas Grabs added a comment - Hi, I'm hoping this time all things are correct Best regards Andreas
            Hide
            samhemelryk Sam Hemelryk added a comment -

            Thanks Andreas, this has been integrated now.

            Cheers
            Sam

            Show
            samhemelryk Sam Hemelryk added a comment - Thanks Andreas, this has been integrated now. Cheers Sam
            Hide
            blepoxp Glenn Ansley added a comment -

            Confirmed error and confirmed that integrated fix works properly. Pass.

            Show
            blepoxp Glenn Ansley added a comment - Confirmed error and confirmed that integrated fix works properly. Pass.
            Hide
            stronk7 Eloy Lafuente (stronk7) added a comment -

            Closing this, it's already part of upstream, thanks!

            Show
            stronk7 Eloy Lafuente (stronk7) added a comment - Closing this, it's already part of upstream, thanks!

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Fix Release Date:
                  1/Aug/11