[GNC] Found Another Potential Bug

Robert Simmons rsimmons0 at gmail.com
Thu Aug 11 07:50:30 EDT 2022


This time in the Find function in the GUI. Here are the steps to reproduce:

1. Create a fresh GnuCash file of SQLite3 type.
2. Create a new company named "Acme"
3. Create a second new company called "The Empire"
4. Create a new job named "Build Deathstar" and set the owner information
to "The Empire"
5. Create a new invoice with billing info set to customer "The Empire" and
job set to "Build Deathstar".
6. Create an entry in the new invoice with description "Vaporize Alderaan",
action "Project", account "Income:Sales", quantity 1, and unit price 1000.
7. Hit enter
8. Create a new job named "Catch Roadrunner" and set the customer to "Acme".
9. Create a new invoice with customer set to "Acme" and job set to "Catch
Roadrunner".
10. Create an entry in the new invoice with description "Rocket powered
rollerskates", action "Material", account "Income:Sales", quantity 1, and
unit price 2000.
11. Business menu > Customer > Find Invoice...
12. Set the search criteria to "Invoice Owner" "is" "Customer" then click
"Select"
13. Navigate to one of the customers and click "Select".
14. Back in the main find window, click "Find".

Observe that the find failed and returned all invoices rather than the ones
owned by the expected customer per search criteria.

You can rinse and repeat this with setting the "Invoice Owner" "is" "Job"
and pick any existing job and the same failure happens.

Definitely a software defect here. Can someone reproduce this?


More information about the gnucash-user mailing list