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

Added Checks for Scenarios with Null Start Dates within Objectives Panel #4657

Merged
merged 1 commit into from
Aug 16, 2024

Conversation

IllianiCBT
Copy link
Collaborator

Modified scenario sorting to account for null dates using nullsFirst comparator. Ensured scenarios with null dates are excluded from the date difference calculation, preventing potential errors.

Closes #4654

Modified scenario sorting to account for null dates using `nullsFirst` comparator. Ensured scenarios with null dates are excluded from the date difference calculation, preventing potential errors.
@IllianiCBT IllianiCBT self-assigned this Aug 16, 2024
@IllianiCBT IllianiCBT merged commit e503e2d into MegaMek:master Aug 16, 2024
3 checks passed
@codecov-commenter
Copy link

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 10.23%. Comparing base (50ad0c2) to head (de23745).
Report is 16 commits behind head on master.

Additional details and impacted files
@@             Coverage Diff              @@
##             master    #4657      +/-   ##
============================================
- Coverage     10.65%   10.23%   -0.43%     
- Complexity     5702     5706       +4     
============================================
  Files           950      950              
  Lines        131271   131272       +1     
  Branches      19134    19135       +1     
============================================
- Hits          13988    13434     -554     
- Misses       116059   116614     +555     
  Partials       1224     1224              

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0.50 nightly NPE trying to load campaign file
2 participants