Skip to content

Conversation

@isc-bsaviano
Copy link
Contributor

This PR fixes #1522. The issue is that we "recreate" the file when loading changes from the compiler, so Undo undoes this "creation" and deletes the file. I fixed the issue by going back to the fs.writeFile() API. This issue is pretty bad, so I'm considering bumping version as part of the PR and doing the 3.0.1 release immediately.

@isc-bsaviano isc-bsaviano changed the title Fix issuse where Undo deletes the file Fix issue where Undo deletes the file Apr 3, 2025
@isc-bsaviano isc-bsaviano changed the title Fix issue where Undo deletes the file Fix issue where Undo after a save deletes the file being edited Apr 3, 2025
gjsjohnmurray
gjsjohnmurray previously approved these changes Apr 3, 2025
Copy link
Contributor

@gjsjohnmurray gjsjohnmurray left a comment

Choose a reason for hiding this comment

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

LGTM but not tested

gjsjohnmurray
gjsjohnmurray previously approved these changes Apr 3, 2025
isc-rsingh
isc-rsingh previously approved these changes Apr 3, 2025
Copy link
Member

@isc-rsingh isc-rsingh left a comment

Choose a reason for hiding this comment

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

same

@isc-bsaviano isc-bsaviano dismissed stale reviews from isc-rsingh and gjsjohnmurray via 94d4a5d April 3, 2025 22:36
@mathewrimmingtoncds
Copy link

Hi, do we have a delivery timeframe for this fix? Our developers are reporting the loss of significant bodies of work.

@isc-bsaviano
Copy link
Contributor Author

Today

@isc-bsaviano isc-bsaviano merged commit 3057b76 into intersystems-community:master Apr 4, 2025
5 checks passed
@isc-bsaviano isc-bsaviano deleted the fix-1522 branch April 4, 2025 15:30
@isc-bsaviano
Copy link
Contributor Author

@mathewrimmingtoncds Version 3.0.1 is out.

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.

v3.0.0 Saves file on every action with file (?)

4 participants