[Koha-bugs] [Bug 2271] tmpl_process3.pl warns on a semmingly valid construct

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Mon Apr 2 08:17:20 CEST 2012


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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED

--- Comment #2 from Katrin Fischer <katrin.fischer at bsz-bw.de> ---
I have retested this and our unit tests catch both cases:
<p 
    [% IF ( loggedinusername ) %]class="something"[% END %]
/>Test</p>
<p [% IF ( loggedinusername ) %]class="something"[% END %]/>Test</p>

1..1
not ok 1 - TT syntax: not using TT directive within HTML tag
#   Failed test 'TT syntax: not using TT directive within HTML tag'
#   at xt/tt_valid.t line 55.
# Files list: 
# opac-tmpl/prog/en/modules/opac-main.tt: 39, 42
# Looks like you failed 1 test of 1.

The test succeeds on current master and we will catch new instances.

Even with those constructs updating and installing German templates generates
no visible errrors for me:

perl translate update de-DE
perl translate instal de-DE

The translated templates are ok in this case, but I believe there were problems
with other similar constructs causing translation issues.

I am marking this resolved fixed. Please reopen if I missed something.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are watching all bug changes.


More information about the Koha-bugs mailing list