[korganizer] [Bug 441846] Tags duplicated with copy&paste an event

bugzilla_noreply at kde.org bugzilla_noreply at kde.org
Sat Oct 2 02:04:33 BST 2021


https://bugs.kde.org/show_bug.cgi?id=441846

gjditchfield at acm.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|---                         |FIXED
      Latest Commit|                            |https://invent.kde.org/pim/
                   |                            |incidenceeditor/commit/5bf2
                   |                            |e967dcd709658a2fae58cfaecb5
                   |                            |a04693b2f

--- Comment #6 from gjditchfield at acm.org ---
Git commit 5bf2e967dcd709658a2fae58cfaecb5a04693b2f by Glen Ditchfield, on
behalf of Glen Ditchfield.
Committed on 30/09/2021 at 01:05.
Pushed by gditchfield into branch 'release/21.08'.

Do not create duplicate tags

If an event with categories is cut & pasted, the pasted event has the
same categories as the original but does not have the same tag-item
relationships in Akonadi.  (This is not the only way that categories
and tags go out of sync.)

When the incidence editor opens the pasted event, it creates new GENERIC
tags for the categories, duplicating the existing tag.  Then it inserts
the tag in the editor, thus making it dirty and causing unnecessary
"Do you really want to cancel?" dialogs.

This patch creates PLAIN tags, merges them with existing tags, and
does not dirty the editor.

M  +11   -5    src/incidencecategories.cpp

https://invent.kde.org/pim/incidenceeditor/commit/5bf2e967dcd709658a2fae58cfaecb5a04693b2f

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the Kdepim-bugs mailing list