Openbravo Issue Tracking System - Openbravo ERP |
View Issue Details |
|
ID | Project | Category | View Status | Date Submitted | Last Update |
0037907 | Openbravo ERP | A. Platform | public | 2018-02-13 17:19 | 2018-03-05 18:25 |
|
Reporter | jarmendariz | |
Assigned To | jarmendariz | |
Priority | normal | Severity | minor | Reproducibility | always |
Status | closed | Resolution | fixed | |
Platform | | OS | 5 | OS Version | |
Product Version | | |
Target Version | | Fixed in Version | 3.0PR18Q2 | |
Merge Request Status | |
Review Assigned To | caristu |
OBNetwork customer | |
Web browser | |
Modules | Core |
Support ticket | |
Regression level | |
Regression date | |
Regression introduced in release | |
Regression introduced by commit | |
Triggers an Emergency Pack | No |
|
Summary | 0037907: Internal CSS are included in AD_TextInterface as translatable content |
Description | Html pages can embed some CSS in <style> tags, though it will be included in AD_TextInterfaces after running ant export.database, which is not desiderable.
|
Steps To Reproduce | 1) Apply the attached patch (cssCreatesTextInterface.diff)
2) Run "ant compile.complete"
At the end of the output of this command you can see the following line, indicating that the styles are recognized as translatable content:
[java] 1917 [main] INFO org.openbravo.translate.Translate - New label found [body {background-color: green;} h1 {color: red;} p {color: blue;}] in /org/openbravo/erpCommon/security/Login.html |
Proposed Solution | |
Additional Information | |
Tags | No tags attached. |
Relationships | depends on | backport | 0037917 | 3.0PR18Q1.1 | closed | jarmendariz | Openbravo ERP | Internal CSS are included in AD_TextInterface as translatable content | depends on | backport | 0037918 | 3.0PR17Q4.1 | closed | jarmendariz | Openbravo ERP | Internal CSS are included in AD_TextInterface as translatable content | related to | defect | 0037916 | | closed | jarmendariz | Modules | Remove wrong AD_TextInterface entry | blocks | design defect | 0037740 | | closed | jarmendariz | Openbravo ERP | support custom error pages |
|
Attached Files | cssCreatesTextInterface.diff (574) 2018-02-13 17:19 https://issues.openbravo.com/file_download.php?file_id=11573&type=bug |
|
Issue History |
Date Modified | Username | Field | Change |
2018-02-13 17:19 | jarmendariz | New Issue | |
2018-02-13 17:19 | jarmendariz | Assigned To | => platform |
2018-02-13 17:19 | jarmendariz | File Added: cssCreatesTextInterface.diff | |
2018-02-13 17:19 | jarmendariz | Modules | => Core |
2018-02-13 17:19 | jarmendariz | Triggers an Emergency Pack | => No |
2018-02-14 09:25 | caristu | Relationship added | blocks 0037740 |
2018-02-14 10:17 | caristu | Relationship deleted | blocks 0037740 |
2018-02-14 10:17 | caristu | Relationship added | related to 0037740 |
2018-02-14 13:49 | jarmendariz | Relationship replaced | blocks 0037740 |
2018-02-14 17:51 | jarmendariz | Relationship added | related to 0037916 |
2018-02-14 18:10 | jarmendariz | Status | new => scheduled |
2018-02-14 18:30 | hgbot | Checkin | |
2018-02-14 18:30 | hgbot | Note Added: 0102413 | |
2018-02-14 18:30 | hgbot | Status | scheduled => resolved |
2018-02-14 18:30 | hgbot | Resolution | open => fixed |
2018-02-14 18:30 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/devel/pi/rev/0f39f1cd72c172607771dcefe7f3d4d6a6ca699a [^] |
2018-02-14 18:37 | jarmendariz | Assigned To | platform => jarmendariz |
2018-02-14 18:37 | jarmendariz | Review Assigned To | => caristu |
2018-02-15 08:50 | hgbot | Checkin | |
2018-02-15 08:50 | hgbot | Note Added: 0102422 | |
2018-02-15 08:51 | caristu | Note Added: 0102423 | |
2018-02-15 08:51 | caristu | Status | resolved => closed |
2018-02-22 18:19 | hudsonbot | Checkin | |
2018-02-22 18:19 | hudsonbot | Note Added: 0102760 | |
2018-02-22 18:19 | hudsonbot | Checkin | |
2018-02-22 18:19 | hudsonbot | Note Added: 0102763 | |
2018-03-05 18:25 | caristu | Fixed in Version | => 3.0PR18Q2 |
Notes |
|
(0102413)
|
hgbot
|
2018-02-14 18:30
|
|
Repository: erp/devel/pi
Changeset: 0f39f1cd72c172607771dcefe7f3d4d6a6ca699a
Author: Javier Armendáriz <javier.armendariz <at> openbravo.com>
Date: Wed Feb 14 18:29:26 2018 +0100
URL: http://code.openbravo.com/erp/devel/pi/rev/0f39f1cd72c172607771dcefe7f3d4d6a6ca699a [^]
Fixed bug 37907: Internal CSS are included in AD_TextInterfaces
Adding <style> tags along <script> as tags excluded from being parsed for the Translate class.
---
M src-trl/src/org/openbravo/translate/Translate.java
---
|
|
|
(0102422)
|
hgbot
|
2018-02-15 08:50
|
|
|
|
|
Code reviewed + tested OK. |
|
|
|
|
|
|
|