Closed tayateo closed 6 years ago
@mayenok, thank you for finding and fixing this issue. I've merged your PR into the branch fix/bulk_edit_journals (for now) and I've applied one more commit in order to save the new tags only when there are changes and to avoid the extra call to the new tags_differ?
method.
Please let me know what do you think about my changes.
Also, I think that we should add a migration script to delete the wrong journal details (where prop_key = 'tag_list' AND old_value = value).
Thank you for considering my request ) And by the way thanks for the plugin too! ) I think that your version looks cleaner, and works fine as far as I see. As for migration - it is a great idea, I've forgotten about logs that are already wrong
During bulk editing when you change anything else but tags - the history is nevertheless logged with message about tags changing. Examples:
you have no tags, bulk edit e.g. priority, do not add tags - in history you see 'tags were deleted'
you have same tags, bulk edit e.g. priority, do not change tags - in history you see 'tags were changed from foo, bar to foo, bar'
Latest version of rubocop complained about outdated syntax in the .rubocop.yml