[Koha-bugs] [Bug 29778] Deleted additional_contents remain visible

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Sun Jan 2 15:55:27 CET 2022


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

Katrin Fischer <katrin.fischer at bsz-bw.de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Severity|normal                      |critical

--- Comment #1 from Katrin Fischer <katrin.fischer at bsz-bw.de> ---
I have managed to find the steps to make this bug visible:

1) Install an additional language, like de-DE
2) Activate language
3) Add a new HTML customization entry
  * Fill in default and Englis
  * Fill in the additional installed language
  * Save
4) Verify the contents show as they should
5) Delete the entry
6) Verify the content remain for the additional language

This can also be verified by running: select * from additional_contents;

In my case I deleted everything else and now only this entry remains that is
not visible from the GUI:

+-------+---------------------+---------------------+-------------------+------------+-------+---------+-------+--------------+---------------------+----------------+--------+----------------+
| idnew | category            | code                | location          |
branchcode | title | content | lang  | published_on | updated_on          |
expirationdate | number | borrowernumber |
+-------+---------------------+---------------------+-------------------+------------+-------+---------+-------+--------------+---------------------+----------------+--------+----------------+
|     7 | html_customizations | OpacMainUserBlock_6 | OpacMainUserBlock | NULL 
     | test  | test    | de-DE | 2022-01-02   | 2022-01-02 01:46:58 | NULL     
     |   NULL |             51 |
+-------+---------------------+---------------------+-------------------+------------+-------+---------+-------+--------------+---------------------+----------------+--------+----------------+

Updating severity as this means people have no way to change or remove unwanted
content - we need to fix this and also include a database update.

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


More information about the Koha-bugs mailing list