Bug 27909 - When upgrading, old sysprefs are only copied in english news items
Summary: When upgrading, old sysprefs are only copied in english news items
Status: RESOLVED WONTFIX
Alias: None
Product: Koha
Classification: Unclassified
Component: Tools (show other bugs)
Version: master
Hardware: All All
: P5 - low enhancement (vote)
Assignee: Bugs List
QA Contact: Testopia
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-03-09 19:09 UTC by Caroline Cyr La Rose
Modified: 2023-07-04 23:08 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:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Caroline Cyr La Rose 2021-03-09 19:09:26 UTC
I don't know how to reproduce this... When we upgraded from 18.05 to 19.05, the contents for OpacNavRight was copied into the new news item OpacNavRight (english), but not fr-CA which is also installed in all our clients' OPACs. Now we've started upgrading from 19.05 to 20.05 and the old system preferences are still only copied into the english news items. It's a bit more problematic because there are a lot more and all our clients at least have something in opacheader.

My colleague Philippe coded a script to copy everything into our fr_CA news items, but this should probably be handled in the upgrade (atomic update?).

Here are the news items from old system preferences:

-  OpacNavRight (19.05?)

-  opacheader (20.05 bug 22880)

-  OpacCustomSearch (20.05.03 bug 23796)

-  OpacMainUserBlock (20.05 bug 23794)

-  opaccredits (20.05.03 bug 23795)

-  OpacLoginInstructions (20.05.03 bug 23797)
Comment 1 Katrin Fischer 2021-12-08 08:32:46 UTC
I am not sure if this is the case for all the migrations from sysprefs to news, but it's definitely not working correctly for OpacNavRight. I've filed:

Bug 29657 - OpacNavRight is only added to one language for OPACs with multiple active languages
Comment 2 Katrin Fischer 2023-07-04 21:05:53 UTC
I believe this has moved into WONTFIX territory due to age and versions having moved on. If we now migrate other contents, we can use the since added default value instead of making copies for multiple languages.
Comment 3 David Cook 2023-07-04 23:08:00 UTC
(In reply to Katrin Fischer from comment #2)
> I believe this has moved into WONTFIX territory due to age and versions
> having moved on. If we now migrate other contents, we can use the since
> added default value instead of making copies for multiple languages.

I had been wondering about this as I've noticed a lot of my instances migrating to "English" instead of "Default" which has been a pain...