wekan: Import from trello is broken
Issue
Using docker-compose from 2 apr 2023, I tried to import a trello board. But seems to fail.
Server Setup Information
- docker compose from github
WeKan ® info - 6.81.0
Meteor - 2.11.0
Node 14.21.3
Mongo 6.0.5
Problem description
Reproduction Steps
- install from docker compose
- go to trello board with attachments (some random images)
- import from trello
Logs
Exception while invoking method 'importBoard' ReferenceError: Attachment is not defined
at models/trelloCreator.js:452:13
at Array.forEach (<anonymous>)
at models/trelloCreator.js:429:21
at Array.forEach (<anonymous>)
at TrelloCreator.createCards (models/trelloCreator.js:291:17)
at TrelloCreator.create (models/trelloCreator.js:763:10)
at MethodInvocation.importBoard (models/import.js:35:20)
at packages/check/match.js:118:15
at Meteor.EnvironmentVariable.EVp.withValue (packages/meteor.js:1329:12)
at Object._failIfArgumentsAreNotAllChecked (packages/check/match.js:116:43)
at maybeAuditArgumentChecks (packages/ddp-server/livedata_server.js:1899:18)
at getCurrentMethodInvocationResult (packages/ddp-server/livedata_server.js:772:38)
at Meteor.EnvironmentVariable.EVp.withValue (packages/meteor.js:1329:12)
at packages/ddp-server/livedata_server.js:791:46
at new Promise (<anonymous>)
at Session.method (packages/ddp-server/livedata_server.js:739:23)
at packages/ddp-server/livedata_server.js:603:43
About this issue
- Original URL
- State: open
- Created a year ago
- Comments: 34 (20 by maintainers)
Commits related to this issue
- Import attachments .zip file. In Progress. Thanks to xet7 ! Related #4877 — committed to wekan/wekan by xet7 3 months ago
@S733
Yes. I’m currently adding to WeKan Trello import page button to upload JSON and attachments, and other related code. In Progress.
@S733
Thanks for info ! I try to fix before Apr 8.
I presume, that for all Import and Export options, it would be most practical to have those internally at WeKan webpages.
@n9yty
Yes, there is funding, and developing fixes for importing boards with attachments from Trello is In Progress.
@oninoni
Oh no. Please, no:
I prefer coding properly working import, thanks!
Hi @xet7
Starting Apr 8, Trello free Workspaces will be limited to 10 collaborators. We are trying to import our Trello Boards to Wekan and getting the same error.
With the latest version 7.36 the problem persists.
I thought I saw that funding was obtained, has this made any progress? Since I can’t see a direct way to even import without attachments this is kind of a mess right now for moving from Trello.
@AR1ES
Import from Trello code is here https://github.com/wekan/wekan/tree/master/models
Trello made new requirement for API key when downloading attachments, example to download with Python here https://github.com/wekan/wekan/tree/master/trello
So that kind of download with Javascript should be added to WeKan to wekan/models/
Trello API key input field can be added to https://github.com/wekan/wekan/tree/master/client/components/import
WeKan can be built and send PR this way https://github.com/wekan/wekan/wiki/Emoji
Alternatively, someone can fund import from Trello feature with 1000 euro at https://wekan.team/commercial-support/