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

Don't clear changelist on error response - fixes #2452 #2453

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

oscarhermoso
Copy link
Contributor

@oscarhermoso oscarhermoso commented May 25, 2024

Firstly, thankyou dekkerglen and other maintainers, CubeCobra is a really great resource.

Ran into some recent frustration when I my changelist was wiped after an error response. This PR changes the error behaviour when submission fails, so that it does not wipe pending data. This allows user to copy any pending changes and submit again at a later date.

This should be safe to remove lines 675, 676 as they were duplicated inside the try/if scope on lines 665, 666.

Fixes #2452

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Recovery from "Cube has been modified since changes were made. Please refresh and try again."
1 participant