Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0007319Openbravo ERPB. User interfacepublic2009-02-02 17:192009-02-03 19:29
networkb 
jpabloae 
immediatemajoralways
closedout of date 
5
2.40MP1 
 
Core
No
0007319: isInRangeNumberBox function fails when a product is selected in a Sales Invoice line
In sales invoice line, isInRangeNumberBox function fails when a product is selected (using Product selector) or when Invoiced Quantity or Unit Price fields are changed. In firebug, the error shows: Element is null element.style.display="none";
Go to Sales Invoice > Line.
Open product selector and select one. See Line Net Amount field. It is always,0.
Change Invoiced Quantity field or Unit Price field. In both cases, Line Net Amount field (that must change) is 0.
No tags attached.
related to defect 0006366 closed jpabloae compile.complete does not clean WebContent 
depends on backport 0007351 closed jpabloae isInRangeNumberBox function fails when a product is selected in a Sales Invoice line 
Issue History
2009-02-02 17:19networkbNew Issue
2009-02-02 17:19networkbAssigned To => rafaroda
2009-02-02 17:19networkbsf_bug_id0 => 2557423
2009-02-02 17:19networkbRegression testing => No
2009-02-03 00:16dbazNote Added: 0013045
2009-02-03 12:40rafarodaNote Added: 0013080
2009-02-03 12:40rafarodaAssigned Torafaroda => jpabloae
2009-02-03 13:20jpabloaeRelationship addedrelated to 0007339
2009-02-03 13:21jpabloaeStatusnew => scheduled
2009-02-03 13:21jpabloaefix_in_branch => trunk
2009-02-03 13:22jpabloaeStatusscheduled => resolved
2009-02-03 13:22jpabloaeFixed in Version => 2.40MP3
2009-02-03 13:22jpabloaesvn_revision => 12705
2009-02-03 13:22jpabloaeResolutionopen => fixed
2009-02-03 13:22jpabloaeNote Added: 0013084
2009-02-03 19:19rafarodaStatusresolved => new
2009-02-03 19:19rafarodaResolutionfixed => open
2009-02-03 19:19rafarodaFixed in Version2.40MP3 =>
2009-02-03 19:20rafarodasvn_revision12705 =>
2009-02-03 19:20rafarodafix_in_branchtrunk =>
2009-02-03 19:20rafarodaStatusnew => scheduled
2009-02-03 19:20rafarodafix_in_branch => trunk
2009-02-03 19:23rafarodaStatusscheduled => closed
2009-02-03 19:23rafarodaNote Added: 0013103
2009-02-03 19:23rafarodaResolutionopen => out of date
2009-02-03 19:29rafarodaRelationship deletedrelated to 0007339
2009-02-03 19:29rafarodaRelationship addedrelated to 0006366

Notes
(0013045)
dbaz   
2009-02-03 00:16   
It is really really strange:

In branch r2.40 and trunk it works (and there has not been changes related with the javascript functions that seems to fail...)

Can anyone else confirm that it works in branch r2.40 and trunk? (to ensure that I am not doing anything wrong)

Thanks.
(0013080)
rafaroda   
2009-02-03 12:40   
Please notice that first time accessing customer's instance, 'Your browser's cache has outdated files. Please clean it and reload the page.' message is displayed. Even if one cleans browser's cache, message keeps displaying. This could be causing the issue described above.
(0013084)
jpabloae   
2009-02-03 13:22   
The issue here is how OBN makes the update. Openbravo updates WebContent based on file dates. This may be tricky in some situation if you have modifies a js file and the updates file comes with an older date. To fix this I have backported a fix from trunk which cleans the WebContent in a compile.complete. This has extra benefits.
(0013103)
rafaroda   
2009-02-03 19:23   
No change is required in trunk source code since. Backport remains open: https://issues.openbravo.com/view.php?id=7351 [^]