Openbravo Issue Tracking System - Openbravo ERP | |||||
View Issue Details | |||||
ID | Project | Category | View Status | Date Submitted | Last Update |
0020361 | Openbravo ERP | A. Platform | public | 2012-04-26 16:06 | 2012-05-25 12:09 |
Reporter | iperdomo | ||||
Assigned To | AugustoMauch | ||||
Priority | urgent | Severity | major | Reproducibility | always |
Status | closed | Resolution | fixed | ||
Platform | OS | 30 | OS Version | 3.3.3-1-ARCH | |
Product Version | pi | ||||
Target Version | Fixed in Version | pi | |||
Merge Request Status | |||||
Review Assigned To | |||||
OBNetwork customer | No | ||||
Web browser | Apple Safari, Google Chrome, Internet Explorer, Mozilla Firefox | ||||
Modules | Core | ||||
Support ticket | |||||
Regression level | |||||
Regression date | |||||
Regression introduced in release | |||||
Regression introduced by commit | |||||
Triggers an Emergency Pack | No | ||||
Summary | 0020361: Unexpected result when using a file containing 'web' string sequence as part of the file name | ||||
Description | When you have a static resource under web folder, you expect that all folder is properly copied. Due to an error in the mapper regular expression of the 'build.web.folder.base' task, the result is unexpected. Check the code: https://code.openbravo.com/erp/devel/pi/file/285d006fa8f8/src/build.xml#l619 [^] | ||||
Steps To Reproduce | * Place any file in a module under the web/your.java.package folder * The file should contain the web string, eg. webpos.js or mysuperwebview.js * Run ant smartbuild * Search for the static file under the web/your.java.package/ folder and you'll not find it * Apply the attached diff (put the verbose attribute to the copy task) * Re-run the smartbuild and filter for the "Copying" string: ant smartbuild | grep -i copying | tee -a /tmp/copying.log * Verify to which folder of your file was copied ----- Example: [copy] Copying /home/iperdomo/workspace/src/openbravo/pi-mob/modules/org.openbravo.retail.posterminal/web/org.openbravo.retail.posterminal/windows/webpos.js to /home/iperdomo/workspace/src/openbravo/pi-mob/WebContent/web/pos.js In this case web/pos.js is a valid path, but the mapper could expand to a broken (non existent folder) | ||||
Proposed Solution | Fix the mapper expression | ||||
Additional Information | |||||
Tags | No tags attached. | ||||
Relationships | |||||
Attached Files | ![]() https://issues.openbravo.com/file_download.php?file_id=5173&type=bug ![]() https://issues.openbravo.com/file_download.php?file_id=5179&type=bug | ||||
Issue History | |||||
Date Modified | Username | Field | Change | ||
2012-04-26 16:06 | iperdomo | New Issue | |||
2012-04-26 16:06 | iperdomo | Assigned To | => alostale | ||
2012-04-26 16:06 | iperdomo | File Added: build.xml.diff | |||
2012-04-26 16:06 | iperdomo | Web browser | => Apple Safari, Google Chrome, Internet Explorer, Mozilla Firefox | ||
2012-04-26 16:06 | iperdomo | Modules | => Core | ||
2012-04-26 16:06 | iperdomo | OBNetwork customer | => No | ||
2012-04-27 07:49 | alostale | Assigned To | alostale => AugustoMauch | ||
2012-04-30 12:55 | AugustoMauch | File Added: copying.zip | |||
2012-05-03 10:44 | hgbot | Checkin | |||
2012-05-03 10:44 | hgbot | Note Added: 0048307 | |||
2012-05-03 10:44 | hgbot | Status | new => resolved | ||
2012-05-03 10:44 | hgbot | Resolution | open => fixed | ||
2012-05-03 10:44 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/devel/pi/rev/9a7580f8f3584d69502b76ce80c2aae3667c3e3b [^] | ||
2012-05-03 10:51 | AugustoMauch | Note Added: 0048308 | |||
2012-05-10 09:08 | guilleaer | Note Added: 0048534 | |||
2012-05-10 09:08 | guilleaer | Status | resolved => closed | ||
2012-05-10 09:09 | guilleaer | Fixed in Version | => pi | ||
2012-05-25 12:09 | hudsonbot | Checkin | |||
2012-05-25 12:09 | hudsonbot | Note Added: 0048996 |
Notes | |||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|