Page 3 of 4

Geolocation bug? - both onsuccess and onfail events are executed

Posted: Mon Sep 12, 2016 9:29 am
by Serhii Kulibaba

It works fine on my PC, please look at the attached screenshot: Image

You have to:
change http to https
remove the frame
allow the website to get your current location

These rules are the same for all modern websites


Geolocation bug? - both onsuccess and onfail events are executed

Posted: Mon Sep 12, 2016 9:40 am
by Ole Henrik Oftedal

Hallo!

Did you hit the button "Button" multiple times?

What is your Firefox version running on what OS?

See here:

Ole. Image


Geolocation bug? - both onsuccess and onfail events are executed

Posted: Mon Sep 12, 2016 1:07 pm
by Serhii Kulibaba

Please change a request parameter "maximumAge" of the geolocation service to 1000: Image

If it is = 0, the app fires an error


Geolocation bug? - both onsuccess and onfail events are executed

Posted: Mon Sep 12, 2016 1:53 pm
by Ole Henrik Oftedal

I have also tried 0 and 3000 and also 1000. Hit the button more then four times. You wil certainly get an error now.

I have now changed to 1000 like you have instructed. The error still persist (after some time).

Ole.


Geolocation bug? - both onsuccess and onfail events are executed

Posted: Tue Sep 13, 2016 8:43 am
by Ole Henrik Oftedal

New version 2.0 out
https://timeflex.no/geolocationbug

Check that is says Ver 2.0 - Geolocationbug in the header. If not refresh page.
***New in this version: MaximumAge option is set to 1000.

After hitting "Button" button some times you get an errormessage :-(
(with latest Firefox version on Mac, Android or PC (all os))


Geolocation bug? - both onsuccess and onfail events are executed

Posted: Wed Sep 14, 2016 5:57 am
by Ole Henrik Oftedal

Hello. Why are you not helping me anymore?
The bug is also there in the new Firefox beta.
Belive it or not. Firefox run on the IPad works fine :-)


Geolocation bug? - both onsuccess and onfail events are executed

Posted: Wed Sep 14, 2016 12:16 pm
by Illya Stepanov

Hi Ole -

Our engineers have tested your case and this works as expected on our side.
And please note that we don't support Firefox beta builds.


Geolocation bug? - both onsuccess and onfail events are executed

Posted: Wed Sep 14, 2016 6:48 pm
by Ole Henrik Oftedal

You havent really tested have you?

And please read the whole case. The beta test was just a digression if you know what that means. I have really given it to you. You have full access to the reproduce App (geolocationbug) and the app is now running on a real https server.

I have tested on more than five devices/computers so far. They nearly all fail (!)

Right now in this minute I have spotted in our office one Lenovo Android and one Windows 10 Lamina tablet (they are seldom used). Their configuration is not altered and config is very much "out of the box".

So I installed Firefox on both. And both of the computers failed (https://timeflex.no/geolocationbug). And I am not suprised.

Do you really want to help? Or do you just want me to bug off. I can do that, but you should really take it serious when one of your Appery components are not working as expected. Next time you will have this bug come back to you and your support situation will be even more stressfull than it is now. And your customer wont, in the long run, tolerate first to make a system for reproducing the error and the next step is to neglect the fact that the components are failing when they obivous are.

And btw. This should be a dialogue. Your engineers have not come back with almost no details of what they have done to test.

If you really mean what your slogan says "We are here to help" and your engineer still cannot understand the case then I invite you to a short Teamviewer session with me so you can see for yourself. But I know you dont have the time for this as you dont have the time to really try to find the problem.


Geolocation bug? - both onsuccess and onfail events are executed

Posted: Wed Sep 14, 2016 7:51 pm
by Illya Stepanov

[quote:]
I have tested on more than five devices/computers so far. They nearly all fail (!)
[/quote]

Can you explain how exactly it is fails on your devices? Please expand more details of your test case. Which OS versions these devices running?

I never getting the "Geo failed" on my Firefox browser:
Image


Geolocation bug? - both onsuccess and onfail events are executed

Posted: Wed Sep 14, 2016 8:09 pm
by Ole Henrik Oftedal

1)
Install Firefox on Machine or Device
2)
open https://timeflex.no/geolocationbug

Check that is says Ver 2.0 - Geolocationbug in the header.
***New in this version: MaximumAge option is set to 1000.
3)
After hitting "Button" button some times you get an errormessage :-(
(Hitting the other button is my suggestion to a workaround so don't use this.)
This is an alertbox saying "Geolocation failed". Often you will see that the onsuccess is also executed. So both failed and succes events at the same time(!)

Testet with:

Does not work:
OSX - El Capitan (Apple Macbook Pro)
Windows 7
Windows 8
Windows 10 two different computers
Samsung Note3 phone (Android)
Lenovo Android tablet
Windows 10 tablet (Lamina)

Works on:
Ipad
Your computer
Apparantly on Sergiy Kulibabas computer after we changed MaximumAge option to 1000

Edit: OSX - El Capitan (Apple Macbook Pro) added