You are viewing a plain text version of this content. The canonical link for it is here.
Posted to zeta-issues@incubator.apache.org by "Jérôme Renard (JIRA)" <ji...@apache.org> on 2011/03/22 13:54:06 UTC

[jira] [Updated] (ZETACOMP-1) [TemplateTranslationTieIn] Extractor hard coded file extension

     [ https://issues.apache.org/jira/browse/ZETACOMP-1?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jérôme Renard updated ZETACOMP-1:
---------------------------------

    Attachment: hardcodedfileextension.diff.gz

Patch attached.

Any comments welcome.

> [TemplateTranslationTieIn] Extractor hard coded file extension
> --------------------------------------------------------------
>
>                 Key: ZETACOMP-1
>                 URL: https://issues.apache.org/jira/browse/ZETACOMP-1
>             Project: Zeta Components
>          Issue Type: Bug
>          Components: TemplateTranslationTiein
>         Environment: all
>            Reporter: Maxime THOMAS - Wascou.org
>         Attachments: hardcodedfileextension.diff.gz
>
>   Original Estimate: 4h
>  Remaining Estimate: 4h
>
> In the extractor, in the function run(), the "ezt" file extension is hardcoded.
> So if I named all my templates "tpl", I have to walk around with inheriting the extractor class and reimplementing the run function.
> To correct it, add a variable to the class with the extension type (could be an array to match several types).

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira