GNOME Bugzilla – Bug 646107
Duplicate Invoice button corrupts original invoice & blank new invoice
Last modified: 2018-06-29 22:55:51 UTC
Steps - Find and display invoice to duplicate - Click on Duplicate Invoice button - Accept the pop up box - New invoice is now displayed The new invoice is displayed with the new invoice number, name of employee / company, but no transactions are displayed from the invoice it was duplicated from. Returning back to the original invoice that was used for the duplication, where the original has 3 lines (for example) now shows 4 lines for each original line. Bug is repeatable. Using the same original invoice now with 4 lines per original line will create another 3 lines per original line.
This feature contained an error in version 2.4.3, but should have been fixed in 2.4.4. Can you attach a small example gnucash file so that we can reproduce your bug?
Created attachment 184591 [details] small test file with corrupted records Thanks for the response. I installed the latest version 2.4.4 to retest the problem and found it to exist. Further more, found that when duplicating the invoice and decided not to accept it and clicking cancel still creates the new empty duplicate.
*** This bug has been marked as a duplicate of bug 647360 ***
The nightly build 2.4.5 r20564 should have this fixed. Can you check here: http://code.gnucash.org/builds/win32/2.4/
(In reply to comment #4) > The nightly build 2.4.5 r20564 should have this fixed. Can you check here: > http://code.gnucash.org/builds/win32/2.4/ Hi Christian, Looks good for me. Duplicated the same Expense Voucher multiple times and each duplicated Expense Voucher looked the same as the original. The original remained the same as first created, ie no multiple records created. In reply 2011-03-29 14:44:09 UTC I wrote the following: Further more, found that when duplicating the invoice and decided not to accept it and clicking cancel still creates the new empty duplicate. This is still occuring. Do you want this raised as a new issue? Thanks for fixing this problem.
>In reply 2011-03-29 14:44:09 UTC I wrote the following: > Further more, found that when duplicating the invoice and decided not to >accept > it and clicking cancel still creates the new empty duplicate. > >This is still occuring. Do you want this raised as a new issue? Yes, that would be a separate issue. The question window which is shown there doesn't quite react to the "Cancel" button... hm... getting the connection in there to "cancel the duplication" isn't completely easy, but would require some non-trivial changes to the UI logic. Well, just file it as a new issue, but it won't be worked on with high priority, though.
ok. I'll do that.
Reassign version to 2.4.x so that individual 2.4 versions can be retired.
GnuCash bug tracking has moved to a new Bugzilla host. This bug has been copied to https://bugs.gnucash.org/show_bug.cgi?id=646107. Please update any external references or bookmarks.