<?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>422127</bug_id>
          
          <creation_ts>2020-05-27 08:07:11 +0000</creation_ts>
          <short_desc>Date-fields in duplicate an item</short_desc>
          <delta_ts>2020-08-21 21:25:45 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>2</classification_id>
          <classification>Applications</classification>
          <product>tellico</product>
          <component>general</component>
          <version>3.3.2</version>
          <rep_platform>Other</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="Fabiano Caruana">bugzilla</reporter>
          <assigned_to name="Robby Stephenson">robby</assigned_to>
          
          
          <cf_commitlink>https://invent.kde.org/office/tellico/commit/2fbb5692b10df068bb9c7c4304c7ee240780af3d</cf_commitlink>
          <cf_versionfixedin>3.3.3</cf_versionfixedin>
          <cf_sentryurl></cf_sentryurl>
          <votes>0</votes>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1932923</commentid>
    <comment_count>0</comment_count>
    <who name="Fabiano Caruana">bugzilla</who>
    <bug_when>2020-05-27 08:07:11 +0000</bug_when>
    <thetext>SUMMARY

If I duplicate an item, the date fields &quot;created on:&quot; and &quot;modified on:&quot; are filled with the value of the copied item.
It would make a lot of sense if the &quot;created on:&quot; field was filled with the current date, especially because this field cannot be changed manually.

greetings
Udo

STEPS TO REPRODUCE
1. duplicate an item
2. take a look at &quot;created on:&quot;
3. 

OBSERVED RESULT
the new item has the date &quot;created on:&quot; of the copied item

EXPECTED RESULT
the new item should have the current date

SOFTWARE/OS VERSIONS
KDE Plasma Version: 5.12.8
KDE Frameworks Version: 5.55.0
Qt Version: 5.9.7

ADDITIONAL INFORMATION</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1933073</commentid>
    <comment_count>1</comment_count>
    <who name="Robby Stephenson">robby</who>
    <bug_when>2020-05-28 01:24:06 +0000</bug_when>
    <thetext>Git commit 9869b15dcfdc9e305ea7571d32fa60e7abbc8426 by Robby Stephenson.
Committed on 28/05/2020 at 01:23.
Pushed by rstephenson into branch &apos;3.3&apos;.

Fix bug for setting creation date field for duplicated entries
FIXED-IN: 3.3.1

M  +4    -0    ChangeLog
M  +5    -1    src/entry.cpp
M  +18   -0    src/tests/collectiontest.cpp

https://invent.kde.org/office/tellico/commit/9869b15dcfdc9e305ea7571d32fa60e7abbc8426</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1933074</commentid>
    <comment_count>2</comment_count>
    <who name="Robby Stephenson">robby</who>
    <bug_when>2020-05-28 01:24:39 +0000</bug_when>
    <thetext>Git commit 63a7a6bdbc9cd8c9dd4bae413e8f9915ebaf9110 by Robby Stephenson.
Committed on 28/05/2020 at 01:22.
Pushed by rstephenson into branch &apos;master&apos;.

Fix bug for setting creation date field for duplicated entries
FIXED-IN: 3.3.1

M  +4    -0    ChangeLog
M  +5    -1    src/entry.cpp
M  +18   -0    src/tests/collectiontest.cpp

https://invent.kde.org/office/tellico/commit/63a7a6bdbc9cd8c9dd4bae413e8f9915ebaf9110</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1934173</commentid>
    <comment_count>3</comment_count>
    <who name="Fabiano Caruana">bugzilla</who>
    <bug_when>2020-06-02 18:05:19 +0000</bug_when>
    <thetext>Thank you for the prompt fixing.

greetings
Udo</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1951257</commentid>
    <comment_count>4</comment_count>
    <who name="Fabiano Caruana">bugzilla</who>
    <bug_when>2020-08-17 13:41:53 +0000</bug_when>
    <thetext>Sorry Robby,

In Version 3.3.2 this Bug is present again.

greetings
Udo</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1951411</commentid>
    <comment_count>5</comment_count>
    <who name="Robby Stephenson">robby</who>
    <bug_when>2020-08-18 01:00:38 +0000</bug_when>
    <thetext>Git commit bd336b2c1d913edec9e130e0a59342a23112c433 by Robby Stephenson.
Committed on 18/08/2020 at 00:59.
Pushed by rstephenson into branch &apos;3.3&apos;.

Fix regression for created and modified dates for duplicated entries

A recent fix to account for imported entries with modified date value
but not create ddate value broke the fix for this bug, so expand the
unit test and clear both date values in the Entry constructors.
FIXED-IN: 3.3.3

M  +4    -0    ChangeLog
M  +2    -0    src/entry.cpp
M  +5    -0    src/tests/collectiontest.cpp

https://invent.kde.org/office/tellico/commit/bd336b2c1d913edec9e130e0a59342a23112c433</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1951412</commentid>
    <comment_count>6</comment_count>
    <who name="Robby Stephenson">robby</who>
    <bug_when>2020-08-18 01:01:30 +0000</bug_when>
    <thetext>(In reply to Fabiano Caruana from comment #4)
&gt; In Version 3.3.2 this Bug is present again.

Sorry about that. I fixed a different bug and ended up re-opening this one. Thanks for letting me know again!</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1952314</commentid>
    <comment_count>7</comment_count>
    <who name="Robby Stephenson">robby</who>
    <bug_when>2020-08-21 21:25:45 +0000</bug_when>
    <thetext>Git commit 2fbb5692b10df068bb9c7c4304c7ee240780af3d by Robby Stephenson.
Committed on 18/08/2020 at 01:00.
Pushed by rstephenson into branch &apos;master&apos;.

Fix regression for created and modified dates for duplicated entries

A recent fix to account for imported entries with modified date value
but not create ddate value broke the fix for this bug, so expand the
unit test and clear both date values in the Entry constructors.
FIXED-IN: 3.3.3

M  +4    -0    ChangeLog
M  +2    -0    src/entry.cpp
M  +5    -0    src/tests/collectiontest.cpp

https://invent.kde.org/office/tellico/commit/2fbb5692b10df068bb9c7c4304c7ee240780af3d</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>