Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0018169Openbravo ERPA. Platformpublic2011-08-02 20:392011-08-08 00:59
elopio 
iperdomo 
immediatemajoralways
closedfixed 
5
pi 
3.0MP23.0MP2 
Core
No
0018169: Can't save business partner location
On the smoke test when it tries to set a location for a business partner, it is not possible to save the location.

Priority set to immediate because it makes the smoke test fail.
Go to http://live.builds.openbravo.com/int-full-pgsql/ [^]
Login with Openbravo/openbravo
Go to Master Data > Business Partner
Select the first business partner.
Go to the Location/Address tab.
Click the "New in record" button.
Select a location and enter a name.
Click the save button.
(nothing happens)
Click the save button again.
(the button is animated, but nothing else happens)
Automated, Regression QA
Issue History
2011-08-02 20:39elopioNew Issue
2011-08-02 20:39elopioAssigned To => alostale
2011-08-02 20:39elopioModules => Core
2011-08-02 20:39elopioTag Attached: Automated
2011-08-03 09:35psarobeTag Attached: Regression QA
2011-08-03 09:35psarobeAssigned Toalostale => mtaal
2011-08-03 09:35psarobeStatusnew => scheduled
2011-08-03 09:35psarobeTarget Version => 3.0MP2
2011-08-03 09:50psarobeAssigned Tomtaal => iperdomo
2011-08-03 09:53mtaalNote Added: 0039795
2011-08-03 17:06hgbotCheckin
2011-08-03 17:06hgbotNote Added: 0039835
2011-08-03 17:06hgbotStatusscheduled => resolved
2011-08-03 17:06hgbotResolutionopen => fixed
2011-08-03 17:06hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/586bab0f53f5887722f09abf7ed00d78f569073c [^]
2011-08-06 05:32hudsonbotCheckin
2011-08-06 05:32hudsonbotNote Added: 0039952
2011-08-08 00:59dbazStatusresolved => closed
2011-08-08 00:59dbazFixed in Version => 3.0MP2

Notes
(0039795)
mtaal   
2011-08-03 09:53   
This fails in ob-view-form here:

  getStatusBarFields: function() {
    var statusBarFields = [[],[]], i, item, value, tmpValue;
    for(i = 0; i < this.statusBarFields.length; i++) {
      item = this.getItem(this.statusBarFields[i]);
      value = item.getDisplayValue();

the item is null, the status bar fields contains field names which are not present on the form. Maybe these fields are inactive? In my case the statusbarfields also contains duplicate values but that can be related to my current work at form personalization
(0039835)
hgbot   
2011-08-03 17:06   
Repository: erp/devel/pi
Changeset: 586bab0f53f5887722f09abf7ed00d78f569073c
Author: Iván Perdomo <ivan.perdomo <at> openbravo.com>
Date: Wed Aug 03 17:05:38 2011 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/586bab0f53f5887722f09abf7ed00d78f569073c [^]

Fixes issue 18169: Removed RequestScope annotation
- The RequestScope annotation produced some status-bar fields in tabs where
  they don't belong.
- creditUsed field is from Customer tab, and the generated code, placed it in
  the Location/Address tab

---
M modules/org.openbravo.client.application/src/org/openbravo/client/application/window/OBViewFormComponent.java
---
(0039952)
hudsonbot   
2011-08-06 05:32   
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/5744448753e7 [^]

Maturity status: Test