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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0008598
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Openbravo ERP] B. User interfaceminoralways2009-04-16 13:182009-05-05 00:00
ReporternetworkbView Statuspublic 
Assigned Todbaz 
PriorityimmediateResolutionfixedFixed in Version2.50MP1
StatusclosedFix in branchpiFixed in SCM revision58509c2f360e
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

0008598: 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);

Tags250MP1
Attached Files

- Relationships Relation Graph ] Dependency Graph ]
depends on backport 0008725 closeddbaz The error, info, warning, messages printed when a callout is executed are not deleted 
related to defect 0007723 closeddbaz Blue informations label disappear too quickly to read them 

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

Repository: erp/devel/pi
Changeset: 58509c2f360ea8193d7f9e5ee5b5f18ee61ee5bc
Author: David Baz Fayos <david.baz <at> openbravo.com>
Date: Thu Apr 23 23:47:03 2009 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/58509c2f360ea8193d7f9e5ee5b5f18ee61ee5bc [^]

Fixed bug 8598: 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-16 13:18 networkb New Issue
2009-04-16 13:18 networkb Assigned To => rafaroda
2009-04-16 13:18 networkb Regression testing => No
2009-04-22 20:11 psarobe Status new => scheduled
2009-04-22 20:11 psarobe fix_in_branch => pi
2009-04-23 09:32 rafaroda Assigned To rafaroda => dbaz
2009-04-23 09:39 rafaroda Relationship added related to 0007723
2009-04-23 16:04 psarobe Tag Attached: 250MP1
2009-04-24 00:10 hgbot Checkin
2009-04-24 00:10 hgbot Note Added: 0015644
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/devel/pi/rev/58509c2f360ea8193d7f9e5ee5b5f18ee61ee5bc [^]
2009-05-04 18:43 psarobe Status resolved => closed
2009-05-05 00:00 anonymous sf_bug_id 0 => 2786903


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker