Files
wekan/server
Lauri Ojansivu 2699f4deea Collection2 is loaded before the models, so every write is cleaned and given its defaults.
Collection2's attachSchema lives in the package's lazy main module, which only
aldeed:schema-index loads, through an asynchronous Collection2.load(). Nothing
waited for it: the models attached their schemas with whichever attachSchema
existed first - collection2's, or the bare shim in imports/collectionHelpers.js,
which stores the schema and never cleans a write. The full build happened to
load collection2 first. A build with fewer packages (the Sandstorm .spk) reached
the models sooner, so a new board's swimlane was stored without archived, sort
and type, and the board opened empty. server/main.js now loads
meteor/aldeed:collection2/main before the models in every build.

Thanks to xet7 !
2026-10-23 19:34:12 +03:00
..
2026-03-22 17:17:48 +02:00
2021-06-14 15:11:21 +02:00