msndevs / msnp-sharp

Automatically exported from code.google.com/p/msnp-sharp
8 stars 2 forks source link

Unblocking group has no effect #156

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Load group conversation
2. Block the group (works successfully)
3. Attempt to unblock the group (no effect)

What is the expected output? What do you see instead?
The expected output is that when I block the group, I am able to unblock 
the contact after the group successfully. However, eventually blocking the 
group works, but unblocking it doesn't and therefore has no effect at all.

I have used Windows Live Messenger 2009 also to detect if the group has 
been blocked or not after debug testing. Blocking the contact works and is 
visible in WLM 2009, but unblocking it is not visible in WLM 2009 and still 
shows it is still blocked. Eventually this trace message shows when trying 
to take some action (typing, nudging etc...):

A server error occurred
Error Code: 250
Error Description: 250

I am indicating that no-one can see what the user is doing with this server 
error with the tests done.

What version of the product are you using? (MSNPSharp, OS, Mono etc.)
MSNP-Sharp 3.0 Stable Branch
Windows XP SP2

Please provide any additional information below.
Code was used to take on the tests, with the variable "_circle" as Circle:

// Blocks the group - has an effect         
background.messenger.Nameserver.ContactService.BlockCircle(_circle);

// Unblock the group - has no effect                  
background.messenger.Nameserver.ContactService.UnBlockCircle(_circle);

Original issue reported on code.google.com by electk...@gmail.com on 25 Oct 2009 at 7:43

GoogleCodeExporter commented 9 years ago
By the way, I should mention this too:

The variable "background" is the form, while the variable "messenger" is a 
Messenger 
class.

Original comment by electk...@gmail.com on 25 Oct 2009 at 7:44

GoogleCodeExporter commented 9 years ago
Ok, just wait. I will work it out later. Now I have some to busy with.

Original comment by freezing...@gmail.com on 25 Oct 2009 at 8:01

GoogleCodeExporter commented 9 years ago
Okay, thanks for listening. I feel like I'm bombarding these bug reports, but 
thanks 
anyway.

Andy Phan.

Original comment by electk...@gmail.com on 25 Oct 2009 at 8:03

GoogleCodeExporter commented 9 years ago
Don't worry, what you've reported is really useful for improving the library.

Once you confirm it's our fault to make the bug, just feel free to report it. 

Original comment by freezing...@gmail.com on 25 Oct 2009 at 8:07

GoogleCodeExporter commented 9 years ago
Thanks, at the moment I'm just curious into looking into Circle classes etc... 
for 
Eagle Earth, for the new release for version 0.2.1. Sorry I can't be much help 
in 
internally helping through MSNP-Sharp since I don't have much of a clue of how 
the 
system works (very little), but thanks in consideration.

If you want, I may be able to help, but probably some documenatation would be 
useful to 
guide how the system works in MSNP-Sharp.

Original comment by electk...@gmail.com on 25 Oct 2009 at 8:11

GoogleCodeExporter commented 9 years ago
Dear Andy,

