-
Notifications
You must be signed in to change notification settings - Fork 44
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
fix: Reload and update schemas - saves the last changes #1197
fix: Reload and update schemas - saves the last changes #1197
Conversation
4243004
to
b9b7579
Compare
@@ -884,8 +885,8 @@ public void run() { | |||
|
|||
@Override | |||
public void update() { | |||
// no change check as this is done by clean before a new project is | |||
// loaded | |||
// check if there are changes, as you are about to load the same project |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Related to the original comment, how is the behavior in this case?
- open a project
- modify it
- new alignment project
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Also a question related to the issue (#956) - the description says the possibility to save the project was offered, but the changes were not saved. Is that also the behavior you observed?
The main task of the changeCheck
method seems to be to show that dialog, that was also shown before according to the issue description. So does your change solve this by showing it at an earlier time and the later point where it was already checked does not result in the dialog being shown?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Also a question related to the issue (#956) - the description says the possibility to save the project was offered, but the changes were not saved. Is that also the behavior you observed?
I do observe the same behaviour.
The main task of the changeCheck method seems to be to show that dialog, that was also shown before according to the issue description. So does your change solve this by showing it at an earlier time and the later point where it was already checked does not result in the dialog being shown?
It is exactly how you say. The solution solves the problem showing the dialog earlier. The dialog is not showed anymore later because the changes has ben saved so when checking if there is any change the clean method exit immediately without showing again the dialog.
cd7bc6f
to
bf31b84
Compare
bf31b84
to
7d7c513
Compare
By using the "Reload and update schemas" button the saving function it's working saving all the changes done to the project. ING-4307 Closes halestudio#956
7d7c513
to
91125f2
Compare
🎉 This PR is included in version 5.2.0 🎉 The release is available on:
Your semantic-release bot 📦🚀 |
By using the "Reload and update schemas" button the saving function it's working saving all the changes done to the project.
ING-4307
Closes #956