dragotin / kraft

Kraft helps to handle your daily quotes and invoices in your small business.
http://volle-kraft-voraus.de
GNU General Public License v2.0
58 stars 18 forks source link

Items disappear #102

Closed ghost closed 3 years ago

ghost commented 3 years ago

From time to time when I create some quotes, invoices, etc. and then click "OK" and reopen them, items randomly disappear. This is usually the case when I change several items at the same time.

This is done with sqlite. I will give it a try with mariadb.

dragotin commented 3 years ago

Do you remember if, if that happens, reordering of items or removal of items was involved? I have got reports about this bug, but was not yet able to reproduce it.

ghost commented 3 years ago

I just tried that but nothing. I think it was reordering but I can't remember.

ghost commented 3 years ago

It happened again. I copied a document and put a template at the beginning of the positions (approx 10 in total). Then I deleted the second position, but the first one is marked as deleted. items_dissappear

This is reproducible.

The solution is to add the position at the top, press ok and open the document again. But I remember that sometimes another position just disappears as well (mostly the last position).

dragotin commented 3 years ago

Thanks for this report, I was able to find the bug with this description.