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 412633 - A new simple yearly scheduled transaction displays incorrectly
A new simple yearly scheduled transaction displays incorrectly
Status: VERIFIED FIXED
Product: GnuCash
Classification: Other
Component: Scheduled Transactions
git-master
Other All
: Normal normal
: ---
Assigned To: Josh Sled
Josh Sled
Depends on:
Blocks:
 
 
Reported: 2007-02-27 14:21 UTC by Chris Leach
Modified: 2018-06-29 21:28 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Chris Leach 2007-02-27 14:21:20 UTC
Please describe the problem:
A newly created SX from an existing transaction set to yearly does not display the correct frequency.
Gnucash crash on save.

Steps to reproduce:
Select transaction
click "Schedule"
In "Make Scheduled Transaction" dialog change Frequency to yearly
Click "OK"

Select Actions->Scheduled Transactions->Scheduled Transaction Editor
The new SX has frequency None and Next Occur never

Closing the SX Editor and opening it again
The SX now has frequency none and Next Occur 29638-11-24

Select Save


On quitting and saving gnucash crashes with SIGSEGV

Program received signal SIGSEGV, Segmentation fault.

Thread NaN (LWP 5057)

  • #0 g_hash_table_lookup
    from /usr/lib/libglib-2.0.so.0
  • #1 ??
    from /opt/gnucash2/lib/gnucash/gnucash/libgncmod-register-core.so
  • #2 ??
  • #3 ??
    from /opt/gnucash2/lib/gnucash/gnucash/libgncmod-register-core.so
  • #4 ??
  • #5 gnc_table_get_cell_name
    from /opt/gnucash2/lib/gnucash/gnucash/libgncmod-register-core.so
  • #6 gnc_table_model_get_bg_color_handler
    from /opt/gnucash2/lib/gnucash/gnucash/libgncmod-register-core.so
  • #7 gnc_table_get_bg_color
    from /opt/gnucash2/lib/gnucash/gnucash/libgncmod-register-core.so
  • #8 ??
    from /opt/gnucash2/lib/gnucash/gnucash/libgncmod-register-gnome.so
  • #9 ??
  • #10 ??
  • #11 ??



Actual results:
described above

Expected results:
the Frequecy should be displayed as Monthly x12 and the Next Occur should be a year from the original tarnaction

Does this happen every time?
yes

Other information:
I'm running Ubuntu Feisty which still in development.
Comment 1 Josh Sled 2007-02-27 14:31:12 UTC
Please report the source revision number for svn builds, available via `gnucash --version` or in the About dialog.

Confirmed.  I've forgotten to update the sx-from-trans dialog for the Recurrence code.
Comment 2 Chris Leach 2007-02-27 16:01:23 UTC
$ gnucash --version
main: Error on gbr_init: Binary relocation support is disabled.
GnuCash 2.0.99 development version
Built 2007-02-27 from r15671M
Comment 3 Josh Sled 2007-03-08 03:05:56 UTC
Fixed in r15689; note that there are still other issues, particularly in the GncDenseCal[endar] display of the related SX ... but it won't create a crazy SX that crashes the app anymore.  Thanks.
Comment 4 John Ralls 2018-06-29 21:28:07 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=412633. Please update any external references or bookmarks.