In fact, I just want to invite you to be our project member (You can act as a 
tester, if you think you haven't got enough knowledge about this library). I am 
sorry to say that there's no document telling you how this system works, 
because all 
of our members who write this library is too busy to generate such a document. 
I am 
afraid that you have to read and put breakpoints into the source to check out 
how it 
works. Also, you can install a WireShark to track the MSN network data, this 
will 
help you understanding our library greatly.

I can give you a hint. The most important part of the library is 
NSMessageHandler.cs, the NSMessageHandler class processes all of the NS 
commands. If 
you want to understand how this library works, just begin with reading it.

Original comment by freezing...@gmail.com on 25 Oct 2009 at 8:21

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
Thanks for the hint, and I would like to join, with the time given. Though I'm 
in a 
busy state (for a couple of weeks), I can try to fit in the time. At the moment 
I 
hope to add these 
things if I was going to join:

 * Gaming, video and calling support etc...
 * Handwriting

My friends wanted it otherwise to work on this class, so I have dedicated 
myself to 
work on Eagle Earth and help this class. And I see, I will refer to that. And 
if 
possible, I'm in the mood to add documentation as such. Soon enough, I will 
begin 
reading. Thanks, I will 
take that in consideration.

Andy Phan.

Original comment by electk...@gmail.com on 25 Oct 2009 at 8:30

GoogleCodeExporter commented 9 years ago
Dear Andy,

If you want to join and work as a developer, you need to know several priciple 
on 
our library development.

First of all, we provide general MSN protocol support ONLY. Because we are 
developing a general protocol library, not a MSN client. That means, we will do 
nothing about none-protocol related features, or specific features, for 
example, 
handwriting support and Gaming (There are too many Games and MSN for different 
countries have different games. If we support this feature, our library is not 
a 'general protocol library'. I hope this won't hurt your passion...).

Second, you need to consider users who complie the library in Linux. If you 
want to 
support handwriting, you just need to consider how this thing be supported 
under 
Linux?

Original comment by freezing...@gmail.com on 25 Oct 2009 at 8:42

GoogleCodeExporter commented 9 years ago
By the way, would you please tell me which university are you study in and 
where do 
you come from?

Original comment by freezing...@gmail.com on 25 Oct 2009 at 8:45

GoogleCodeExporter commented 9 years ago
From what you have written there, I can see what you are talking about. In 
general, I'm 
assuming you are focusing on the general areas of the MSN protocol. I do share 
other 
passions for this (such as file transfer), otherwise thanks for the advice.

I would like to join, and otherwise I completely that it must cross-platform 
otherwise. 
Otherwise, I can use Ubuntu to help with this. Thanks for the extra advice, it 
makes a 
bit clearer what the intentions are. Otherwise, thank you for the advice.

Original comment by electk...@gmail.com on 25 Oct 2009 at 8:50

GoogleCodeExporter commented 9 years ago
I don't go to a university, instead I'm a student, and I live in Australia.

Original comment by electk...@gmail.com on 25 Oct 2009 at 8:54

GoogleCodeExporter commented 9 years ago
Ahaa, Andy, I am sorry if what I've said hurts your passion, because I am 
always a 
straight forward man.

What I want to tell you is, as a developer, we need to do what we SHOULD, 
instead of 
what we CAN, and concentration is extremly important.

You're a student, woooo, cooool!

I will add you as a member after talking to Ethem.

Original comment by freezing...@gmail.com on 25 Oct 2009 at 9:00

GoogleCodeExporter commented 9 years ago
Okay thanks, I would like to dedicate to helping such a useful assembly. This 
advice is 
quite useful, I'm hoping to also hone my programming skills significantly from 
what I 
have now, and gain MSN experience too.

"What I want to tell you is, as a developer, we need to do what we SHOULD, 
instead of 
what we CAN, and concentration is extremly important."
I will definitely keep that in mind.

Original comment by electk...@gmail.com on 25 Oct 2009 at 9:07

GoogleCodeExporter commented 9 years ago
Hi Andy,

I can validate this issue. I use my example client, click "Circle Tests" menu, 
everything is ok. Please make sure this is not a false report.

Original comment by freezing...@gmail.com on 26 Oct 2009 at 4:29

GoogleCodeExporter commented 9 years ago
Okay, I'll try that. I have tested this a couple of times, and I'm sure this is 
not a 
false report, however I will check again.

I currently use Eagle Earth for these tests, eventually it seems to take no 
effect. I 
wil attempt to try both Eagle Earth and the MSNP-Sharp example client. 
Currently I have 
other things to do, please wait soon enough today. I'll reply once I'm able to 
contact 
you again and look onto this issue.

Original comment by electk...@gmail.com on 26 Oct 2009 at 5:11

GoogleCodeExporter commented 9 years ago
Okay, I have found out that blocking a group and unblocking it works now. But 
now I'm 
recieving another bug with contacts not shown correctly in a group (sometimes). 
I have 
attached a image to show this, in comparison to my account and my robot account.

Eventually they don't match up, and please mind the text; I have replaced a 
couple for 
the reason of privacy.

Original comment by electk...@gmail.com on 26 Oct 2009 at 7:54

Attachments:

GoogleCodeExporter commented 9 years ago
I have deleted the image, please wait for the new one.

Original comment by electk...@gmail.com on 26 Oct 2009 at 7:57

GoogleCodeExporter commented 9 years ago
Okay, refer to this image now. Changed it because of privacy reasons.

Original comment by electk...@gmail.com on 26 Oct 2009 at 8:02

Attachments:

GoogleCodeExporter commented 9 years ago
Ok, I will take a look.

Original comment by freezing...@gmail.com on 26 Oct 2009 at 8:08

GoogleCodeExporter commented 9 years ago
Okay, I'm not sure, but when I block the group, then unblock the group. When I 
attempt 
to send a message as such (including nudging), eventually the message isn't 
sent, and 
shows a 250 server error on the Trace information. Also, the contact does not 
rejoin 
the group after being unblocked.

Everything turns out fine when I log the contact off, and then sign the robot 
again. 
Only that during it causes this problem.

Original comment by electk...@gmail.com on 27 Oct 2009 at 9:50

GoogleCodeExporter commented 9 years ago
This issue was closed by revision r1369.

Original comment by freezing...@gmail.com on 29 Oct 2009 at 1:37

GoogleCodeExporter commented 9 years ago
This issue was closed by revision r1370.

Original comment by freezing...@gmail.com on 29 Oct 2009 at 1:38

GoogleCodeExporter commented 9 years ago
Okay, it works. Good job, I'll see what I can do next. I might be able to read 
to MSNP-
Sharp later on and hopefully I can try to help.

Also, handwriting I have collected some information, but I may be having some 
trouble 
putting it as a cross-platform, just to let you know. Thanks.

Original comment by electk...@gmail.com on 30 Oct 2009 at 5:29

GoogleCodeExporter commented 9 years ago
Also, I am willing to join you in the Eagle Earth as a reference to alternative 
binary 
for testing MSNP-Sharp, if you want.

Original comment by electk...@gmail.com on 30 Oct 2009 at 12:39

GoogleCodeExporter commented 9 years ago

Original comment by hepha...@gmail.com on 30 Oct 2009 at 4:56