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 601323 - Scheduled Transactions Calendar displays incorrectly if transactions are scheduled for different months.
Scheduled Transactions Calendar displays incorrectly if transactions are sche...
Status: RESOLVED FIXED
Product: GnuCash
Classification: Other
Component: Scheduled Transactions
2.3.x
Other Windows
: Normal normal
: ---
Assigned To: Josh Sled
Josh Sled
: 610423 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2009-11-09 22:16 UTC by John Gietzen
Modified: 2018-06-29 22:30 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Issue Manifestation 1: December 1st should be hilighted, but isn't. (45.01 KB, image/png)
2009-11-09 22:16 UTC, John Gietzen
Details
Issue Manifestation 2: A transaction with 3 occurences only shows two. (58.14 KB, image/png)
2009-11-09 22:17 UTC, John Gietzen
Details
Issue Manifestation 3: Transactions scheduled for Fridays show up on Sondays. (45.78 KB, image/png)
2009-11-09 22:23 UTC, John Gietzen
Details
Test Case (74.00 KB, application/x-gnucash)
2009-11-09 22:26 UTC, John Gietzen
Details
small test case (1.15 KB, application/octet-stream)
2010-10-14 12:50 UTC, bodrato
Details

Description John Gietzen 2009-11-09 22:16:52 UTC
Created attachment 147334 [details]
Issue Manifestation 1: December 1st should be hilighted, but isn't.

See attachments.

Attachemnt 1:
Based on the "Next Occurs" date of the "Car Payment" transaction, December 1st
should be hi-lighted, but isn't.
Comment 1 John Gietzen 2009-11-09 22:17:51 UTC
Created attachment 147335 [details]
Issue Manifestation 2: A transaction with 3 occurences only shows two.
Comment 2 John Gietzen 2009-11-09 22:18:54 UTC
Attachment 2 [details]:
Based on the number of occurrences,  a transaction should be scheduled for November 1st, but isn't.
Comment 3 John Gietzen 2009-11-09 22:23:57 UTC
Created attachment 147338 [details]
Issue Manifestation 3: Transactions scheduled for Fridays show up on Sondays.

Attachment 3 [details]:
Based on the "Weekly (x2): -----F-" fequency field, transactions for wages should show up on Fridays.  These are showing up on Sundays.

In addition, Based on the "Next Occur" date of the "Wages" and "Car Payment" transactions, there should be nothing showing except the "Past Due Rent" transactions.  That is, "Wages" and "Car Payment" a set up to start in November and December respectively.
Comment 4 John Gietzen 2009-11-09 22:26:08 UTC
Created attachment 147339 [details]
Test Case
Comment 5 John Gietzen 2009-11-09 22:33:09 UTC
It appears (without looking at the source, i would admit) that, during the process of adding every transaction to the calendar, the application assumes that the first moth shown is the first month to which the transaction applies.

After the application places its marker, it appears that it uses the correct delta of dates for each subsequent marker.  This is manifested in the fact that all of the "Wages" transactions shown above happen 7 days apart, and that the 2nd of December is hi-lighted, which is a 31-day delta (the number of days in December, not November.)
Comment 6 Bob Brush 2010-02-19 05:04:32 UTC
*** Bug 610423 has been marked as a duplicate of this bug. ***
Comment 7 bodrato 2010-10-14 12:50:00 UTC
Created attachment 172348 [details]
small test case

A small test case showing the bug.
Comment 8 bodrato 2010-10-14 12:52:03 UTC
The same bug appear to me.

I'm running GnuCash 2.2.9 on a Debian GNU/Linux system.

$ LANG=C gnucash --version
gnc.bin-Message: main: binreloc relocation support was disabled at configure
time.

GnuCash 2.2.9
Built 2010-10-10 from r17949M

The binary program I'm using come from the Debian package gnucash, version
2.2.9-8.

I attached a very small test case.
Comment 9 John Gietzen 2010-12-30 03:33:50 UTC
This bug has been sitting here for over a year... what does it take to get it confirmed and fixed?
Comment 10 John Gietzen 2010-12-30 04:30:30 UTC
This appears to be fixed in the most recent version.
Comment 11 John Ralls 2018-06-29 22:30:38 UTC
GnuCash bug tracking has moved to a new Bugzilla host. This bug has been copied to https://bugs.gnucash.org/show_bug.cgi?id=601323. Please update any external references or bookmarks.