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

Fixed Theatre of War Faction Checks #5307

Merged
merged 2 commits into from
Dec 12, 2024

Conversation

IllianiCBT
Copy link
Collaborator

Reordered parameters in the processFaction method call to ensure proper functionality. Fixed call fetching employer faction, to correctly call faction code. Changed log message levels to debug - these were missed when I lowered the logging level of the majority of the internal autoAwards logger messages.

Fixes #5301

Revised log levels from info to debug in AutoAwardsTableModel and AutoAwardsDialog to reduce verbosity in normal operation. This adjustment ensures that detailed internal state information is logged only when debug logging is enabled, which aids in troubleshooting without cluttering standard logs.
Reordered parameters in the processFaction method call to ensure proper functionality. Removed unnecessary instanceof check for AtBContract when verifying campaign options usage. These changes improve code accuracy and reliability in processing faction details.
@codecov-commenter
Copy link

codecov-commenter commented Dec 5, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 10.47%. Comparing base (7ddb24c) to head (be8f60f).
Report is 30 commits behind head on master.

Additional details and impacted files
@@             Coverage Diff              @@
##             master    #5307      +/-   ##
============================================
- Coverage     10.47%   10.47%   -0.01%     
+ Complexity     6069     6063       -6     
============================================
  Files           959      959              
  Lines        135559   135561       +2     
  Branches      19750    19751       +1     
============================================
- Hits          14204    14196       -8     
- Misses       119997   120013      +16     
+ Partials       1358     1352       -6     

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

@IllianiCBT IllianiCBT merged commit f4aecc8 into MegaMek:master Dec 12, 2024
4 checks passed
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.

[v0.50.02 SNAPSHOT] Time of War awards not handled correctly by awards module
3 participants