8000 Fix: Fixed Error when Adopting Child With Existing Parents by IllianiBird · Pull Request #6804 · MegaMek/mekhq · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Fix: Fixed Error when Adopting Child With Existing Parents #6804

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

Merged
merged 1 commit into from
May 1, 2025

Conversation

IllianiBird
Copy link
Collaborator

Fix #6799

When adopting a child we remove their previous (presumably dead) parents. However, this run into an issue previously thought fixed where we were trying to remove parents while also processing those parents at the same time.

Fix MegaMek#6799

When adopting a child we remove their previous (presumably dead) parents. However, this run into an issue previously thought fixed where we were trying to remove parents while also processing those parents at the same time.
@IllianiBird IllianiBird added Bug Personnel Personnel-related Issues Severity: Medium Issues described as medium severity as per the new issue form labels Apr 28, 2025
@IllianiBird IllianiBird self-assigned this Apr 28, 2025
Copy link
codecov bot commented Apr 28, 2025

Codecov Report

Attention: Patch coverage is 0% with 1 line in your changes missing coverage. Please review.

Project coverage is 11.44%. Comparing base (10985a2) to head (9dc8a9e).
Report is 44 commits behind head on master.

Files with missing lines Patch % Lines
.../mekhq/gui/adapter/PersonnelTableMouseAdapter.java 0.00% 1 Missing ⚠️
Additional details and impacted files
@@             Coverage Diff              @@
##             master    #6804      +/-   ##
============================================
- Coverage     11.45%   11.44%   -0.02%     
+ Complexity     6506     6500       -6     
============================================
  Files          1098     1098              
  Lines        140875   140853      -22     
  Branches      21845    21839       -6     
============================================
- Hits          16144    16124      -20     
+ Misses       123057   123053       -4     
- Partials       1674     1676       +2     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@IllianiBird IllianiBird changed the title Fix #6799: Fixed Error when Adopting Child With Existing Parents Fix: Fixed Error when Adopting Child With Existing Parents Apr 30, 2025
@Scoppio Scoppio merged commit 6875d5c into MegaMek:master May 1, 2025
6 checks passed
@IllianiBird IllianiBird deleted the adoptionModificationBug branch June 7, 2025 17:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Personnel Personnel-related Issues Severity: Medium Issues described as medium severity as per the new issue form
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Issue] ConcurrentModificationException when trying to adopt an orphan
2 participants
0