-
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
Usage of tasklist in description deletes entire description #2580
Comments
same here, is there an option to get the description back? |
Afaik no. It's also deleted in the database. |
The put request sets |
https://github.com/nextcloud/deck/blob/master/src/components/card/Description.vue#L178 This is the function where the accident happen... I'm a lousy js/vuejs hacker :D |
...but I like to hotfix it |
luckily the description was from an old deck and I could use a DB backup |
In v1.1.2 it was |
When you're on mariadb >= 10.3, a workaround to prevent dataloss is, simple add system versioning to that table. alter table oc_deck_cards add system versioning; https://mariadb.com/kb/en/system-versioned-tables/ You can than query the history and recover lost data select title, description, row_start, row_end from oc_deck_cards FOR SYSTEM_TIME BETWEEN (NOW() - INTERVAL 1 YEAR) AND NOW() where title like 'YOUR CARD TITLE%'; But that's not a permanent solution. Hopefully @juliushaertl find a fix for that fast. |
…2580) Signed-off-by: Julius Härtl <[email protected]>
WOHOOOO I GOT IT https://github.com/nextcloud/deck/blob/master/src/components/card/Description.vue#L183 must be |
What a timing 😁 Thanks for looking into that already. I've pushed my fix (basically the same as yours) but included an additional commit to avoid issues in the modal in #2584 Reviews and testing are very welcome. There is also an app build available in the pull request artifacts that can be used for testing this without requiring to build the app yourself: https://github.com/nextcloud/deck/pull/2584/checks?check_run_id=1420738455 |
@juliushaertl works for me. |
@LuCu11 For me it was always possible to recover the description from the history of the card. Hope this will work for you, too. |
Describe the bug
When check off tasks of a markdown task list, the entire description will be deleted.
To Reproduce
It's also deleted in the database.
Expected behavior
description won't be deleted and the tasks list is just checked off.
Screenshots
Client details:
The text was updated successfully, but these errors were encountered: