Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0030554Openbravo ERPA. Platformpublic2015-08-12 09:092015-09-04 11:06
caristu 
caristu 
immediateminoralways
closedfixed 
5
 
 
alostale
Core
No
0030554: API change required for GEN_TARGET_LOCATION public constant
In order to deploy the sources properly in Tomcat 8, the getRealPath(path) method of the ServletContext class requires that the path passed as parameter to begin with a slash.

The GEN_TARGET_LOCATION constant of the StaticResourceComponent class, is being passed as parameter to that method. For this reason it makes sense that the value of the constant would be "/web/js/gen" instead of its current value without the slash at the beginning "web/js/gen".

This change does not have any effect on previous Tomcat versions.
In description
Approved
related to design defect 0027247 closed caristu Tomcat 8 is not supported 
Issue History
2015-08-12 09:09caristuNew Issue
2015-08-12 09:09caristuAssigned To => dmitry_mezentsev
2015-08-12 09:09caristuModules => Core
2015-08-12 09:09caristuTriggers an Emergency Pack => No
2015-08-12 09:10caristuRelationship addedrelated to 0027247
2015-08-12 09:11caristuDescription Updatedbug_revision_view_page.php?rev_id=9194#r9194
2015-08-12 13:15caristuAssigned Todmitry_mezentsev => caristu
2015-08-12 13:19caristuReview Assigned To => caristu
2015-08-12 13:19caristuNote Added: 0079321
2015-08-12 13:19caristuStatusnew => closed
2015-08-12 13:19caristuResolutionopen => no change required
2015-08-12 13:19caristuNote Edited: 0079321bug_revision_view_page.php?bugnote_id=0079321#r9198
2015-08-12 14:56caristuAssigned Tocaristu => dmitry_mezentsev
2015-08-12 14:56caristuStatusclosed => new
2015-08-12 14:56caristuResolutionno change required => open
2015-08-12 14:58caristuNote Edited: 0079321bug_revision_view_page.php?bugnote_id=0079321#r9199
2015-08-12 14:58caristuNote Edited: 0079321bug_revision_view_page.php?bugnote_id=0079321#r9200
2015-08-12 14:58caristuNote Edited: 0079321bug_revision_view_page.php?bugnote_id=0079321#r9201
2015-08-12 15:03caristuReview Assigned Tocaristu =>
2015-08-13 13:13dmitry_mezentsevTag Attached: Approved
2015-08-13 13:13dmitry_mezentsevAssigned Todmitry_mezentsev => caristu
2015-08-28 13:17caristuReview Assigned To => alostale
2015-08-28 13:17caristuIssue Monitored: alostale
2015-08-28 13:19hgbotCheckin
2015-08-28 13:19hgbotNote Added: 0079793
2015-08-28 13:19hgbotStatusnew => resolved
2015-08-28 13:19hgbotResolutionopen => fixed
2015-08-28 13:19hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/api-checks/rev/904c815b55d905889b548ed9f9f14999eef04b13 [^]
2015-09-04 11:06alostaleStatusresolved => closed

Notes
(0079321)
caristu   
2015-08-12 13:19   
(edited on: 2015-08-12 14:58)
The constant is referenced in mobile.core also, so this change makes sense to avoid doing any change on that module.

(0079793)
hgbot   
2015-08-28 13:19   
Repository: erp/devel/api-checks
Changeset: 904c815b55d905889b548ed9f9f14999eef04b13
Author: Carlos Aristu <carlos.aristu <at> openbravo.com>
Date: Fri Aug 28 13:18:52 2015 +0200
URL: http://code.openbravo.com/erp/devel/api-checks/rev/904c815b55d905889b548ed9f9f14999eef04b13 [^]

Fixes issue 30554: API change required for GEN_TARGET_LOCATION public constant

---
M java/reference/java.japi.gz
---