gnucash maint: Bug 796940 - Invalid transaction date-posted KVP causes...

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

gnucash maint: Bug 796940 - Invalid transaction date-posted KVP causes...

John Ralls-4
Updated via  https://github.com/Gnucash/gnucash/commit/710b122b (commit)
        from  https://github.com/Gnucash/gnucash/commit/4c1c485d (commit)



commit 710b122b24de23e61dc2b099a9fdc89cb7c0d3a2
Author: John Ralls <[hidden email]>
Date:   Sun Nov 11 17:07:34 2018 +0900

    Bug 796940 - Invalid transaction date-posted KVP causes...
   
    date-posted to not be saved.
   
    Check the stored GDate for being in the GncDateTime range as well
    as the GDate range before returning it and check trans->date-posted
    against INT64_MAX instead of 0 before changing it.



Summary of changes:
 libgnucash/engine/Scrub.c       |  5 +++--
 libgnucash/engine/Transaction.c | 10 ++++------
 2 files changed, 7 insertions(+), 8 deletions(-)

_______________________________________________
gnucash-patches mailing list
[hidden email]
https://lists.gnucash.org/mailman/listinfo/gnucash-patches