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

[ACS-8604][Legal Hold] [My Libraries] ADW - No warning when deleting Legal Hold #4069

Open
wants to merge 4 commits into
base: develop
Choose a base branch
from

Conversation

tamaragruszka
Copy link
Contributor

Please check if the PR fulfills these requirements

  • The commit message follows our guidelines
  • Tests for the changes have been added (for bug fixes / features)
  • Docs have been added / updated (for bug fixes / features)

What kind of change does this PR introduce? (check one with "x")

  • Bugfix
  • Feature
  • Code style update (formatting, local variables)
  • Refactoring (no functional changes, no api changes)
  • Build related changes
  • Documentation
  • Other... Please describe:

What is the current behaviour? (You can also link to an open issue here)
https://hyland.atlassian.net/browse/ACS-8604

What is the new behaviour?
picking delete option in context menu will show warning

Does this PR introduce a breaking change? (check one with "x")

  • Yes
  • No

If this PR contains a breaking change, please describe the impact and migration path for existing applications: ...

Other information:

this.documentListService.reload();
}
this.store.dispatch(new ShowLoaderAction(false));
});
}

showWarningOnHoldDeleteAction(nodes: NodeEntry[]): Observable<boolean> {
Copy link
Contributor

Choose a reason for hiding this comment

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

You're leaking the enterprise code to community edition.. ACA should know nothing about legal hold, this should only be a part of governance

Copy link
Contributor

Choose a reason for hiding this comment

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

@MichalKinas I have similar issue, I understand your logic but it is our architecture, this logic is in ACA. I don't see any better solution without big refactor

Choose a reason for hiding this comment

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

I need to agree with @MichalKinas here. Please provide other solution.

Copy link
Contributor

Choose a reason for hiding this comment

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

@MateuszHY @MichalKinas the other solution is to cleanup this tech debt now, in 2018 when this part was written there was no awareness of something like legal hold will come in 2024. Refactor of current architecture is needed and it must be well thought. I agree that would be good not to provide new tech debt, but we must be aware it will be time consuming, then please plan it and we can keep this PR and mine as on hold then. I don't see a quick solution for that.

Copy link

sonarcloud bot commented Oct 7, 2024

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.

4 participants