SYSTEM WARNING: 'date_default_timezone_get(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected the timezone 'UTC' for now, but please set date.timezone to select your timezone.' in '/usr/share/mantis/www/core.php' line 264
Anonymous | Login | 2022-08-15 22:44 UTC | ![]() |
Main | My View | View Issues | Change Log | Roadmap |
View Issue Details [ Jump to Notes ] | [ Issue History ] [ Print ] | ||||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | ||||||
0003477 | Endian Firewall | Other Scripts | public | 2011-02-11 17:11 | 2012-10-05 14:05 | ||||||
Reporter | ardit-endian | ||||||||||
Assigned To | peter-endian | ||||||||||
Priority | normal | Severity | minor | Reproducibility | always | ||||||
Status | confirmed | Resolution | open | ||||||||
Platform | OS | OS Version | |||||||||
Product Version | 2.4.1 | ||||||||||
Target Version | Fixed in Version | ||||||||||
Summary | 0003477: createtemplates.py ignores $FILE.custom.tmpl | ||||||||||
Description | Hello, as the title states, after we create a new file /usr/share/templates/dansguardian/en/template.html.custom.tmpl , modify it according to our needs and launch createtemplates.py -df I see during the execution of the script that the new file custom.tmpl it's ignored completely and for creating /usr/share/dansguardian/languages/en/template.html uses always the file .orig.tmpl I suppose it's the same behavior about .vendor. (OEM) file (but I didn't test this). In attachment you will find my testing and other *strange* behaviors related. | ||||||||||
Additional Information | tested on kenny (full up-to-date)... | ||||||||||
Tags | purple | ||||||||||
Attached Files | ![]() | ||||||||||
![]() |
||||||
|
![]() |
|
(0005792) lorenzo-endian (manager) 2011-03-02 10:48 |
Hi ardit! you are right...to confirm this, I just create a custom templates as you did and I redirect the output to grep... This is the result: root@efw-test-3304:/usr/share/templates/dansguardian/en # createtemplates.py -df 2>&1 | grep template.html.custom.tmpl root@efw-test-3304:/usr/share/templates/dansguardian/en # createtemplates.py -df 2>&1 | grep template.html.orig.tmpl 2011-03-02 11:45:01,606 - createtemplates.py[21071] - DEBUG - Processing source template '/usr/share/templates/dansguardian/en/template.html.orig.tmpl' for message template 'template.html' with source language 'en', destination language 'en' and service 'dansguardian' 2011-03-02 11:45:01,613 - createtemplates.py[21071] - DEBUG - Use template '/usr/share/templates/dansguardian/en/template.html.orig.tmpl' for file 'template.html' 2011-03-02 11:45:01,614 - createtemplates.py[21071] - DEBUG - Found templates '{'body': '/usr/share/templates/dansguardian/en/template.html.orig.tmpl', 'header': None, 'footer': None}' for 'template.html' 2011-03-02 11:45:01,617 - createtemplates.py[21071] - DEBUG - Create 'body' contents using template '/usr/share/templates/dansguardian/en/template.html.orig.tmpl' 2011-03-02 11:45:01,681 - createtemplates.py[21071] - DEBUG - Processing source template '/usr/share/templates/dansguardian/de/template.html.orig.tmpl' for message template 'template.html' with source language 'de', destination language 'de' and service 'dansguardian' 2011-03-02 11:45:01,686 - createtemplates.py[21071] - DEBUG - Use template '/usr/share/templates/dansguardian/de/template.html.orig.tmpl' for file 'template.html' 2011-03-02 11:45:01,687 - createtemplates.py[21071] - DEBUG - Found templates '{'body': '/usr/share/templates/dansguardian/de/template.html.orig.tmpl', 'header': None, 'footer': None}' for 'template.html' 2011-03-02 11:45:01,688 - createtemplates.py[21071] - DEBUG - Create 'body' contents using template '/usr/share/templates/dansguardian/de/template.html.orig.tmpl' 2011-03-02 11:45:01,730 - createtemplates.py[21071] - DEBUG - Processing source template '/usr/share/templates/dansguardian/it/template.html.orig.tmpl' for message template 'template.html' with source language 'it', destination language 'it' and service 'dansguardian' 2011-03-02 11:45:01,735 - createtemplates.py[21071] - DEBUG - Use template '/usr/share/templates/dansguardian/it/template.html.orig.tmpl' for file 'template.html' 2011-03-02 11:45:01,739 - createtemplates.py[21071] - DEBUG - Found templates '{'body': '/usr/share/templates/dansguardian/it/template.html.orig.tmpl', 'header': None, 'footer': None}' for 'template.html' 2011-03-02 11:45:01,740 - createtemplates.py[21071] - DEBUG - Create 'body' contents using template '/usr/share/templates/dansguardian/it/template.html.orig.tmpl' 2011-03-02 11:45:01,782 - createtemplates.py[21071] - DEBUG - Processing source template '/usr/share/templates/dansguardian/en/template.html.orig.tmpl' for message template 'template.html' with source language 'en', destination language 'ja' and service 'dansguardian' 2011-03-02 11:45:01,785 - createtemplates.py[21071] - DEBUG - Use template '/usr/share/templates/dansguardian/en/template.html.orig.tmpl' for file 'template.html' 2011-03-02 11:45:01,787 - createtemplates.py[21071] - DEBUG - Found templates '{'body': '/usr/share/templates/dansguardian/en/template.html.orig.tmpl', 'header': None, 'footer': None}' for 'template.html' 2011-03-02 11:45:01,789 - createtemplates.py[21071] - DEBUG - Create 'body' contents using template '/usr/share/templates/dansguardian/en/template.html.orig.tmpl' root@efw-test-3304:/usr/share/templates/dansguardian/en # Thanks for reporting this issue :) Lo |
(0007056) ardit-endian (developer) 2011-07-22 13:16 |
any news about ? |
![]() |
|||
Date Modified | Username | Field | Change |
2011-02-11 17:11 | ardit-endian | New Issue | |
2011-02-11 17:11 | ardit-endian | File Added: createtemplates.py-df testing 2.4 | |
2011-02-11 17:11 | ardit-endian | Customer Occurencies | => 2-3 |
2011-02-11 17:13 | ardit-endian | Tag Attached: purple | |
2011-02-24 14:20 | lorenzo-endian | Assigned To | => lorenzo-endian |
2011-03-02 10:48 | lorenzo-endian | Note Added: 0005792 | |
2011-03-02 10:48 | lorenzo-endian | Assigned To | lorenzo-endian => peter-endian |
2011-03-02 10:48 | lorenzo-endian | Status | new => confirmed |
2011-07-22 13:16 | ardit-endian | Note Added: 0007056 | |
2012-10-05 14:05 | ardit-endian | Relationship added | child of 0001136 |
Copyright © 2000 - 2012 MantisBT Group |