<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.kde.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.6"
          urlbase="https://bugs.kde.org/"
          
          maintainer="sysadmin@kde.org"
>

    <bug>
          <bug_id>499357</bug_id>
          
          <creation_ts>2025-01-31 09:12:52 +0000</creation_ts>
          <short_desc>Price Editor: Modifying a commodity seems to duplicate it</short_desc>
          <delta_ts>2025-07-31 14:14:40 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>2</classification_id>
          <classification>Applications</classification>
          <product>kmymoney</product>
          <component>ux-ui</component>
          <version>git (master)</version>
          <rep_platform>Arch Linux</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>NOR</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>0</everconfirmed>
          <reporter name="Paul Worrall">p.r.worrall</reporter>
          <assigned_to name="KMyMoney Devel Mailing List">kmymoney-devel</assigned_to>
          
          
          <cf_commitlink>https://invent.kde.org/office/kmymoney/-/commit/01c9d69158bfae9102b992211ff196a665d23d33</cf_commitlink>
          <cf_versionfixedin>5.2.1</cf_versionfixedin>
          <cf_sentryurl></cf_sentryurl>
          <votes>0</votes>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>2394075</commentid>
    <comment_count>0</comment_count>
    <who name="Paul Worrall">p.r.worrall</who>
    <bug_when>2025-01-31 09:12:52 +0000</bug_when>
    <thetext>Using: kmymoney-master-4044-linux-gcc-x86_64.AppImage

STEPS TO REPRODUCE
1. Tools =&gt; Prices
2. Select a commodity and click Modify
3. Change the Date and click OK

OBSERVED RESULT
A new row appears in the dialog showing the new date and the row showing the old date is still present

EXPECTED RESULT
Only one row showing the new date

SOFTWARE/OS VERSIONS
KDE Plasma Version: 6.2.91
KDE Frameworks Version: 6.10.0
Qt Version: 6.9.0
Graphics Platform: Wayland</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2444174</commentid>
    <comment_count>1</comment_count>
    <who name="Thomas Baumgart">thb</who>
    <bug_when>2025-07-31 06:59:06 +0000</bug_when>
    <thetext>Git commit 150ac550d74d3db93570820ff597bb957691770b by Thomas Baumgart.
Committed on 31/07/2025 at 06:08.
Pushed by tbaumgart into branch &apos;master&apos;.

Invalidate sort model after editing prices
FIXED-IN: 5.2.1

M  +4    -3    kmymoney/dialogs/kmymoneypricedlg.cpp

https://invent.kde.org/office/kmymoney/-/commit/150ac550d74d3db93570820ff597bb957691770b</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2444243</commentid>
    <comment_count>2</comment_count>
    <who name="Thomas Baumgart">thb</who>
    <bug_when>2025-07-31 14:14:40 +0000</bug_when>
    <thetext>Git commit 01c9d69158bfae9102b992211ff196a665d23d33 by Thomas Baumgart.
Committed on 31/07/2025 at 06:59.
Pushed by tbaumgart into branch &apos;5.2&apos;.

Invalidate sort model after editing prices
FIXED-IN: 5.2.1
(cherry picked from commit 150ac550d74d3db93570820ff597bb957691770b)

M  +4    -3    kmymoney/dialogs/kmymoneypricedlg.cpp

https://invent.kde.org/office/kmymoney/-/commit/01c9d69158bfae9102b992211ff196a665d23d33</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>