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: after adding a document version, allow to create a new activity when the original is deleted - EXO-65154 #2169

Merged
merged 1 commit into from
Sep 5, 2023

Conversation

ahamdi
Copy link
Member

@ahamdi ahamdi commented Sep 5, 2023

When a new document version is created, an activity is created too and the text associated to the version is added as a comment.
When this activity is removed and a new version is created, nothing happens.
this fix allows to create a new activity when the original one is deleted, it also removes the usage of PowerMockito in Tests and replaces it with Mockito framework.

@ahamdi ahamdi self-assigned this Sep 5, 2023
@ahamdi ahamdi enabled auto-merge (squash) September 5, 2023 20:08
@sonarcloud
Copy link

sonarcloud bot commented Sep 5, 2023

SonarCloud Quality Gate failed.    Quality Gate failed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 2 Code Smells

64.3% 64.3% Coverage
0.0% 0.0% Duplication

idea Catch issues before they fail your Quality Gate with our IDE extension sonarlint SonarLint

@ahamdi ahamdi merged commit 41034fd into feature/maintenance Sep 5, 2023
6 of 7 checks passed
@ahamdi ahamdi deleted the fix/EXO-65154 branch September 5, 2023 22:08
ahamdi added a commit that referenced this pull request Sep 7, 2023
…when the original is deleted - EXO-65154 (#2169)



When a new document version is created, an activity is created too and the text associated to the version is added as a comment.
When this activity is removed and a new version is created, nothing happens.
this fix allows to create a new activity when the original one is deleted, it also removes the usage of PowerMockito in Tests and replaces it with Mockito framework.
ahamdi added a commit that referenced this pull request Sep 7, 2023
…when the original is deleted - EXO-65154 (#2169)



When a new document version is created, an activity is created too and the text associated to the version is added as a comment.
When this activity is removed and a new version is created, nothing happens.
this fix allows to create a new activity when the original one is deleted, it also removes the usage of PowerMockito in Tests and replaces it with Mockito framework.
ahamdi added a commit that referenced this pull request Sep 7, 2023
…when the original is deleted - EXO-65154 (#2169)



When a new document version is created, an activity is created too and the text associated to the version is added as a comment.
When this activity is removed and a new version is created, nothing happens.
this fix allows to create a new activity when the original one is deleted, it also removes the usage of PowerMockito in Tests and replaces it with Mockito framework.
ahamdi added a commit that referenced this pull request Sep 8, 2023
…when the original is deleted - EXO-65154 (#2169)

When a new document version is created, an activity is created too and the text associated to the version is added as a comment.
When this activity is removed and a new version is created, nothing happens.
this fix allows to create a new activity when the original one is deleted, it also removes the usage of PowerMockito in Tests and replaces it with Mockito framework.
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.

2 participants