Openbravo Issue Tracking System - Retail Modules
View Issue Details
0024044Retail ModulesWeb POSpublic2013-06-11 17:342013-07-23 17:52
jecharri 
marvintm 
immediatemajoralways
closedfixed 
5
RMP23 
RMP23RMP24 
marvintm
No
0024044: RMP23 does not work in windows
RMP23 does not work in windows

In file modules/org.openbravo.mobile.core/src/org/openbravo/mobile/core/MobileCoreApplicationCacheComponent.java

we are using "/" in line
String relativePath = "web/org.openbravo.mobile.core";
and we should use
String relativePath = "web" + File.separatorChar + "org.openbravo.mobile.core";

Also in line
"../../" + fileCompletePath.substring(fileCompletePath.indexOf(relativePath))
if we are working in windows, the system is going to return a URL with "\" instead of "/", for this reason we should replace the wrong characters:
assets.add("../../" + fileCompletePath.substring(fileCompletePath.indexOf(relativePath)).replace("\\","/"));

-
No tags attached.
Issue History
2013-06-11 17:34jecharriNew Issue
2013-06-11 17:34jecharriAssigned To => jecharri
2013-06-11 17:34jecharriResolution time => 1371160800
2013-06-11 17:38hgbotCheckin
2013-06-11 17:38hgbotNote Added: 0059370
2013-06-11 17:38hgbotStatusnew => resolved
2013-06-11 17:38hgbotResolutionopen => fixed
2013-06-11 17:38hgbotFixed in SCM revision => http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/fb466d56e16383c92cc035b46d916805fbcd5f34 [^]
2013-06-11 17:38jecharriAssigned Tojecharri => marvintm
2013-06-12 09:03marvintmReview Assigned To => marvintm
2013-06-12 09:03marvintmStatusresolved => closed
2013-06-12 09:03marvintmFixed in Version => RMP24
2013-06-13 13:44hgbotCheckin
2013-06-13 13:44hgbotNote Added: 0059417
2013-06-13 13:44hgbotStatusclosed => resolved
2013-06-13 13:44hgbotFixed in SCM revisionhttp://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/fb466d56e16383c92cc035b46d916805fbcd5f34 [^] => http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/838da2ff036fdb2a4dd1aa6403decc45e1f58668 [^]
2013-06-17 10:23hgbotCheckin
2013-06-17 10:23hgbotNote Added: 0059452
2013-06-17 10:23hgbotFixed in SCM revisionhttp://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/838da2ff036fdb2a4dd1aa6403decc45e1f58668 [^] => http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/9a8e0fe0c8a598c183bf17708f815c87f7dc6c13 [^]
2013-06-17 10:27priyamNote Added: 0059453
2013-06-17 10:27priyamStatusresolved => closed
2013-06-28 10:14hgbotCheckin
2013-06-28 10:14hgbotNote Added: 0059723
2013-06-28 10:14hgbotStatusclosed => resolved
2013-06-28 10:14hgbotFixed in SCM revisionhttp://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/9a8e0fe0c8a598c183bf17708f815c87f7dc6c13 [^] => http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core.multiorder/rev/fb466d56e16383c92cc035b46d916805fbcd5f34 [^]
2013-06-28 10:16hgbotCheckin
2013-06-28 10:16hgbotNote Added: 0059729
2013-06-28 10:16hgbotFixed in SCM revisionhttp://code.openbravo.com/erp/pmods/org.openbravo.mobile.core.multiorder/rev/fb466d56e16383c92cc035b46d916805fbcd5f34 [^] => http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core.multiorder/rev/838da2ff036fdb2a4dd1aa6403decc45e1f58668 [^]
2013-06-28 10:19hgbotCheckin
2013-06-28 10:19hgbotNote Added: 0059730
2013-06-28 10:19hgbotFixed in SCM revisionhttp://code.openbravo.com/erp/pmods/org.openbravo.mobile.core.multiorder/rev/838da2ff036fdb2a4dd1aa6403decc45e1f58668 [^] => http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core.multiorder/rev/9a8e0fe0c8a598c183bf17708f815c87f7dc6c13 [^]
2013-07-23 17:51guilleaerNote Added: 0060188
2013-07-23 17:52guilleaerStatusresolved => closed

