Bug 22518

Summary: accounttype 'O' is still referred to but is never set
Product: Koha Reporter: Martin Renvoize (ashimema) <martin.renvoize>
Component: Architecture, internals, and plumbingAssignee: Martin Renvoize (ashimema) <martin.renvoize>
Status: CLOSED FIXED QA Contact: Marcel de Rooy <m.de.rooy>
Severity: enhancement    
Priority: P5 - low CC: chris, josef.moravec, kyle, m.de.rooy, nick, tomascohen
Version: Main   
Hardware: All   
OS: All   
URL: https://wiki.koha-community.org/wiki/Hard_Coded_Values
Change sponsored?: --- Patch complexity: Trivial patch
Documentation contact: Documentation submission:
Text to go in the release notes:
Version(s) released in:
Circulation function:
Bug Depends on: 22593    
Bug Blocks: 22512    
Attachments: Bug 22518: Remove references to 'O' accounttype
Bug 22518: Add database update 'just in case'
Bug 22518: Remove references to 'O' accounttype
Bug 22518: Add database update 'just in case'
Bug 22518: Remove references to 'O' accounttype
Bug 22518: Add database update 'just in case'
Bug 22518: (QA follow-up) Add rows updated to feedback
Bug 22518: (QA follow-up) Add rows updated to feedback

Description Martin Renvoize (ashimema) 2019-03-15 12:40:23 UTC
The 'O' accounttype has not been set in Koha for some time and it should now be safe to remove all references to it.

History: 'O' used to mean 'Overdue' and was at some point used. However, for some time the codes 'FU' (Fine Unreturned/Updating) in combination with 'F' (Fine) have been used instead.
Comment 1 Martin Renvoize (ashimema) 2019-03-15 13:46:43 UTC
Created attachment 86671 [details] [review]
Bug 22518: Remove references to 'O' accounttype

I went back over 12 years to and still only found "FIXME: What are these
accounttypes" concerning the 'O' type and I couldn't find anywhere where
it was being set.

Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Comment 2 Martin Renvoize (ashimema) 2019-03-15 13:46:46 UTC
Created attachment 86672 [details] [review]
Bug 22518: Add database update 'just in case'

All cases I could find where 'O' was referenced it was referenced
alongside 'FU'.. as such I've written this DB update to case any last
cases of 'O' and update them to 'FU' "just in case"

Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Comment 3 Josef Moravec 2019-03-26 14:23:40 UTC
Created attachment 87019 [details] [review]
Bug 22518: Remove references to 'O' accounttype

I went back over 12 years to and still only found "FIXME: What are these
accounttypes" concerning the 'O' type and I couldn't find anywhere where
it was being set.

Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>

Signed-off-by: Josef Moravec <josef.moravec@gmail.com>
Comment 4 Josef Moravec 2019-03-26 14:23:44 UTC
Created attachment 87020 [details] [review]
Bug 22518: Add database update 'just in case'

All cases I could find where 'O' was referenced it was referenced
alongside 'FU'.. as such I've written this DB update to case any last
cases of 'O' and update them to 'FU' "just in case"

Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>

Signed-off-by: Josef Moravec <josef.moravec@gmail.com>
Comment 5 Marcel de Rooy 2019-03-29 10:28:49 UTC
Created attachment 87171 [details] [review]
Bug 22518: Remove references to 'O' accounttype

I went back over 12 years to and still only found "FIXME: What are these
accounttypes" concerning the 'O' type and I couldn't find anywhere where
it was being set.

Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>

Signed-off-by: Josef Moravec <josef.moravec@gmail.com>

Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Comment 6 Marcel de Rooy 2019-03-29 10:28:54 UTC
Created attachment 87172 [details] [review]
Bug 22518: Add database update 'just in case'

All cases I could find where 'O' was referenced it was referenced
alongside 'FU'.. as such I've written this DB update to case any last
cases of 'O' and update them to 'FU' "just in case"

Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>

Signed-off-by: Josef Moravec <josef.moravec@gmail.com>

Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Comment 7 Marcel de Rooy 2019-03-29 10:29:28 UTC
Bonus points for adding the number of changed lines in the dbrev..
Comment 8 Martin Renvoize (ashimema) 2019-03-29 10:47:38 UTC
Created attachment 87174 [details] [review]
Bug 22518: (QA follow-up) Add rows updated to feedback

Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Comment 9 Martin Renvoize (ashimema) 2019-03-29 11:30:10 UTC
Created attachment 87186 [details] [review]
Bug 22518: (QA follow-up) Add rows updated to feedback

Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Comment 10 Nick Clemens (kidclamp) 2019-03-29 11:46:49 UTC
Awesome work all!

Pushed to master for 19.05
Comment 11 Martin Renvoize (ashimema) 2019-04-01 14:08:53 UTC
Enhancement, will not be backported to 18.11.x series.