-
Notifications
You must be signed in to change notification settings - Fork 52
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
Introduce better logic to handle content recoveries #285
Labels
Area: IntelliJ
Issue affecting Saros for IntelliJ (Saros/I)
Comments
tobous
added a commit
that referenced
this issue
Dec 4, 2018
Adds logic to handle content recovery, meaning the content of an existing file needs to be adjusted. Previously, this was handled on the filesystem level, meaning the changes made by the recovery were not undo-able. This commit introduces a logic to handle content recoveries on the document level to avoid such issues.
tobous
added a commit
that referenced
this issue
Dec 4, 2018
Adds logic to handle content recovery, meaning the content of an existing file needs to be adjusted. Previously, this was handled on the filesystem level, meaning the changes made by the recovery were not undo-able. This commit introduces a logic to handle content recoveries on the document level to avoid such issues. Resolves #285.
tobous
added a commit
that referenced
this issue
Dec 4, 2018
Adds logic to handle content recovery, meaning the content of an existing file needs to be adjusted. Previously, this was handled on the filesystem level, meaning the changes made by the recovery were not undo-able. This commit introduces a logic to handle content recoveries on the document level to avoid such issues. Resolves #285. Subsequently enables the recovery button as the feature should now be functional.
tobous
added a commit
that referenced
this issue
Dec 4, 2018
Adds logic to handle content recovery, meaning the content of an existing file needs to be adjusted. Previously, this was handled on the filesystem level, meaning the changes made by the recovery were not undo-able. This commit introduces a logic to handle content recoveries on the document level to avoid such issues. Resolves #285. Subsequently enables the recovery button as the feature should now be functional.
tobous
added a commit
that referenced
this issue
Dec 5, 2018
Adds logic to handle content recovery, meaning the content of an existing file needs to be adjusted. Previously, this was handled on the filesystem level, meaning the changes made by the recovery were not undo-able. This commit introduces a logic to handle content recoveries on the document level to avoid such issues. Resolves #285. Subsequently enables the recovery button as the feature should now be functional.
tobous
added a commit
that referenced
this issue
Dec 9, 2018
Adds logic to handle content recovery, meaning the content of an existing file needs to be adjusted. Previously, this was handled on the filesystem level, meaning the changes made by the recovery were not undo-able. This commit introduces a logic to handle content recoveries on the document level to avoid such issues. Resolves #285. Subsequently enables the recovery button as the feature should now be functional.
tobous
added a commit
that referenced
this issue
Dec 10, 2018
Adds logic to handle content recovery, meaning the content of an existing file needs to be adjusted. Previously, this was handled on the filesystem level, meaning the changes made by the recovery were not undo-able. This commit introduces a logic to handle content recoveries on the document level to avoid such issues. Resolves #285. Subsequently enables the recovery button as the feature should now be functional.
tobous
added a commit
that referenced
this issue
Dec 11, 2018
Adds logic to handle content recovery, meaning the content of an existing file needs to be adjusted. Previously, this was handled on the filesystem level, meaning the changes made by the recovery were not undo-able. This commit introduces a logic to handle content recoveries on the document level to avoid such issues. Resolves #285. Subsequently enables the recovery button as the feature should now be functional.
tobous
added a commit
that referenced
this issue
Dec 11, 2018
Adds logic to handle content recovery, meaning the content of an existing file needs to be adjusted. Previously, this was handled on the filesystem level, meaning the changes made by the recovery were not undo-able. This commit introduces a logic to handle content recoveries on the document level to avoid such issues. Resolves #285. Subsequently enables the recovery button as the feature should now be functional.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The rework of the SharedResorucesManager implemented in #277 removes the logic to recover existing files with the wrong content.
To recover existing files with the wrong content, Saros also dispatches creation FileActivities. The old recovery logic just overwrote the content of the existing file in the filesystem.
This is not the best approach as it bypasses the IntelliJ logic to make changes undo-able, meaning the recovery would irreversibly change the local file content.
A better approach would be to change the content of the Document (the cached version of the file held by IntelliJ that is used to back the local Editors).
The text was updated successfully, but these errors were encountered: