-
Notifications
You must be signed in to change notification settings - Fork 282
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Trello JSON Import Error #5136
Comments
I am experiencing the same issue, but the solution provided did not work in my case. I get the same error, but it now references line 364 instead of line 136. |
I've forgotten the second change i've made: |
Thank you for sharing the additional change. I made the same changes as you, and it worked for me as well. I tried on a very small board, so I might give it another shot on a larger board at a later time. I will note for anyone else looking for the config file mine was in a slightly different location.
|
I had the same problem and the proposed changes solved it. Would be great to add this change to the repo! |
I got this issue with TrelloJson and TrelloApi, this change fixed it for TrelloApi (I didn't bother trying TrelloJson after going to the trouble of setting up trelloapi thinking that might be the root cause before I found this) |
thanks @rnaujack ! It worked also on my side. (Use TrelloAPI importer on NC 28.0.4 - Deck 1.12.2). Fancy making a PR with your fix? That'd be great. |
Fixes the following issue: nextcloud#5136 By fixing the following error when running 'php occ deck:import --system=TrelloJson' Error: Call to a member function getUID() on string in /home/sites/site100028002/web/nextcloud.enklaave.org/apps/deck/lib/Service/Importer/Systems/TrelloJsonService.php:136 and Error: Call to a member function getUID() on string in /home/sites/site100028002/web/nextcloud.enklaave.org/apps/deck/lib/Service/Importer/Systems/TrelloJsonService.php:364 Signed-off-by: mulles <[email protected]>
Fixes the following issue: nextcloud#5136 By fixing the following error when running 'php occ deck:import --system=TrelloJson' Error: Call to a member function getUID() on string in /home/sites/site100028002/web/nextcloud.enklaave.org/apps/deck/lib/Service/Importer/Systems/TrelloJsonService.php:136 and Error: Call to a member function getUID() on string in /home/sites/site100028002/web/nextcloud.enklaave.org/apps/deck/lib/Service/Importer/Systems/TrelloJsonService.php:364 Signed-off-by: mulles <[email protected]>
I confirm, after in mentioned document it is necessary to remove line 136 and line 364 to find the mentioned document use this bullshit:
|
Fixes the following issue: #5136 By fixing the following error when running 'php occ deck:import --system=TrelloJson' Error: Call to a member function getUID() on string in /home/sites/site100028002/web/nextcloud.enklaave.org/apps/deck/lib/Service/Importer/Systems/TrelloJsonService.php:136 and Error: Call to a member function getUID() on string in /home/sites/site100028002/web/nextcloud.enklaave.org/apps/deck/lib/Service/Importer/Systems/TrelloJsonService.php:364 Signed-off-by: mulles <[email protected]>
Fixes the following issue: #5136 By fixing the following error when running 'php occ deck:import --system=TrelloJson' Error: Call to a member function getUID() on string in /home/sites/site100028002/web/nextcloud.enklaave.org/apps/deck/lib/Service/Importer/Systems/TrelloJsonService.php:136 and Error: Call to a member function getUID() on string in /home/sites/site100028002/web/nextcloud.enklaave.org/apps/deck/lib/Service/Importer/Systems/TrelloJsonService.php:364 Signed-off-by: mulles <[email protected]>
Fixes the following issue: #5136 By fixing the following error when running 'php occ deck:import --system=TrelloJson' Error: Call to a member function getUID() on string in /home/sites/site100028002/web/nextcloud.enklaave.org/apps/deck/lib/Service/Importer/Systems/TrelloJsonService.php:136 and Error: Call to a member function getUID() on string in /home/sites/site100028002/web/nextcloud.enklaave.org/apps/deck/lib/Service/Importer/Systems/TrelloJsonService.php:364 Signed-off-by: mulles <[email protected]>
Fixes the following issue: nextcloud#5136 By fixing the following error when running 'php occ deck:import --system=TrelloJson' Error: Call to a member function getUID() on string in /home/sites/site100028002/web/nextcloud.enklaave.org/apps/deck/lib/Service/Importer/Systems/TrelloJsonService.php:136 and Error: Call to a member function getUID() on string in /home/sites/site100028002/web/nextcloud.enklaave.org/apps/deck/lib/Service/Importer/Systems/TrelloJsonService.php:364 Signed-off-by: mulles <[email protected]>
While importing with occ deck:import --system=TrelloJson --config=cofig.json --data=trello.json
the import aborted after partial import with this error: "Call to a member function getUID() on string in /var/www/html/custom_apps/deck/lib/Service/Importer/Systems/TrelloJsonService.php:136"
To reproduce this error the trello.json file must contain an action with "type": "commentCard".
Nextcloud version:
27.1.0.
Where did you install Nextcloud from:
all-in-one
Signing status:
List of activated apps:
Nextcloud configuration:
Logs
Nextcloud log (data/nextcloud.log)
Browser log
And i've fixed it for me changing the file
/var/www/html/custom_apps/deck/lib/Service/Importer/Systems/TrelloJsonService.php
line136:
instead of
The text was updated successfully, but these errors were encountered: