Skip to content
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

org-trello-sync-buffer -- Members attribution #352

Open
earl-ducaine opened this issue Feb 23, 2017 · 1 comment
Open

org-trello-sync-buffer -- Members attribution #352

earl-ducaine opened this issue Feb 23, 2017 · 1 comment
Labels
to-investigate Did not have time to take a look at, so need to find time to

Comments

@earl-ducaine
Copy link

earl-ducaine commented Feb 23, 2017

Hello,

bug?

M-x org-trello-bug-report

Report back the output from that command here.

System information:
- system-type: gnu/linux
- locale-coding-system: utf-8-unix
- emacs-version: GNU Emacs 24.5.1 (x86_64-pc-linux-gnu, GTK+ Version 3.18.9)
 of 2016-04-25 on lgw01-10, modified by Debian
- org version: 9.0.3
- org-trello version: 0.7.9
- org-trello path: /home/rett/.emacs.d/elpa/org-trello-20160604.645/org-trello.el
- request-backend: curl

Expected behavior

When syncing cards to trello, especially ones that have not been changed, I would expect any meta data, Members attribution in this case, to remain intact. This means two related behaviors: : 1) an ability to pull down board members in the same way you can task statuses and assign them to cards. 2) Even if the above functionality does not exists, to at least not overwrite existing assignments with 'no member' when syncing to trello.

Actual behavior

When syncing cards to trello, even ones that have not be changes, any Members attribution to the cards is deleted.

Steps to reproduce the behavior

  • create card on trello board through the ui
  • sync local org mode emacs buffer using from sync
  • sync emacs buffer to trello
  • Inspect recently added card through the browser ui. Note, Members data is blanked.

More information on

http://org-trello.github.io/contributions.html#issues

Improvments?

trello mode should have a more robust scheme for handling metadata that it might note know about due to features rolled out in Trello or, due to customizations.

@ardumont ardumont added the to-investigate Did not have time to take a look at, so need to find time to label Feb 24, 2017
@rsansores
Copy link

rsansores commented Mar 25, 2019

I thought I was hitting this bug, but I was able to solve it. (And maybe the bug don't even exist)

Like @earl-ducaine mentioned, when updating from trello into org file the members of a card were being removed. The problem was that the metadata of the file was not updated and new members were added to the board after I created the org file.

Running (org-trello-update-board-metadata) and later running a full sync in the buffer from trello into the file solved the problem.

So to reproduce this behavior you can create an org file and sync it to a board. Then add new members to the board without updating the metadata of the file. Assign this new member to a card from the web UI. Then sync the buffer in both ways (trello into file and then file into trello) and the new member will be deleted from any assigned card.

The solution could be updating the metadata on every C-u C-c o s but maybe that will break other functionality.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
to-investigate Did not have time to take a look at, so need to find time to
Projects
None yet
Development

No branches or pull requests

3 participants