[Koha-bugs] [Bug 12404] CSV profiles improvements

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Tue Nov 4 15:03:07 CET 2014


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

--- Comment #19 from Frédéric Demians <frederic at tamil.fr> ---
(In reply to Jonathan Druart from comment #18)

> I accept, of course, all kinds of followup to improve this enhancement :)

I don't say no :-) I've even tried.

But I'me encountering now an issue with the mix in the code between previous
syntax and TT syntax. I can't have a TT directive containing a = sign. For
example:

  [% IF s.0 == 'b' %]
  [% SET letter = s.0 %]

The = sign is used to split the CSV profile here:

# Separating the marcfields from the user-supplied headers
    my @csv_structures;
    foreach (@marcfieldsarray) {
        my @result = split('=', $_);
        my $content = ( @result == 2 )
            ? $result[1]
            : $result[0];

So it breaks valid TT code.

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


More information about the Koha-bugs mailing list