-
Notifications
You must be signed in to change notification settings - Fork 461
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
Unable to bring back old versions of templates #23366
Comments
Not reproducible in 22.03 but in demo (23.01) yes |
To reproduce this issue take in count the next video: Screen.Recording.2023-06-01.at.10.31.28.AM.movThis could be a FE issue, feel free to reach me in case to have some doubts. |
On-Hold: Waiting for UI/UX to check if we should add a button in the template editing to bring back an old template. |
UI/UX will be done in another ticket #28417 |
Works as intented! Now it renders the previous version. |
Ok after this fix, now we are able to render the previous version, but we still unable to bring back to this version, New card related to it here #28417 |
When you are working with some template and go to the history tab and try to bring back to an old version of this, we are getting an exception and we are unable to bring back
Stack: https://gist.github.com/bryanboza/93181818e54ed66aef0533030bd2fd83
To Reproduce
Expected behavior
The previous version should be rendered.
Desktop (please complete the following information):
Tested on release-22.11 // Docker // FF
Helpful Information
This endpoint is returning 2 entries: System Template and the actual template we want to bring back.
https://demo.dotcms.com/api/v1/templates/?filter=d4d638fe-2ca6-4e6e-a4aa-013d6e2b97fa
Let's use the entry[1] instead of entry[0].
The text was updated successfully, but these errors were encountered: