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

Defect/mcp forms/npe on multifield #3265

Conversation

csaboka
Copy link
Contributor

@csaboka csaboka commented Feb 22, 2024

#3264 Make sure no null values are added to ValueMaps.

I had to add some new dependencies because JUnit 4 tests are not currently picked up by JUnit 5, but the JUnit 5 versions of some testing utilities were missing. You probably want to include the "junit-vintage" artifact to have the JUnit 5 engine run older tests.

Copy link

codecov bot commented Feb 22, 2024

Codecov Report

Attention: Patch coverage is 66.66667% with 2 lines in your changes are missing coverage. Please review.

Project coverage is 1.78%. Comparing base (d8a3996) to head (1e4ddba).

Files Patch % Lines
.../adobe/acs/commons/mcp/form/FieldsetComponent.java 0.00% 1 Missing and 1 partial ⚠️
Additional details and impacted files
@@             Coverage Diff             @@
##             master   #3265      +/-   ##
===========================================
+ Coverage      1.34%   1.78%   +0.43%     
- Complexity       44     100      +56     
===========================================
  Files           721     721              
  Lines         29527   29530       +3     
  Branches       3838    3840       +2     
===========================================
+ Hits            397     526     +129     
+ Misses        29114   28966     -148     
- Partials         16      38      +22     

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

@csaboka csaboka force-pushed the defect/mcp-forms/npe-on-multifield branch from 3c3f13e to cfea1f7 Compare February 22, 2024 17:39
@csaboka
Copy link
Contributor Author

csaboka commented Feb 22, 2024

Well, codeclimate is complaining about the license header, even though I used mvn license:update-file-header as described in CONTRIBUTING.md. Please let me know if I should change the copyright holder to Adobe, although I'm pretty sure the current value is the correct one.

@kwin
Copy link
Contributor

kwin commented Feb 22, 2024

Look at #2500.

@csaboka
Copy link
Contributor Author

csaboka commented Feb 22, 2024

Thank you. I'll keep things simple and change the copyright line to say Adobe. I agree it would be better if there was some clear indication about it, though.

ValueMaps should never contain null values. They should not report a key
as present if there is no corresponding value.
ValueMaps should never contain null values. They should not report a key
as present if there is no corresponding value.
@csaboka csaboka force-pushed the defect/mcp-forms/npe-on-multifield branch from cfea1f7 to 6b2b554 Compare February 22, 2024 19:05
@davidjgonzalez davidjgonzalez self-requested a review February 22, 2024 21:38
@davidjgonzalez davidjgonzalez merged commit abbf3b2 into Adobe-Consulting-Services:master Feb 22, 2024
21 checks passed
@davidjgonzalez davidjgonzalez added this to the 6.4.0 milestone Feb 22, 2024
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.

3 participants