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 548357 - RFE: pop up a warning, if a transaction contains imbalanced or orphaned splits
RFE: pop up a warning, if a transaction contains imbalanced or orphaned splits
Status: RESOLVED OBSOLETE
Product: GnuCash
Classification: Other
Component: User Interface General
2.2.x
Other All
: Normal enhancement
: ---
Assigned To: David Hampton
Chris Shoemaker
: 589712 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2008-08-18 22:39 UTC by Frank H. Ellenberger
Modified: 2018-06-29 22:08 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Frank H. Ellenberger 2008-08-18 22:39:50 UTC
While you enter a transaction, GC tries to sort the splits "debits before credits", what usualy works fine.

On the other hand, GC acts different, depending of your key pressed at the end of the line.

If you enter first a credit split the behavior is somtimes confusing:

<tab> moves you to the next split without sorting as "the normal user" would expect.
<enter> insert an new, "imbalanced" split as line 1,
   keeps your credit split to line 2 and
   moves the cursor in line 3.

Now it depends on what you do next. 
You can end up with 
  an only not so nice looking txn with an additional $0 imbalanced split 
  or more worse things, as watched e.g. as one part of the user confusion in bug 433081, if other things also do not work as expected.

So my suggestion would be: wake up the user by popping up a warning, if a transaction contains imbalanced or orphaned splits. 

This could be done by the standard "Save the changed transaction?" dialog with some other texts.
Comment 1 Christian Stimming 2010-03-02 12:16:03 UTC
*** Bug 589712 has been marked as a duplicate of this bug. ***
Comment 2 John Ralls 2018-06-29 22:08:56 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=548357. Please continue processing the bug there and please update any external references or bookmarks.