Notes
(0059370)
hgbot   
2013-06-11 17:38   
Repository: erp/pmods/org.openbravo.mobile.core
Changeset: fb466d56e16383c92cc035b46d916805fbcd5f34
Author: Javier Etxarri <javier.echarri <at> openbravo.com>
Date: Tue Jun 11 17:38:51 2013 +0200
URL: http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/fb466d56e16383c92cc035b46d916805fbcd5f34 [^]

Fixes issue 24044: RMP23 does not work in windows

---
M src/org/openbravo/mobile/core/MobileCoreApplicationCacheComponent.java
---
(0059417)
hgbot   
2013-06-13 13:44   
Repository: erp/pmods/org.openbravo.mobile.core
Changeset: 838da2ff036fdb2a4dd1aa6403decc45e1f58668
Author: Javier Etxarri <javier.echarri <at> openbravo.com>
Date: Tue Jun 11 17:38:51 2013 +0200
URL: http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/838da2ff036fdb2a4dd1aa6403decc45e1f58668 [^]

Fixes issue 24044: RMP23 does not work in windows

---
M src/org/openbravo/mobile/core/MobileCoreApplicationCacheComponent.java
---
(0059452)
hgbot   
2013-06-17 10:23   
Repository: erp/pmods/org.openbravo.mobile.core
Changeset: 9a8e0fe0c8a598c183bf17708f815c87f7dc6c13
Author: Javier Etxarri <javier.echarri <at> openbravo.com>
Date: Tue Jun 11 17:38:51 2013 +0200
URL: http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/9a8e0fe0c8a598c183bf17708f815c87f7dc6c13 [^]

Fixes issue 24044: RMP23 does not work in windows

---
M src/org/openbravo/mobile/core/MobileCoreApplicationCacheComponent.java
---
(0059453)
priyam   
2013-06-17 10:27   
closing as the issue status changed during emergency mp tagging process.
(0059723)
hgbot   
2013-06-28 10:14   
Repository: erp/pmods/org.openbravo.mobile.core.multiorder
Changeset: fb466d56e16383c92cc035b46d916805fbcd5f34
Author: Javier Etxarri <javier.echarri <at> openbravo.com>
Date: Tue Jun 11 17:38:51 2013 +0200
URL: http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core.multiorder/rev/fb466d56e16383c92cc035b46d916805fbcd5f34 [^]

Fixes issue 24044: RMP23 does not work in windows

---
M src/org/openbravo/mobile/core/MobileCoreApplicationCacheComponent.java
---
(0059729)
hgbot   
2013-06-28 10:16   
Repository: erp/pmods/org.openbravo.mobile.core.multiorder
Changeset: 838da2ff036fdb2a4dd1aa6403decc45e1f58668
Author: Javier Etxarri <javier.echarri <at> openbravo.com>
Date: Tue Jun 11 17:38:51 2013 +0200
URL: http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core.multiorder/rev/838da2ff036fdb2a4dd1aa6403decc45e1f58668 [^]

Fixes issue 24044: RMP23 does not work in windows

---
M src/org/openbravo/mobile/core/MobileCoreApplicationCacheComponent.java
---
(0059730)
hgbot   
2013-06-28 10:19   
Repository: erp/pmods/org.openbravo.mobile.core.multiorder
Changeset: 9a8e0fe0c8a598c183bf17708f815c87f7dc6c13
Author: Javier Etxarri <javier.echarri <at> openbravo.com>
Date: Tue Jun 11 17:38:51 2013 +0200
URL: http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core.multiorder/rev/9a8e0fe0c8a598c183bf17708f815c87f7dc6c13 [^]

Fixes issue 24044: RMP23 does not work in windows

---
M src/org/openbravo/mobile/core/MobileCoreApplicationCacheComponent.java
---
(0060188)
guilleaer   
2013-07-23 17:51   
reclosing