Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0018694Openbravo ERPA. Platformpublic2011-10-04 16:552022-02-01 08:09
iperdomo 
Triage Platform Base 
urgentminoralways
newout of date 
202.6.36-gentoo-r5
pi 
 
Google Chrome
Core
No
0018694: New callout infrastructure improvements
A few things need to be improved in the new callout infrastructure:
1) Working with numbers in the client-side. Is known that JavaScript is using double for numbers (0.1 + 0.2 is not 0.3). We need to use some BigDecimal library, eg.
- http://www.stz-ida.de/index.php?option=com_content&view=article&id=18&Itemid=32 [^] (download: http://stz-ida.de/download/oss/js_bigdecimal.tgz [^])
- https://github.com/jhs/bigdecimal.js [^]

2) Locking the UI while waiting a server response. If a callout triggers a server side call, the developer should be able to define if the UI will be locked until the server replies. See the attached video. The server side is intentionally slow (1.5s) leading to overwrite a field that the user is using.

3) Sequence generation in the client-side
* Try to use the new onchange functions with:
- number operations
- server side calls with heavy server side operation
Implement a solution for the mentioned topics
No tags attached.
related to feature request 00185883.0MP4 closed mtaal Implement new callout functionality 
? server-side-delay.ogv (459,953) 2011-10-04 16:55
https://issues.openbravo.com/file_download.php?file_id=4618&type=bug
Issue History
2011-10-04 16:55iperdomoNew Issue
2011-10-04 16:55iperdomoAssigned To => mtaal
2011-10-04 16:55iperdomoFile Added: server-side-delay.ogv
2011-10-04 16:55iperdomoWeb browser => Google Chrome
2011-10-04 16:55iperdomoModules => Core
2011-10-04 16:56iperdomoRelationship addedrelated to 0018588
2011-10-06 08:02iperdomoWeb browserGoogle Chrome => Google Chrome
2011-10-06 08:02iperdomoDescription Updatedbug_revision_view_page.php?rev_id=2786#r2786
2011-11-25 14:00hgbotCheckin
2011-11-25 14:00hgbotNote Added: 0043280
2011-11-30 12:34hudsonbotCheckin
2011-11-30 12:34hudsonbotNote Added: 0043505
2012-10-09 09:27mtaalWeb browserGoogle Chrome => Google Chrome
2012-10-09 09:27mtaalTypedefect => feature request
2016-10-21 10:59mtaalStatusnew => closed
2016-10-21 10:59mtaalResolutionopen => out of date
2016-10-21 13:17mtaalTag Attached: MT_closed_out_of_date
2016-10-21 14:08mtaalAssigned Tomtaal => platform
2016-10-21 14:09mtaalStatusclosed => new
2016-10-21 14:11mtaalTag Detached: MT_closed_out_of_date
2022-02-01 08:09alostaleAssigned Toplatform => Triage Platform Base

Notes
(0043280)
hgbot   
2011-11-25 14:00   
Repository: erp/devel/pi
Changeset: 47715b87f96876d692885939e5c9d7e8c25ed2b0
Author: Iván Perdomo <ivan.perdomo <at> openbravo.com>
Date: Fri Nov 11 08:42:16 2011 +0100
URL: http://code.openbravo.com/erp/devel/pi/rev/47715b87f96876d692885939e5c9d7e8c25ed2b0 [^]

Issue 18694: Added BigDecimal js library
- Added js BigDecimal from https://github.com/dtrebbien/BigDecimal.js [^]

---
M modules/org.openbravo.client.kernel/jslint/jscheck
M src/index.jsp
A legal/ICU4J-1.3.1.txt
A modules/org.openbravo.client.kernel/web/org.openbravo.client.kernel/js/BigDecimal-all-1.0.1.min.js
---
(0043505)
hudsonbot   
2011-11-30 12:34   
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/01809c7b3135 [^]

Maturity status: Test