etherpad-lite: Import always fails: Author X exists but he never contributed to this pad

Using 4816785aef457f0 I receive:

[2020-05-14 21:37:24.764] [WARN] console - Unable to import file into "g.YYYY$TTTTT". Author "a.XXXXXX" exists but he never contributed to this pad
$ node -v
v10.20.1
$ npm -v
6.14.4
$ uname -a
Linux 6f0add8352b7 4.15.0-99-generic #100-Ubuntu SMP Wed Apr 22 20:32:56 UTC 2020 x86_64 GNU/Linux
  • Build based on the official Docker Image.
  • Client: Firefox

Expected behavior:

  • Import works when I contributed to a pad.

Actual behavior:

  • Import does not work
  • Request is terminated with HTTP Status Code 405 Method not allowed Body: 405: Only the HEAD or GET methods are allowed. - however the above message (Author X exists but he never contributed to this pad) is logged.

About this issue

  • Original URL
  • State: closed
  • Created 4 years ago
  • Comments: 29 (29 by maintainers)

Commits related to this issue

Most upvoted comments

@Rillke can you please test 4012.

https://github.com/ether/etherpad-lite/pull/3965

note that if this is a requireSession is true the user must be authed no?

Anyway my steps will be.

  1. Create script to simulate a session.
  2. Use that session to visit a pad
  3. Try import

@Rillke does https://github.com/ether/etherpad-lite/pull/3965 solve the problem for you?

If so, would it make sense for https://github.com/ether/etherpad-lite/pull/3965 to always be active if requireSession is true?