Hello Etherpad Team,
We've found a reproducible bug with the clear authorship action that causes a disconnect.
To reproduce this bug :
- Log in to a pad with user A, activate author colors and type something
- Log in to the same pad with user B, activate author colors and type something
- As user B, click on clear authorship colors
- As user B, click on undo
User B should be disconnected from the pad.
Here is a relevant stack trace :
[2015-10-12 12:37:47.276] [WARN] console - Error: Can't apply USER_CHANGES, because Trying to submit changes as another author in changeset Z:151>0=2k*0|2=2*0=7*1|2=2*1=4$
at /home/webapps/etherpad/src/node/handler/PadMessageHandler.js:683:25
at /home/webapps/etherpad/src/node_modules/async/lib/async.js:610:21
at /home/webapps/etherpad/src/node_modules/async/lib/async.js:249:17
at iterate (/home/webapps/etherpad/src/node_modules/async/lib/async.js:149:13)
at /home/webapps/etherpad/src/node_modules/async/lib/async.js:160:25
at /home/webapps/etherpad/src/node_modules/async/lib/async.js:251:21
at /home/webapps/etherpad/src/node_modules/async/lib/async.js:615:34
at /home/webapps/etherpad/src/node/handler/PadMessageHandler.js:633:9
at Object.exports.getPad (/home/webapps/etherpad/src/node/db/PadManager.js:161:5)
at /home/webapps/etherpad/src/node/handler/PadMessageHandler.js:629:18
The issue seems to be in PadMessageHandler.js. The clear authorship message does not specify any author, thus not triggering the test on line 699.
However, when hitting the Undo button, two authors are specified, triggerring the error message.
Regards,
François
Hello Etherpad Team,
We've found a reproducible bug with the clear authorship action that causes a disconnect.
To reproduce this bug :
User B should be disconnected from the pad.
Here is a relevant stack trace :
The issue seems to be in PadMessageHandler.js. The clear authorship message does not specify any author, thus not triggering the test on line 699.
However, when hitting the Undo button, two authors are specified, triggerring the error message.
Regards,
François