Bug 36710 - DB description of debit type is deleted when editing the type
Summary: DB description of debit type is deleted when editing the type
Status: NEW
Alias: None
Product: Koha
Classification: Unclassified
Component: System Administration (show other bugs)
Version: unspecified
Hardware: All All
: P5 - low normal
Assignee: Bugs List
QA Contact: Testopia
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-04-26 19:04 UTC by Caroline Cyr La Rose
Modified: 2024-04-29 18:00 UTC (History)
2 users (show)

See Also:
Change sponsored?: ---
Patch complexity: ---
Documentation contact:
Documentation submission:
Text to go in the release notes:
Version(s) released in:
Circulation function:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Caroline Cyr La Rose 2024-04-26 19:04:58 UTC
If someone edits a debit type, the DB description is deleted, replaced by NULL. I've only tried it with the RENT* debit types, as those were the ones reported to me. I suspect it would do the same for all system types, but haven't tested.

1. In the database, get the list of debit types

select * from account_debit_types;

--> They should all have a description

2. Go to Administration > Debit types
3. Click "Show all debit types"
4. Click "Edit" next to RENT
5. Check "Can be manually invoiced?"
6. Click "Save"
7. Click "Show all debit types"
--> Notice the description for RENT is still visible
8. Redo the query in the database
--> The description for RENT is now NULL
9. Optionally, go to Reports > Cash register (under Statistics wizards)
10. Open the dropdown of transaction types
--> There is an empty space where the RENT description should be
Comment 1 Caroline Cyr La Rose 2024-04-26 19:07:36 UTC
AFAIK, this goes back all the way to 23.05. That is where we first saw this bug. I don't know for version prior to that.