Hypertopic / LaSuli

Social annotation for qualitative analysis
https://hypertopic.org/lasuli
GNU General Public License v3.0
12 stars 4 forks source link

Invalid owner for viewpoints #19

Closed benel closed 5 years ago

benel commented 12 years ago

When LaSuli is used by students, viewpoints owners are sometimes false:

{
  "_id":"67ca5e52a936fd8998a2bfc6cd85a24c",
  "_rev":"2-68d1c849a39c49db82f5162e3b47a459",
  "viewpoint_name":"argos2.hypertopic.org",
  "users":["guest"],
  "topics":{
    "36b275af05d7480bb3aabdf1a09c5535":{"broader":[],"name":"No name"}
  }
}

Argos logs reveals that the faulty payload may have been built with a faulty login and then sent again with a corrected one:

401: guest (78.251.55.58) PUT /67ca5e52a936fd8998a2bfc6cd85a24c HTTP/1.1 @ 01/Jan/2012:09:34:25 +0100
201: siqi.duan (78.251.55.58) PUT /67ca5e52a936fd8998a2bfc6cd85a24c HTTP/1.1 @ 01/Jan/2012:09:34:30 +0100

This is probably due to the fact that when LaSuli encounters a 401 error, the login and password are asked again. I suspect that the payload is then kept as it was.

benel commented 12 years ago

Workaround

When you're asked for a password by a LaSuli dialog, change the password in the settings panel instead.

benel commented 5 years ago

In LaSuli v3, there is only one form where you can set credentials.