-
Notifications
You must be signed in to change notification settings - Fork 26
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
🐛 [#4241] Fix validation of field with nested key in fieldset #4329
🐛 [#4241] Fix validation of field with nested key in fieldset #4329
Conversation
e3efb21
to
6017d38
Compare
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #4329 +/- ##
==========================================
- Coverage 96.27% 96.25% -0.02%
==========================================
Files 731 731
Lines 23735 23741 +6
Branches 2797 2800 +3
==========================================
+ Hits 22850 22853 +3
- Misses 616 617 +1
- Partials 269 271 +2 ☔ View full report in Codecov by Sentry. |
510f629
to
3575b29
Compare
if self.mode != RenderModes.export or not is_layout_component(self.component): | ||
if self.mode != RenderModes.export or ( | ||
not is_layout_component(self.component) | ||
and self.component["type"] != "editgrid" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@sergei-maertens I do have to add this check here explicitly after I added the editgrid
check to is_layout_component
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yeah we shoved editgrid in there in a weird way, I'm glad it's not worse than this
if component["type"] == "editgrid": | ||
return False |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you add a FIXME that this isn't the neatest way to handle this? 😬
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
added it
by not adding a serializer field for layout components
3575b29
to
83dd777
Compare
@sergei-maertens I'm not sure why codecov is failing here, if I put a breakpoint after line 99 locally, I see that this case is executed in the EDIT: nvm, it's the project codecov you mentioned that went down, so it's probably not an issue? |
by not adding a serializer field for layout components Backport-of: #4329
Backported to 2.6 with 4bf6f06 |
Closes #4241
Changes
Checklist
Check off the items that are completed or not relevant.
Impact on features
Release management
I have updated the translations assets (you do NOT need to provide translations)
./bin/makemessages_js.sh.sh
./bin/compilemessages_js.sh
Commit hygiene