Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0012910Openbravo ERPA. Platformpublic2010-04-08 11:442012-04-02 06:12
gorka_gil 
AugustoMauch 
normalmajoralways
closedfixed 
5
 
3.0MP10 
Core
No
0012910: smartbuild don't generate the web files correctly
smartbuild don't generate the web files correctly
1. Delete the WebContent folder.
2. Run ant smartbuild.

The application appear without any web style (white background, without any image or color, with all the elements without position)
The problem appear to be in the missing WebContent/skins/{ltr,rtl} directories
No tags attached.
Issue History
2010-04-08 11:44gorka_gilNew Issue
2010-04-08 11:44gorka_gilAssigned To => marvintm
2010-04-12 08:18alostaleStatusnew => scheduled
2012-03-26 18:01marvintmAssigned Tomarvintm => AugustoMauch
2012-03-28 12:56hgbotCheckin
2012-03-28 12:56hgbotNote Added: 0046821
2012-03-28 12:56hgbotStatusscheduled => resolved
2012-03-28 12:56hgbotResolutionopen => fixed
2012-03-28 12:56hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/541a4becfc84135c7a0cc782dfcfd3ad68be3de3 [^]
2012-03-28 13:04AugustoMauchNote Added: 0046823
2012-03-29 16:21marvintmStatusresolved => closed
2012-03-29 16:21marvintmFixed in Version => 3.0MP10
2012-04-02 06:12hudsonbotCheckin
2012-04-02 06:12hudsonbotNote Added: 0047256

Notes
(0046821)
hgbot   
2012-03-28 12:56   
Repository: erp/devel/pi
Changeset: 541a4becfc84135c7a0cc782dfcfd3ad68be3de3
Author: Augusto Mauch <augusto.mauch <at> openbravo.com>
Date: Wed Mar 28 12:55:28 2012 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/541a4becfc84135c7a0cc782dfcfd3ad68be3de3 [^]

Fixes issue 12910: RTL and LTR are generated when neede

Prior to the fix, if the user deleted the WebContent folder and executed smartbuild, the WebContent/web/skins/rtl and WebContent/web/skins/ltr folders were not generated unless the property changes.in.md5.sk
ins was true.

Now, both folders are regenerated when any of them are missing when executing the smartbuild.

---
M src/build.xml
---
(0046823)
AugustoMauch   
2012-03-28 13:04   
Test plan:
- Delete the WebContents folder and execute smartbuild. The WebContent/web/skins/rtl and WebContent/web/skins/ltr folder should have been generated.
- Without making any change, execute smartbuild again. Both folder should be present, but its modification date should not have changed, because they should not have been regenerated.
- Execute compile.complete. Both folder should have been regenerated.
- Remove the WebContent/web/skins/rtl folder and run smartbuild again. Both folder should be regenerated.

This is not a risky change.
(0047256)
hudsonbot   
2012-04-02 06:12   
A changeset related to this issue has been promoted main and to the
Central Repository, after passing a series of tests.

Promotion changeset: https://code.openbravo.com/erp/devel/main/rev/7814864461ac [^]

Maturity status: Test