Skip to content

The easy-to-use open source Business Intelligence and Embedded Analytics tool that lets everyone work with data :bar_chart:

Fix two closed-schema regressions from #82447 (#82581)

bryan7d94211ecdc1
diff --git a/src/metabase/collections/models/collection.clj b/src/metabase/collections/models/collection.clj
index 9c3ddb5331a..f0fbbc34d44 100644
--- a/src/metabase/collections/models/collection.clj
+++ b/src/metabase/collections/models/collection.clj
@@ -394,7 +394,8 @@
select or hydrate different subsets."
[:map {:closed true}
[:id {:optional true} ms/PositiveInt]
- [:name {:optional true} :string]
+ ;; system collections (Trash, Library) carry a deferred i18n name, localized per-request (#59662)
+ [:name {:optional true} [:or :string ms/LocalizedString]]
[:description {:optional true} [:maybe :string]]
[:archived {:optional true} :boolean]
[:archived_directly {:optional true} [:maybe :boolean]]