[Koha-bugs] [Bug 31548] OpacMainUserBlock not properly preserved during upgrade - no more reachable

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Mon Sep 26 22:39:05 CEST 2022


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=31548

--- Comment #1 from Katrin Fischer <katrin.fischer at bsz-bw.de> ---
I am not sure if we can fix that migration as this has been a while ago now,
but maybe we can help with clearing up the situation:

You can create a report like:

select idnew, category, code, lang, location, branchcode from
additional_contents;


This should show you data similar to below:
+-------+---------------------+---------------------+---------+-------------------+------------+
| idnew | category            | code                | lang    | location       
  | branchcode |
+-------+---------------------+---------------------+---------+-------------------+------------+
|     1 | news                | News_1              | default | staff_only     
  | NULL       |
|     2 | news                | News_2              | default | staff_only     
  | NULL       |
|     4 | html_customizations | OpacMainUserBlock_3 | de-DE   |
OpacMainUserBlock | NULL       |
+-------+---------------------+---------------------+---------+-------------------+------------+

The html_customization is missing the default entry, which makes it disappear
from the list.

Note the idnew of the existing entry.

Go to this link, replacing the id with your missing content one:
/cgi-bin/koha/tools/additional-contents.pl?op=add_form&id=4&editmode=wysiwyg

It should hopefully open the editor showing you the 'missing text'. Add
something to default or move the content from a translation to there and save.

Hope this helps!

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are watching all bug changes.


More information about the Koha-bugs mailing list