Export to GitHub

contactlistimporter - issue #8

Hotmail test failing


Posted on Jul 28, 2008 by Quick Camel

What steps will reproduce the problem? 1. Run the test to import contacts from Hotmail

What is the expected output? What do you see instead?

Expect test to pass, instead it fails with the following stacktrace:

com.xdatasystem.contactsimporter.ContactListImporterException: Microsoft hotmail changed it's protocol, cannot import contactslist at com.xdatasystem.contactsimporter.hotmail.HotmailImporter.throwProtocolChanged(HotmailImporter.java:169) at com.xdatasystem.contactsimporter.hotmail.HotmailImporter.getInputValue(HotmailImporter.java:152) at com.xdatasystem.contactsimporter.hotmail.HotmailImporter.login(HotmailImporter.java:51) at com.xdatasystem.contactsimporter.ContactListImporterImpl.getContactList(ContactListImporterImpl.java:82) at com.xdatasystem.contactsimporter.ContactListImporterTest.testImporter(ContactListImporterTest.java:45) at com.xdatasystem.contactsimporter.ContactListImporterTest.testYahooImporter(ContactListImporterTest.java:35) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at junit.framework.TestCase.runTest(TestCase.java:164) at junit.framework.TestCase.runBare(TestCase.java:130) at junit.framework.TestResult$1.protect(TestResult.java:106) at junit.framework.TestResult.runProtected(TestResult.java:124) at junit.framework.TestResult.run(TestResult.java:109) at junit.framework.TestCase.run(TestCase.java:120) at org.eclipse.jdt.internal.junit.runner.junit3.JUnit3TestReference.run(JUnit3TestReference.java:130) at org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:38) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:460) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:673) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:386) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:196)

What version of the product are you using? On what operating system?

Latest source from SVN

Please provide any additional information below.

Is this a real issue or a false positive. Feel free to contact me at the address below: donal AT onebigplanet DOT com

BTW, one of my colleagues has indicated that the company would be pleased to make a donation if we can get this issue resolved.

Thanks!

Comment #1

Posted on Jul 29, 2008 by Swift Elephant

But php version for importing contact is still working, is it a little wired? Hope this problem could be solved quickly! Thanks alot! Java is perfect!

Comment #2

Posted on Jul 31, 2008 by Quick Camel

I don't know what PHP version you're talking about, but if one exists, then I don't find it weird that one could work and not the other, as they're obviously not the same code base.

Comment #3

Posted on Aug 4, 2008 by Swift Elephant

http://svetlozar.net/address-book-importer-demo.html

I means this php version, try it and probably you can find out something, by the way, I am not for the advertisement, I am working in java always.

Comment #4

Posted on Aug 18, 2008 by Happy Panda

This means that the protocol for getting contacts changed for hotmail.. i will look into it now

Comment #5

Posted on Aug 18, 2008 by Happy Panda

I fixed it, there was only a minor change in the protocol, but enough to stop the hotmail contact importer from working.

Should work now, i will commit the changes. The zip that can be downloaded is not updated!

Please donate if you are using it for commercial purposes, i am a student and need money for beer ;-)

Comment #6

Posted on Aug 19, 2008 by Happy Cat

Still the hotmail import is not working

Comment #7

Posted on Aug 19, 2008 by Happy Panda

it was fixed yesterday, but the commit failed so the code-trunk was not updated. Revision 16 has the fix

Status: Fixed

Labels:
Type-Defect Priority-Medium