Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | ||||||||||
ID | |||||||||||
0004721 | |||||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | ||||||
feature request | [Openbravo ERP] A. Platform | minor | N/A | 2008-08-26 17:19 | 2022-02-01 08:08 | ||||||
Reporter | shuehner | View Status | public | ||||||||
Assigned To | Triage Platform Base | ||||||||||
Priority | low | Resolution | open | Fixed in Version | |||||||
Status | acknowledged | Fix in branch | Fixed in SCM revision | ||||||||
Projection | none | ETA | none | Target Version | |||||||
OS | Any | Database | Any | Java version | |||||||
OS Version | Database version | Ant version | |||||||||
Product Version | SCM revision | ||||||||||
Review Assigned To | |||||||||||
Web browser | |||||||||||
Modules | Core | ||||||||||
Regression level | |||||||||||
Regression date | |||||||||||
Regression introduced in release | |||||||||||
Regression introduced by commit | |||||||||||
Triggers an Emergency Pack | No | ||||||||||
Summary | 0004721: Cleanup HTML-templates: remove the placeholder for paramLanguage | ||||||||||
Description | Currently each HTML-template has a line like: <SCRIPT language="JavaScript" type="text/javascript" id="paramLanguage"> defaultLang = "en_US";</SCRIPT> or before the spanish->english renaming: <SCRIPT language="JavaScript" type="text/javascript" id="paramLanguage"> LNG__POR_DEFECTO = "en_US";</SCRIPT> the content of this script-tag gets overwritten by the XML-engine with the value provided by the corresponding java-servlet. The the tags-content in the HTML-template seems to be unnecessary and could be removed. The same is true for the following: <SCRIPT language="JavaScript" type="text/javascript" id="paramDirectory">var baseDirection = "http://yourSite/web/";</SCRIPT> [^] | ||||||||||
Proposed Solution | Simplify all templates to read only: <script language="JavaScript" type="text/javascript" id="paramLanguage"></script> and <script language="JavaScript" type="text/javascript" id="paramDirectory">/script> | ||||||||||
Tags | ReleaseCandidate | ||||||||||
Attached Files | |||||||||||
Relationships [ Relation Graph ] [ Dependency Graph ] | ||||||||
|
Notes | |
(0008763) shuehner (administrator) 2008-08-26 19:01 |
This makes no change on the processed HTML-files sent to the browser. These should be identical. Benefit is cleaner,smaller templates, and much less impact when the codes in this tag needs to change (i.e. renaming of the variable) as the HTML-templates don't need to be modified. |
Issue History | |||
Date Modified | Username | Field | Change |
2008-08-26 17:19 | shuehner | New Issue | |
2008-08-26 17:19 | shuehner | Assigned To | => cromero |
2008-08-26 17:19 | shuehner | sf_bug_id | 0 => 2076117 |
2008-08-26 17:19 | shuehner | Regression testing | => No |
2008-08-26 17:20 | shuehner | Relationship added | related to 0000421 |
2008-08-26 19:01 | shuehner | Note Added: 0008763 | |
2008-08-26 19:01 | shuehner | Priority | normal => low |
2008-08-27 15:39 | shuehner | Description Updated | |
2008-08-27 15:39 | shuehner | Steps to Reproduce Updated | |
2008-11-10 13:10 | cromero | Assigned To | cromero => pjuvara |
2008-11-16 18:46 | pjuvara | Status | new => acknowledged |
2008-11-16 18:46 | pjuvara | Tag Attached: ReleaseCandidate | |
2009-05-22 19:34 | pjuvara | Assigned To | pjuvara => iciordia |
2018-04-08 17:05 | shuehner | Assigned To | iciordia => platform |
2022-02-01 08:08 | alostale | Assigned To | platform => Triage Platform Base |
Copyright © 2000 - 2009 MantisBT Group |