Skip to content
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

Paragraphs can't handle reverting node revisions #173

Open
herbdool opened this issue Mar 14, 2024 · 3 comments
Open

Paragraphs can't handle reverting node revisions #173

herbdool opened this issue Mar 14, 2024 · 3 comments
Labels
bug Something isn't working

Comments

@herbdool
Copy link
Contributor

herbdool commented Mar 14, 2024

It's happening with regular paragraphs (doesn't have to be nested). It starts doing weird things if reverting a node. It will go back to the revision chosen. But then the first edit of the reverted revision seems to go back to some other random revision. Or maybe it's not random, but I'm not sure how it chooses. Perhaps it's the next revision after the revision which was reverted, from its original position.

Then further revisions seem to be okay.

@herbdool herbdool added the bug Something isn't working label Mar 14, 2024
@herbdool herbdool changed the title Nested Paragraphs can't handle reverting node revisions Paragraphs can't handle reverting node revisions Mar 15, 2024
@herbdool
Copy link
Contributor Author

This patch seems to help: https://www.drupal.org/project/paragraphs/issues/2944509

@herbdool
Copy link
Contributor Author

Now I'm not sure if that patch helps. Instead, the problem is inconsistent. It seems to only appear after there are a few revisions and maybe have to revert a couple times.

@herbdool
Copy link
Contributor Author

Just for reference, I'm including links to two other d.o issues that reference revisions in case they can help: https://www.drupal.org/project/paragraphs/issues/2901627, https://www.drupal.org/project/paragraphs/issues/2609754

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant