Commit 4204325
committed
fix: handle empty ManyToMany relationships in UIConfigItemSerializer
- Filter out None values from Tag.loc_msg relationships to prevent LocalizedString.DoesNotExist errors
- Fixes /api/2/projects/1/uiconfig/ endpoint when tags have no localized messages
- Resolves issue where empty ManyToMany queries return [None] instead of []
Fixes: LocalizedString matching query does not exist error in uiconfig endpoint1 parent 43b391a commit 4204325
1 file changed
+2
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
552 | 552 | | |
553 | 553 | | |
554 | 554 | | |
| 555 | + | |
| 556 | + | |
555 | 557 | | |
556 | 558 | | |
557 | 559 | | |
| |||
0 commit comments