Error: There is no one available to have a dialogue with

Error: There is no one available to have a dialogue with

by Antonia Martinez -
Number of replies: 7

I have the module set to Teacher-Student, which the instructions say allows either one of us to initiate the discussion. When I initiate, works fine. When the student tries to initiate, it says "There is no one available to have a dialogue with." I double-checked that I am assigned Teacher role for the course. Suggestions?

Average of ratings: -
In reply to Antonia Martinez

Re: Error: There is no one available to have a dialogue with

by Stuart Hiles -

Hi Antonia,

I'm having the same problem - have you managed to fix it?

In reply to Stuart Hiles

Re: Error: There is no one available to have a dialogue with

by Andy Tagliani -
This seems really a bug! I try it under different settings, so i will see in the bug tracker is there a entry, if not i will open a ticket, latest tomorrow.

Andy
In reply to Andy Tagliani

Re: Error: There is no one available to have a dialogue with

by Andy Tagliani -
It can be i found a solution, but please wait if the developer see this thread and (so i hope) he will give a feedback. We will give him some days, or i open a ticket as i wrote before wink

In the file /moodle/mod/dialogue/loacallib.php in line 219, here is what the line is showing at the moment:

if ($otheruser->authority == 0) {

I mean it must be:
if ($otheruser->id == 0) {

But please wait for the feedback of the developer.
Andy
In reply to Andy Tagliani

Re: Error: There is no one available to have a dialogue with

by Andy Tagliani -
In reply to Andy Tagliani

Re: Error: There is no one available to have a dialogue with

by Ali Hastie -
Picture of Particularly helpful Moodlers

Hi Andy

This worked for me (version 1.8.3+)

Thanks,

Ali.

In reply to Ali Hastie

Re: Error: There is no one available to have a dialogue with

by Andy Tagliani -
You´re welcome Ali, what i did not understand, that they have not fixed in the last version ...

Bye Andy
In reply to Andy Tagliani

Re: Error: There is no one available to have a dialogue with

by Howard Miller -
Picture of Core developers Picture of Documentation writers Picture of Particularly helpful Moodlers Picture of Peer reviewers Picture of Plugin developers
It's not quite the fix. It's even easier than that. The test is now meaningless, as that function is covered by roles and we cannot detect it. I have simply commented it out. Fixed in latest version CVS.

Thanks for spotting this.