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 get elements at commit if element was deleted after commit #263

Merged
merged 4 commits into from
Feb 21, 2024

Conversation

dlamoris
Copy link
Collaborator

Checks if element was deleted before or after requested commit if it's currently deleted and last updated time was before commit.
Added new test collection
fixes #261

@dlamoris dlamoris requested a review from HuiJun February 17, 2024 23:09
@dlamoris dlamoris self-assigned this Feb 17, 2024
Copy link

Quality Gate Failed Quality Gate failed

Failed conditions
0.0% Coverage on New Code (required ≥ 80%)

See analysis details on SonarCloud

import org.springframework.stereotype.Service;

import static org.openmbee.mms.core.config.ContextHolder.getContext;

@Service
public class NodeGetHelper extends NodeOperation {

protected CommitIndexDAO commitIndex;
Copy link
Collaborator

Choose a reason for hiding this comment

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

:(

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

it'll get refactored when we merge in to the boeing branch anyways

@dlamoris dlamoris merged commit e40e8f0 into develop Feb 21, 2024
4 of 5 checks passed
@dlamoris dlamoris deleted the fix/261 branch February 21, 2024 19:26
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.

Missing check for time of element deletion while getting all elements under commitId
2 participants