BUG - Compiler import problem

19 Apr 2013

IE9 - import code from repository page no longer works (import this library or import this program button).

Importing from within the compiler is still possible.

EDIT : Solved - had to do a full IE reset to get it working again.

EDIT : The problem is back - solution: see below

I did additional tests (with IE9 and Chrome)
General note : After logging in on the mbed page - in IE9, all pages start with http:, while Chrome shows https:.
I opened the SDK page: http://mbed.org/handbook/mbed-SDK (!!!even when logged in, IE9 only shows http:!!!).
In IE9, When i hover the mouse over the import this library into a program link, i get http://mbed.org/compiler/#import:http://mbed.org/users/mbed_official/code/mbed-NXP/;mode:lib.
Subsequently, clicking on the link in IE9 only opens the compiler page - the import window does not appear.
When i copy this link and change http: to https:, everything works fine.
A full IE9 reset temporariliy solved this problem. I did not install any extra add-ons in IE9 after the reset, nor did i change any settings.

Cause
My 'Favorites' bar had following link to the mbed site: http://mbed.org and i saved my login credentials in IE9.
When i click on the link, the mbed page opens and i am logged in but the address bar still shows http: instead of https:.
That's why the import this library into a program does not work.

Solution
Always make sure the address bar shows https: when we are logged in.
However, there is a problem: Most links to repository pages on the Forums or Questions pages use http:. When we click on those links, we are redirected to the correct page allbeit they open with http:. Finally, when we click on the Import... button, the compiler opens but the import window does not appear due to the http: / https: problem.

Conclusion
IE9 seems to get confused wether we are accessing a http: or https: page (it does not automatically change to https: when logon credentials are saved).

19 Apr 2013

Hi Frank,

Thanks for pointing this out and providing the detailed analysis. We'll work on getting a fix in place asap.

Regards,

Dan

22 Apr 2013

Hi Frank,

This should now be fixed.

Dan

22 Apr 2013

Dan Ros wrote:

Hi Frank,

This should now be fixed.

Dan

Thanks for the fix - just did a test run - everything works fine now.
Excellent work.