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 "Derick Rethans (JIRA)" <ji...@apache.org> on 2011/03/22 14:06:06 UTC
[jira] [Commented] (ZETACOMP-1) [TemplateTranslationTieIn]
Extractor hard coded file extension
[ https://issues.apache.org/jira/browse/ZETACOMP-1?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13009653#comment-13009653 ]
Derick Rethans commented on ZETACOMP-1:
---------------------------------------
The patch is incomplete, it misses tests.
> [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