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

Jacek Ablewicz <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[email protected]

--- Comment #74 from Jacek Ablewicz <[email protected]> ---
Hello Jonathan,

First - thank you very much for those patches; I really like the concept.
I'm currently trying to extend/adapt your solution for another table
(aqorders), as suggested in here:
[url]http://www.mail-archive.com/[email protected]/msg05550.html[/url]
.
So far it's going fine, almost working now. Here and there I'm encountering
some (minor) issues, though:

1) Methods in Koha/AdditionalField.pm are taking 'tablename' as an argument,
but they are occasionally called with 'table' instead (in patch
22700/Search.pm, 22699/serials-search.pl, 22698, ..) which is silently ignored
by package methods. This problem is only starting to manifest itself if there
are additional fields for 2+ different tables being used.
2) Column 'value' in table additional_field_values is created (patch 22703)
with utf8_bin collation (but only in installer/data/mysql/updatedatabase.pl,
not in the installer/data/mysql/kohastructure.sql ?). I wonder if this is
intentional (to make it case-sensitve)?
3) Any chances to support/allow arbitrary field names (with non-ascii
characters, spaces etc.)? That will probably require an extra column (e.g.
"label") in additional_fields table (?).
4) If there are non-asci / uft-8 characters involved (anywhere in the objects
returned from AdditionalField.pm - in cases when offending objects are further
processed with C4::Templates->output), result WWW page is prone to be garbled
(partially double-encoded). This problem is similar to bug 11290; it happens
because output()/utf8_arrayref()/utf8_hashref() in Templates.pm do not know
what to do with blessed hashrefs - if ref() doesn't return HASH or ARRAY, they
wrongly assume it's a scalar.. Like for bug 11290, adding bunch of '
|html_entity' to templates does work as an workaround for this problem, but I'm
wondering if we shouldn't actually fix Templates.pm instead, that would be
better/more general solution (?).

-- 
You are receiving this mail because:
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