[NAE-2225] Not possible to set empty options using setData#370
[NAE-2225] Not possible to set empty options using setData#370tuplle merged 1 commit intorelease/6.4.2from
Conversation
- fix setting empty options in DataService
WalkthroughRevises DataService.parseOptions to directly return mapper.convertValue with an inferred TypeReference, removing the explicit empty-map check and the null-return path. Changes
Estimated code review effort🎯 2 (Simple) | ⏱️ ~10 minutes Pre-merge checks❌ Failed checks (1 warning)
✅ Passed checks (2 passed)
📜 Recent review detailsConfiguration used: CodeRabbit UI Review profile: ASSERTIVE Plan: Pro 📒 Files selected for processing (1)
⏰ Context from checks skipped due to timeout of 90000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (9)
🔇 Additional comments (2)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Description
Fixed setting empty options to a data field
Fixes NAE-2225
Dependencies
No new dependencies were introduced
Third party dependencies
No new dependencies were introduced
Blocking Pull requests
There are no dependencies on other PR
How Has Been This Tested?
Manually by custom process:
setData("t_panel", otherCase, ["test_enumeration": ["value": "", "options": [:], "type": "enumeration_map"]])Test Configuration
Checklist:
Summary by CodeRabbit
Bug Fixes
Refactor