GnuCash
Contact   Instructions
Bug 798133 - Gnucash crash when any custom action is entered
Summary: Gnucash crash when any custom action is entered
Status: RESOLVED FIXED
Alias: None
Product: GnuCash
Classification: Unclassified
Component: Register (show other bugs)
Version: 4.4
Hardware: PC Windows
: Normal critical
Target Milestone: ---
Assignee: ui
QA Contact: ui
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-02-20 09:59 EST by Ruben Cheng
Modified: 2021-04-20 13:26 EDT (History)
3 users (show)

See Also:


Attachments

Description Ruben Cheng 2021-02-20 09:59:01 EST
In a register, if one enter any custom action which it's not listed it will crash GnuCash
Comment 1 John Ralls 2021-02-20 12:28:57 EST
Sorry, that doesn't make sense. Please write a step-by-step procedure to reproduce the crash.
Comment 2 John Ralls 2021-03-14 14:00:49 EDT
Unable to reproduce the obvious (entering something into the split action field that's not in the drop-down list), no further information from reporter.

Ruben Cheng, if at some point you're motivated to provide detailed information about how you induced the crash you may reopen the bug.
Comment 3 Ruben Cheng 2021-03-16 19:44:02 EDT
Hi..

I did these steps to reproduce the failure... With a new file

1) Create a new file, with "Common Accounts" categories template. Save the file
2) Open Cash in Wallet
3) Enter a transaction, filling the fields Date, Description (Test), Transfer (with any categoriess. I tried Expense:Auto), Spend (20). Num, action and Notes are empty. 
4) You will have a new empty transaction to enter. Above is the created in step (3)
4) Select last new transaction
5) Select Action field. It will list: Buy, Decrease, Increase, Sell.
6) Instead select any, enter any word, for example "crash"
7) it will close GnuCash without error
Comment 4 John Ralls 2021-04-20 13:26:14 EDT
Perfect, I was able to easily reproduce and fix. It will be in tonight's nightly and GnuCash 4.6.

Note You need to log in before you can comment on or make changes to this bug.