[Koha-bugs] [Bug 13534] New: Deleting staff member who moderated a tag removes tags imcompletely

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Wed Jan 7 18:27:10 CET 2015


http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=13534

            Bug ID: 13534
           Summary: Deleting staff member who moderated a tag removes tags
                    imcompletely
 Change sponsored?: ---
           Product: Koha
           Version: master
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: P5 - low
         Component: OPAC
          Assignee: oleonard at myacpl.org
          Reporter: katrin.fischer at bsz-bw.de
        QA Contact: testopia at bugs.koha-community.org

I am trying to wrap my mind around the table structure, but what happens is:

If you add a tag, it will be in tags_all and tags_approval.

tags_approval has a column approved_by, that is linked to the staff patron who
moderated the tag. 

If the staff patron is deleted, the entry in tags_approval is also deleted, but
tags_all remains.

The tag vanishes from the tag moderation tool and from the OPAC.

http://git.koha-community.org/gitweb/?p=koha.git;a=blob;f=installer/data/mysql/kohastructure.sql;hb=b4e843615a76d3a9a8516f82a2ebad96aa9c4d1a#l2268

This doesn't feel like intended behaviour. 

I think it maybe it would make sense to set the borrowernumber to NULL when the
staff patron is deleted.

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


More information about the Koha-bugs mailing list