danniehansen / activity-timer

Activity timer powerup for Trello
MIT License
45 stars 10 forks source link

Copied tasks inherits time records from original task #87

Closed jonez1 closed 1 year ago

jonez1 commented 1 year ago

Hello Dannie, i'd like to report strange behavior i've noticed lately.

I have made a copy of one task where was some time measured, and the copy retained the recorded values from the original task. I thought the time records were also duplicated, so i've deleted it ( Manage Time > Clear ), but it deleted the records at the original task too, which leads me to conclusion, that it inherited just the pointers from original task. By my opinion, every copy of the original task should have its time records cleaned.

Few pictures to document the issue. original_task copy_of_the_task

danniehansen commented 1 year ago

Hi @jonez1,

Sorry for the delay in my reply. Have been a busy few weeks.

I'll be looking into this issue this weekend 👍 I'm wondering how this can be or what i could do about it. The copy functionality is entirely Trello managed. But i will investigate and provide my findings.

danniehansen commented 1 year ago

@jonez1 I've looked into it and it's currently not possible with what Trello offers to make proper listeners in the frontend for when a card is copied to cleanup the data. I would love to have resolved it, but it doesn't seem possible.

Regarding clearing the data & clearing both. I've attempted this and are unable to provoke this. I've duplicated more than 50 times and been unable to clear both cards on either estimates or timestamps. Can you try and provide more information on how this can be reproduced?

danniehansen commented 1 year ago

Closing issue for now. Please just reply to re-open if there are any news @jonez1