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

fix: Reload and update schemas - saves the last changes #1197

Merged
merged 1 commit into from
Jun 17, 2024

Conversation

emanuelaepure10
Copy link
Contributor

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

@@ -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
Copy link
Member

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?

  1. open a project
  2. modify it
  3. new alignment project

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You will get this question
image
and here depends by the user and his answer if the changes will be saved or not.

Copy link
Member

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?

Copy link
Contributor Author

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.

@emanuelaepure10 emanuelaepure10 added the challenged For PRs to indicate that the implementation has been challenged label Jun 17, 2024
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
@emanuelaepure10 emanuelaepure10 merged commit a80cf5a into halestudio:master Jun 17, 2024
4 checks passed
Copy link

we-release bot commented Jun 19, 2024

🎉 This PR is included in version 5.2.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

@we-release we-release bot added the released label Jun 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
challenged For PRs to indicate that the implementation has been challenged released
Projects
None yet
Development

Successfully merging this pull request may close these issues.

reload and update schemas - project save function is not working
2 participants