Bug 504815 - Tag assignment does not work for multi split transactions
Summary: Tag assignment does not work for multi split transactions
Status: RESOLVED FIXED
Alias: None
Product: kmymoney
Classification: Applications
Component: general (other bugs)
Version First Reported In: git (master)
Platform: Other All
: NOR normal
Target Milestone: ---
Assignee: KMyMoney Devel Mailing List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-05-26 13:50 UTC by Thomas Baumgart
Modified: 2025-05-31 05:52 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In: 5.2
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Thomas Baumgart 2025-05-26 13:50:53 UTC
SUMMARY

Adding a tag in a multi-split transaction has no effect.

STEPS TO REPRODUCE
1. Start editing a transaction that has multiple splits
2. Add a tag using the transaction editor
3. Save the transaction
4. Start editing the transaction again

OBSERVED RESULT

The assigned tag is not visible

EXPECTED RESULT

The assigned tag is visible or the assignment is not possible (tag widget disabled).
Comment 1 Thomas Baumgart 2025-05-27 06:08:43 UTC
Git commit 91df2ef5fc2d2f0eb050ee6b55cc954557500c45 by Thomas Baumgart.
Committed on 27/05/2025 at 06:08.
Pushed by tbaumgart into branch '5.2'.

Prevent access to tag in multi split transactions

In multi split transactions, the tags are assigned per split and
therefore, the tag widget in the transaction editor has no function.
That is why it needs to be disabled.
FIXED-IN: 5.2

M  +1    -1    kmymoney/views/newtransactioneditor.cpp

https://invent.kde.org/office/kmymoney/-/commit/91df2ef5fc2d2f0eb050ee6b55cc954557500c45
Comment 2 Thomas Baumgart 2025-05-31 05:52:30 UTC
Git commit 5a8eb8bac8b4a43d11d51ecf633f76142ca32fdc by Thomas Baumgart.
Committed on 30/05/2025 at 09:27.
Pushed by tbaumgart into branch 'master'.

Prevent access to tag in multi split transactions

In multi split transactions, the tags are assigned per split and
therefore, the tag widget in the transaction editor has no function.
That is why it needs to be disabled.
FIXED-IN: 5.2
(cherry picked from commit a87e5ba9bde84b09b6e5c6151c153c0f112e7f2f)

M  +1    -1    kmymoney/views/newtransactioneditor.cpp

https://invent.kde.org/office/kmymoney/-/commit/5a8eb8bac8b4a43d11d51ecf633f76142ca32fdc