Go Down

Topic: Email links dont always work. (Read 688 times) previous topic - next topic

ballscrewbob

Just checking to see if anyone else if having issues using email links to go to a topic they are involved in.

Started a couple of days ago where the link is just taking me back to the top of the forum instead of the topic itself as it would normally.

Sometimes they work and sometimes not...
So hard to define a common cause.


It may not be the answer you were looking for but its the one I am giving based on either experience, educated guess, google or the fact that you gave nothing to go with in the first place so I used my wonky crystal ball.

lucaosti

The common cause is actually whether or not you are considered logged in by the forum.

If the session has expired but you are still considered logged on the Arduino SSO, a refresh of the session is triggered, causing a couple of redirects and eventually leading you back where you started.

In that case the forum has to save the URL you are trying to see, but only if it matches a whitelist.


I published just now a little fix to handle more cases: let me know if works correctly (or blame me if you see other things suspiciously broken since the last ~10 minutes)

ballscrewbob

It may not be the answer you were looking for but its the one I am giving based on either experience, educated guess, google or the fact that you gave nothing to go with in the first place so I used my wonky crystal ball.

sterretje

#3
Mar 18, 2018, 02:06 pm Last Edit: Mar 18, 2018, 02:07 pm by sterretje
Not email related, but might be related.

I've also noticed a change in behaviour recently. I always leave a section or thread open on the browser of my cell phone and if I (after a while) want to check for updated topics I simply tap 'back' which will force a refresh of the previous forum page that was loaded and next I can click the updated topics link.

This approach used to work 100% of the time but recently the behaviour changed. Recently tapping 'back' often but not always results in the forum navigation links not showing (as if one is not logged in). One or more 'back' is required or leaving the forum completely and next going there from scratch.
If you understand an example, use it.
If you don't understand an example, don't use it.

Electronics engineer by trade, software engineer by profession. Trying to get back into electronics after 15 years absence.

ballscrewbob

Also seen that too sterretje....

Not quite the same but if I have a tab open and havent used it for a few hours ( <10) occasionally I will be logged out on that tab even if I am logged in on a different tab.

Think your issue and what I have seen are related.
Certainly something happening in the back.

It may not be the answer you were looking for but its the one I am giving based on either experience, educated guess, google or the fact that you gave nothing to go with in the first place so I used my wonky crystal ball.

lucaosti

This approach used to work 100% of the time but recently the behaviour changed. Recently tapping 'back' often but not always results in the forum navigation links not showing (as if one is not logged in). One or more 'back' is required or leaving the forum completely and next going there from scratch.
I'm not aware of any changes that could have changed that behaviour (and it's a really strange one), are you sure is not related to the browser you are using? Sometimes mobile browsers have a really aggressive cache.


Quote
Not quite the same but if I have a tab open and havent used it for a few hours ( <10) occasionally I will be logged out on that tab even if I am logged in on a different tab.
Getting logged out while logged in another tab in the same browser shouldn't ever happen. Are you able to reproduce the issue consistently?

--

Note: those issues are a bit OT, I think. Can I suggest you to open a couple of issues on https://github.com/arduino/forum-issues ?
I know it looks like we don't really look at that repo, but we do. Hopefully we'll be able to actually tackle them in the near future.


sterretje

I'm not aware of any changes that could have changed that behaviour (and it's a really strange one), are you sure is not related to the browser you are using? Sometimes mobile browsers have a really aggressive cache.
I'm just a (cell phone) user; Android 7.0.0, Chrome 65.0.3325.109

It might have started after an update of one or both, but I can't verify that; it's one of those things that one pays little attention to.
If you understand an example, use it.
If you don't understand an example, don't use it.

Electronics engineer by trade, software engineer by profession. Trying to get back into electronics after 15 years absence.

Go Up