-
-
Notifications
You must be signed in to change notification settings - Fork 2.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Timeslider breaks after 1000 revisions on HTML imported pads #5271
Comments
https://github.com/ether/etherpad-lite/blob/develop/src/tests/frontend/specs/timeslider_revisions.js -- note that this only creates 100 revisions. Steps you can probably take to move things forward
I would hazard a guess that the failure is due to the changeset loading method which probably needs to be rewritten as it's afaik code that hasn't been touched in several years. TBH though I think we really need to think about the timeslider. I hate that it's a second rate citizen on it's own page and I'd strongly advocate moving the time-slider into the main pad editor and while we're at it expose more functionality for plugins such as the ability to replay the pad in real time... But these things are probably out of the scope of this bug. |
Could you test if applying #5253 fixes this problem? |
Nope, this sadly does not fix the issue @webzwo0i |
I tested it and for me it fixes the problem. Can you try and disable minify in the config (setting The exception shown here is gone for me after applying #5253
|
Ok you're right, this partially fixed the problem. 👍 At least for imports and the Steps to reproduce:
Should I open up a new issue since this is not directly HTML related but specific to pad copying? Edit:
|
It looks like that Is there another way to clear the history of a pad to have a workaround? |
@Gared Is creating a fix for that so you can remove the history of a pad and its revisions |
Gared just checked locally with 25k versions. It seems like this could be caused by a corrupt pad which occurs when Etherpad crashes and hasn't finished writing to the database or the server crashes during a transaction. cc @Gared |
Tested on:
Steps to reproduce:
What I expected to happen:
The timeslider would work normally
What actually happened:
Revisions after 1000 are working but all revisions < 1000 simply show the content of revision 1000.
Additional Information
/setHTML
API endpoint (which we internally use for applying templates)The text was updated successfully, but these errors were encountered: