proycon / flat

FoLiA Linguistic Annotation Tool -- Flat is a web-based linguistic annotation environment based around the FoLiA format (http://proycon.github.io/folia), a rich XML-based format for linguistic annotation. Flat allows users to view annotated FoLiA documents and enrich these documents with new annotations, a wide variety of linguistic annotation types is supported through the FoLiA paradigm.
GNU General Public License v3.0
110 stars 15 forks source link

Unexpected and inconsistent login requirement for any actions in FLAT #154

Closed luutuntin closed 5 years ago

luutuntin commented 5 years ago

Hi Maarten,

Recently, whenever I deploy a new instance of FLAT (e.g. _http://alexluu.csbrandeis.org/flat_latest_) on my sandbox server, I frequently encounter this weird behavior from that FLAT instance. For example, here is the interface after the login:

login_required_01

When I click the folder link 'luutuntin/', I receive inconsistent results: the next page can be the normal one (i.e. _http://alexluu.csbrandeis.org/flat_latest/index/luutuntin) or the one requiring another login (i.e. http://alexluu.csbrandeis.org/flat_latest/login/?next=/flat_latest/index/luutuntin_):

login_required_03

And whenever I want to "Upload document" or "Add new directory", I will be routed to _http://alexluu.csbrandeis.org/flat_latest/login/?next=/flat_latest/addnamespace/ or http://alexluu.csbrandeis.org/flat_latest/login/?next=/flat_latest/upload/_ respectively, and therefore cannot upload or add anything.

As I have both consistent and inconsistent instances of FLAT on my sandbox server, I suspect the root cause of this problem may come from my sandbox server but I haven't seen any clues yet. Do you have any ideas about this?

Best, Alex

luutuntin commented 5 years ago

Now I use another computer to open the problematic instance of FLAT and everything is OK. So the problem is probably caused by some cached data behind the web browser in which I open multiple instances of FLAT.

proycon commented 5 years ago

So I assume the issue is solved and was a cache problem? It indeed didn't seem familiar to me.

luutuntin commented 5 years ago

Yes, the issue only happens when I log in to both instances of FLAT using the same browser. Thank you.