Impacted version: 0.39
Server Setup Information:
- Operating System: Ubuntu 16.04
- Deployment Method: snap
snap info wekan reports snap-id as
jtpboSYvTCEyHoutkkRo1SI9ioSMOUb3 (tracking: stable). I’m not sure how to find out Node and MongoDB versions from the snap, but if the snap ID isn’t enough, just show me how to get those version numbers and I’ll add them.
- ROOT_URL environment variable (Is there a subfolder?): http://localhost:5000 (inside a VM)
Steps to reproduce:
- Create a board in Trello.
- Create a list in the board.
- Create a card in the list.
- Create a new label in the card. Name it, then select ”No color”.
- Export the board as JSON.
- In Wekan, initiate a Trello import.
- Map the user.
What I expect to happen:
For the board to be imported in Wekan.
The importer reports a ’400’.
journalctl -u snap.wekan.wekan.service reports
Exception while invoking method 'importBoard' Error: Color is required at getErrorObject (packages/aldeed_collection2-core.js:480:15) at [object Object].doValidate (packages/aldeed_collection2-core.js:462:13) at [object Object].Mongo.Collection.(anonymous function) [as insert] (packages/aldee at packages/matb33_collection-hooks.js:127:46 at [object Object]._.extend.withValue (packages/meteor.js:1122:17) at Object.directOp (packages/matb33_collection-hooks.js:47:27) at Object.self.direct.(anonymous function) [as insert] (packages/matb33_collection-h at TrelloCreator.createBoardAndLabels (models/trelloCreator.js:195:35) at TrelloCreator.create (models/trelloCreator.js:605:26) at [object Object].Meteor.methods.importBoard (models/import.js:27:20) at packages/check.js:130:16 at [object Object]._.extend.withValue (packages/meteor.js:1122:17) at Object.exports.Match._failIfArgumentsAreNotAllChecked (packages/check.js:129:41) at maybeAuditArgumentChecks (packages/ddp-server/livedata_server.js:1734:18) at packages/ddp-server/livedata_server.js:719:19 at [object Object]._.extend.withValue (packages/meteor.js:1122:17) Sanitized and reported to the client as: Color is required 
I’m attaching the failing JSON (with email sanitized).
I haven’t looked into what philosophical meaning Trello assigns to uncolored labels; in practice, they appear as grey in the web UI, and as nulls in the exported JSON.