After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 665883 - Scheduled transactions no longer respect the "i" variable
Scheduled transactions no longer respect the "i" variable
Status: RESOLVED OBSOLETE
Product: GnuCash
Classification: Other
Component: Scheduled Transactions
2.4.x
Other Windows
: Normal major
: ---
Assigned To: gnucash-core-maint
gnucash-core-maint
: 733591 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2011-12-09 18:36 UTC by romkyns
Modified: 2018-06-29 23:03 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description romkyns 2011-12-09 18:36:58 UTC
After upgrading to v2.4.8, I found that the "i" variable is no longer honoured when calculating the amount of a transaction. This is a major issue because all my depreciation accounts rely on this feature.

To reproduce: create a scheduled transaction starting a few days in the past, repeating for 50 times, for the amount "10 + i". Run "since last run".

Expected: several transactions created for the amount 10, 11, 12, 13 etc.

Actual: several transactions created for the amount 10, 10, 10, 10 etc.
Comment 1 romkyns 2011-12-09 19:01:56 UTC
On a closer look it appears that this hasn't worked properly in the past versions either (which means I have lots of fixing up to do in my books... should have tested it better).

I wonder if "i" fails to be incremented when multiple instances get created in a single run?
Comment 2 John Ralls 2014-07-23 08:06:17 UTC
*** Bug 733591 has been marked as a duplicate of this bug. ***
Comment 3 John Ralls 2014-07-23 08:15:26 UTC
Also possibly related: Bug 670731, bug 680104
Comment 4 John Ralls 2015-02-28 16:41:36 UTC
On Feb 28, 2015, at 7:12 AM, Yaocl <chunlinyao@gmail.com> wrote:

Hi

When create a new SX with the SX editor save both
<slot:key>debit-numeric</slot:key> and
<slot:key>debit-formula</slot:key>. Which cause the transaction amount
not recalculated by instance-count "i".
Comment 5 John Ralls 2017-09-24 22:17:55 UTC
Reassign version to 2.4.x so that individual 2.4 versions can be retired.
Comment 6 John Ralls 2018-06-29 23:03:35 UTC
GnuCash bug tracking has moved to a new Bugzilla host. The new URL for this bug is https://bugs.gnucash.org/show_bug.cgi?id=665883. Please continue processing the bug there and please update any external references or bookmarks.