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

Removed Week Duration in Education Properties... Again #4431

Merged
merged 2 commits into from
Jul 17, 2024

Conversation

IllianiCBT
Copy link
Collaborator

The durationWeeks.text property was removed from the Education properties file, and all references to it in Academy.java were also removed. Now the duration and distance for education and travel are only represented in days.

There appears to have been a code regression that caused this previously removed code to return, prompting NPEs.

Closes #4425

The durationWeeks.text property was removed from the Education properties file, and all references to it in Academy.java were also removed. Now the duration and distance for education and travel are only represented in days.
@IllianiCBT IllianiCBT added Bug Personnel Personnel-related Issues GUI UX User experience labels Jul 17, 2024
@IllianiCBT IllianiCBT self-assigned this Jul 17, 2024
# Conflicts:
#	MekHQ/src/mekhq/campaign/personnel/education/Academy.java
@codecov-commenter
Copy link

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 10.24%. Comparing base (6d48951) to head (d795e04).
Report is 8 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff            @@
##             master    #4431   +/-   ##
=========================================
  Coverage     10.24%   10.24%           
  Complexity     5809     5809           
=========================================
  Files           924      924           
  Lines        126432   126428    -4     
  Branches      18769    18767    -2     
=========================================
  Hits          12953    12953           
+ Misses       112204   112200    -4     
  Partials       1275     1275           

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

@IllianiCBT IllianiCBT merged commit c98e396 into MegaMek:master Jul 17, 2024
3 checks passed
@IllianiCBT
Copy link
Collaborator Author

I went ahead and merged this as it was only duplicating already approved code and its absence was breaking the nightly for some users.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug GUI Personnel Personnel-related Issues UX User experience
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Right-clicking on any person in Personnel tab causes NPE error
2 participants