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 566505 - Crash in add invoice line
Crash in add invoice line
Status: RESOLVED DUPLICATE of bug 564928
Product: GnuCash
Classification: Other
Component: General
2.2.x
Other Windows
: Normal normal
: ---
Assigned To: Andreas Köhler
Andreas Köhler
Depends on:
Blocks:
 
 
Reported: 2009-01-04 12:13 UTC by Jason Morgan
Modified: 2018-06-29 22:15 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Simple example (1.37 KB, application/octet-stream)
2009-01-04 12:31 UTC, Jason Morgan
Details

Description Jason Morgan 2009-01-04 12:13:41 UTC
I had a crash every time I added an invoice line
I found that not including VAT in the invoice line prevented the crash
Strangly the list of possible VAT types was doubled up, with two entries for every VAT type in VAT Tables.

I changed the VAT table entry from "VAT (before 1st Dec 08)" and "VAT (to 1st Dec 08)" to "VAT 17.5 Percent" and "VAT 15.0 Percent" this cured the problem.

Conclusion: The brackets in the text field were upsetting some later processing.

Solution, either filter input text to remove disallowed characters or change the processing.
Comment 1 Jason Morgan 2009-01-04 12:31:05 UTC
Created attachment 125732 [details]
Simple example
Comment 2 Jason Morgan 2009-01-04 12:33:25 UTC
The attached file creates a test case for this crash
There is one account for VAT and two VAT table entries, both with brackets in their name.

See that on entering a new invoice, there are four VAT table entries.

On closing the invoice, if the VAT table entry is set, then GC crashes.

OS is Windows XP Pro with all latest updates
Comment 3 Andreas Köhler 2009-01-05 06:35:02 UTC
This problem has been fixed in our software repository. The fix will go into the next software release. Thank you for your bug report.


*** This bug has been marked as a duplicate of 564928 ***
Comment 4 John Ralls 2018-06-29 22:15:24 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=566505. Please update any external references or bookmarks.