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

--- Comment #6 from MJ Ray (software.coop) <[email protected]> ---
(In reply to comment #5)
> QA comment: This patch has some problems:
>   * it introduces a constraint that is wrong:
> +  CONSTRAINT `auth_subfield_structure_ibfk_1` FOREIGN KEY
> (`authorised_value`) REFERENCES `authorised_values` (`category`) ON DELETE
> CASCADE ON UPDATE CASCADE
>  => the constraint can be on authorised_values, but also on branches or
> itemtype, so a SQL constraint is unapplicable here

So is this potential mismatch unavoidable with the current database design?

>  * it contains a lot of changes in french file that are just moving things 
> from 
> the bottom to the top of file without reason (at least without relation to 
> this 
> patch. As the patch has been made by someone from argentina, I think it was 
> not > intended to update french files !)
>   * there is no updatedatabase part on this patch making existing Koha being
> de-synchronised from freshly installed Koha

These are not currently among the
http://wiki.koha-community.org/wiki/Coding_Guidelines#Database but perhaps they
should be?

This would not be the first patch to change kohastructure.sql without a
matching updatedatabase, after all... but I remember them because they caused
bugs, so maybe it should be a guideline.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[email protected]
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to