Serhii Kulibaba
Posts: 150
Joined: Tue Aug 27, 2013 1:47 pm

Geolocation bug? - both onsuccess and onfail events are executed

Hello,

Please change the URL of the app test preview from http to https

Ole Henrik Oftedal
Posts: 0
Joined: Thu Apr 19, 2012 4:52 pm

Geolocation bug? - both onsuccess and onfail events are executed

Hi again!

Are you here to help?

I am trying to make it more easy for you.

The solution is now placed on a real https server.

you can try it from this site

https://timeflex.no/geolocationbug

Illya Stepanov
Posts: 0
Joined: Mon Mar 18, 2013 8:48 am

Geolocation bug? - both onsuccess and onfail events are executed

Hello -

With your provided link it is works. Please expand the details what exactly isn't working and exact steps to reproduce the behavior.

Ole Henrik Oftedal
Posts: 0
Joined: Thu Apr 19, 2012 4:52 pm

Geolocation bug? - both onsuccess and onfail events are executed

Please read the whole case. Look in the problem description on the top.

"
If I invoke the service from Firefox (ver 48.0.2.6079 (Latest I think for windows)) then both onsuccess and onfail events are fired in most cases (!).
"

I have made it very easy you. Just hit the button a couple of times.

You can reproduce it on PC, Mac or Phone.

I was told from you to use Firefox and not Chrome. It seems to work in Chrome but then you need https.

Ole Henrik Oftedal
Posts: 0
Joined: Thu Apr 19, 2012 4:52 pm

Geolocation bug? - both onsuccess and onfail events are executed

Excuse me? I have tried with frame and without. The same problem. Have you reproduced the problem in Firefox? Please let me know. I have now installed a fresh win 7 with FF and tried easily to reproduce the problem. It should be easily reproducable.

It you want to change my "geolocationbug" app. Please go ahead. Do whatever you like with it. This app is only for demonstrating for you the problem I have.

Ole Henrik Oftedal
Posts: 0
Joined: Thu Apr 19, 2012 4:52 pm

Geolocation bug? - both onsuccess and onfail events are executed

Why are you not helping me anymore?

Evgene Karachevtsev
Posts: 12
Joined: Mon Apr 28, 2014 1:12 pm

Geolocation bug? - both onsuccess and onfail events are executed

Hello Ole,

We're still working on your issue, there was a delay due to the weekend. We'll get back to you with the update soon.

Ole Henrik Oftedal
Posts: 0
Joined: Thu Apr 19, 2012 4:52 pm

Geolocation bug? - both onsuccess and onfail events are executed

I think there is a bug in the builder/geolocation service.

When using geolocation we must quickly kill det implicit timer in the onsuccess event.

If we don't, then we get first an onsuccess event and then it fails later when the timeout periode ends (producing a onerror event also).

Return to “Issues”