Anonymous | Login
Project:
RSS
  
News | My View | View Issues | Roadmap | Summary

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0008725
TypeCategorySeverityReproducibilityDate SubmittedLast Update
backport[Openbravo ERP] B. User interfaceminoralways2009-04-16 13:182009-05-12 17:31
ReporternetworkbView Statuspublic 
Assigned Todbaz 
PriorityimmediateResolutionfixedFixed in Version2.40MP4
StatusclosedFix in branch2.40Fixed in SCM revisionc2e10c8041ab
ProjectionnoneETAnoneTarget Version
OSLinux 64 bitDatabaseOracleJava version
OS VersionDatabase versionAnt version
Product Version2.40MP3SCM revision 
Review Assigned To
Web browser
ModulesCore
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0008725: The error, info, warning, messages printed when a callout is executed are not deleted

DescriptionWhen a callout if executed and a message is printed, then in a second execution of the callout the message is not deleted and it should dissapear.
Steps To Reproduce-Go to good shipment window
-Select a partner with not available credit
-A message appears:
     Note: Over Credit Limit
-Select other partner with credit
-The message does not disappear

      if (Value!=null && Value!='') {
      setValues_MessageBox('messageBoxID', "INFO", "", Value);
    }
Proposed SolutionWhen the message that is printed is null or "" the message should dissapear.

To get this you have to modify the web/js/utils.js

Modify the function formElementValue(Formulario, ElementName, Value) method

Replace this line
setValues_MessageBox('messageBoxID', "INFO", "", Value);
with the following:
 if (Value!=null && Value!='') {
      setValues_MessageBox('messageBoxID', "INFO", "", Value);
}

and the same with this line:
 setValues_MessageBox('messageBoxID', ElementName, "", Value);

TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]
blocks defect 0008598 closeddbaz The error, info, warning, messages printed when a callout is executed are not deleted 

-  Notes
(0015643)
hgbot (developer)
2009-04-24 00:10

Repository: erp/stable/2.40
Changeset: c2e10c8041ab7ea09881e56c49303d50b303e326
Author: David Baz Fayos <david.baz <at> openbravo.com>
Date: Thu Apr 23 23:46:27 2009 +0200
URL: http://code.openbravo.com/erp/stable/2.40/rev/c2e10c8041ab7ea09881e56c49303d50b303e326 [^]

Fixed bug 8725: Now message box is cleared when there is a change business partner in 'Good Shipments'

---
M src/org/openbravo/erpCommon/ad_callouts/SL_InOut_BPartner.java
M web/js/utils.js
---

- Issue History
Date Modified Username Field Change
2009-04-22 20:11 psarobe Type defect => backport
2009-04-22 20:11 psarobe fix_in_branch => 2.40
2009-04-23 09:32 rafaroda Assigned To rafaroda => dbaz
2009-04-24 00:10 hgbot Checkin
2009-04-24 00:10 hgbot Note Added: 0015643
2009-04-24 00:10 hgbot Status scheduled => resolved
2009-04-24 00:10 hgbot Resolution open => fixed
2009-04-24 00:10 hgbot Fixed in SCM revision => http://code.openbravo.com/erp/stable/2.40/rev/c2e10c8041ab7ea09881e56c49303d50b303e326 [^]
2009-05-10 19:37 psarobe Fixed in Version => 2.40MP4
2009-05-12 17:31 plujan Status resolved => closed


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker