Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||||||
ID | ||||||||||||
0029139 | ||||||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||||||
defect | [Retail Modules] Web POS | minor | always | 2015-03-05 10:45 | 2015-03-05 10:45 | |||||||
Reporter | marvintm | View Status | public | |||||||||
Assigned To | marvintm | |||||||||||
Priority | normal | Resolution | open | Fixed in Version | ||||||||
Status | new | Fix in branch | Fixed in SCM revision | |||||||||
Projection | none | ETA | none | Target Version | ||||||||
OS | Any | Database | Any | Java version | ||||||||
OS Version | Database version | Ant version | ||||||||||
Product Version | SCM revision | |||||||||||
Review Assigned To | ||||||||||||
Regression level | ||||||||||||
Regression date | ||||||||||||
Regression introduced in release | ||||||||||||
Regression introduced by commit | ||||||||||||
Triggers an Emergency Pack | No | |||||||||||
Summary | 0029139: Web POS shouldn't import javascript resources from Core | |||||||||||
Description | Right now, the Web POS is importing the following files: "../../org.openbravo.client.application/js/utilities/ob-utilities-number", "../../org.openbravo.client.application/js/utilities/ob-utilities-date", And also this one: globalResources.add(createComponentResource(ComponentResourceType.Static, prefix + "utils/unlinkDeviceOnLoad.js", ComponentResource.APP_OB3)); This is dangerous, because these files are maintained in the ERP, and the ERP has access to libraries that do not exist in the mobile platform. So we should stop using functions from these files and replace them with functions in our own libraries (for example for the ones in ob-utilities-number we have equivalent ones in ob-arithmetics.js). | |||||||||||
Steps To Reproduce | Verify that in order.js, we use function OB.Utilities.Number.roundJSNumber, which was temporarily broken when a call to a Smartclient function was added there. | |||||||||||
Tags | No tags attached. | |||||||||||
Attached Files | ||||||||||||
Relationships [ Relation Graph ] [ Dependency Graph ] | |||||||||
|
Issue History | |||
Date Modified | Username | Field | Change |
2015-03-05 10:45 | marvintm | New Issue | |
2015-03-05 10:45 | marvintm | Assigned To | => marvintm |
2015-03-05 10:45 | marvintm | Triggers an Emergency Pack | => No |
2015-03-05 10:46 | AugustoMauch | Relationship added | related to 0029113 |
Copyright © 2000 - 2009 MantisBT Group |