Autoreload of page resulting in incorrect page, lost comment on submittion (OD-1789)
andrzej opened 2 years ago

I often work on multiple issues at one, ie. gathering data for some and fixing others. Due to that I often end up with a bunch of tab open in a browser with issues from OneDev.

Due to this flow, I often have many issue websites open (even for hours), I have encountered following issues:

  1. Comment entered and submitted disappears. After entering a comment to a website and pressing Comment, page reloads but without my comment. It is just lost.

  2. Website reloads with incorrect URL This happens when tab is in the background for a long time (with multiple 1dev websites being open in many tabs). It looks like tabs are reloading (maybe due to session timing out?), and they got redirected to login page with url of opened page cached on the server, and then they got redirected again (after automatic login? I use Remember Me feature) to the cached URL on the server side. As in my case, multiple pages/tabs reload at once, due to race condition or concurrency, some end up redirected to incorrect URLs.

Example. I had tabs open for issues 1,2,3,4 for a long time. After that, in some cases, I see that I have open tabs for issues 1,2,1,4. (3 was reloaded as 1).

Could you check for those issues? They are not very big, however, when I lose a long comment (for which I gathered data for half an hour) that is frustrating. The same with lost opened tabs.

  • Robin Shen commented 2 years ago

    Seems that your session is timed out. OneDev will keep session alive as long as your browser is open, unless your computer is put to sleep. Is this your situation?

  • andrzej commented 2 years ago

    Yes, it seems so.

  • Robin Shen changed state to 'Closed' 2 years ago
    Previous Value Current Value
    Open
    Closed
  • wojtek commented 1 year ago

    Seems that your session is timed out. OneDev will keep session alive as long as your browser is open, unless your computer is put to sleep. Is this your situation?

    Well, it may be so but OneDev shouldn't post comments to completely different issue... at the least it should reload the page without posting the comment to some random place. Ideally it should refresh the session of the current tab and then try posting again...

  • wojtek changed state to 'Open' 1 year ago
    Previous Value Current Value
    Closed
    Open
  • wojtek commented 1 year ago

    Sorry for bumping the comment again but I just lost quite long comment (had to step away for a short while, computer went to sleep, afterwards the comment was gone).

    I think (seemingly randomly) looking comment contents really hurts usability and this issue shouldn't be closed…

  • Robin Shen commented 1 year ago

    Hmm... Understand the pain. Will look into approaches to improve this.

  • OneDev changed state to 'Closed' 1 year ago
    Previous Value Current Value
    Open
    Closed
  • OneDev commented 1 year ago

    State changed as code fixing the issue is committed (96ce8df9)

  • wojtek commented 1 year ago

    Thank you! :)

  • Robin Shen commented 1 year ago

    No problem.

  • OneDev changed state to 'Released' 1 year ago
    Previous Value Current Value
    Closed
    Released
  • OneDev commented 1 year ago

    State changed as build OD-5318 is successful

issue 1/1
Type
Bug
Priority
Normal
Assignee
Affected Versions
10.2.1
Labels
No labels
Issue Votes (1)
Watchers (4)
Reference
OD-1789
Please wait...
Connection lost or session expired, reload to recover
Page is in error, reload to recover