Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0022438Openbravo ERP08. Project and service managementpublic2012-11-30 12:462012-12-06 15:12
psarobe 
AugustoMauch 
immediatemajoralways
closedfixed 
5
 
3.0MP18 
alostale
Core
Production - QA Approved
2012-10-26
https://code.openbravo.com/erp/devel/pi/rev/f786d405627ea5465bb6a330af5aed800790ca6d [^]
No
0022438: Button "Set project type" is no longer shown in window "Multiphase project"
The button "Set project type" is not shown in window "Multiphase project". This button has a display logic so it looks like there has been a change and now this logic is never taken into account

In MP16.3 is working, so when you enter the search key and the name, this button is shown

In MP17 is never shown

Work around: After saving you click refresh then the button is shown
1. Activate the instance
2. Go to Multiphase project window
3. Click New and type the search key and the name and move to the next field. Only two buttons are shown. WRONG!!

Current behaviour: Set project type is not shown
Expected behaviour: Set project type button should be shown
No tags attached.
related to defect 0022212 closed AugustoMauch The display logic doesn't work the first time 
Issue History
2012-11-30 12:46psarobeNew Issue
2012-11-30 12:46psarobeAssigned To => AugustoMauch
2012-11-30 12:46psarobeModules => Core
2012-11-30 12:47psarobeRegression level => Production - QA Approved
2012-11-30 12:47psarobeRegression date => 2012-11-30
2012-11-30 12:59dmitry_mezentsevNote Added: 0054670
2012-11-30 13:00dmitry_mezentsevNote Edited: 0054670bug_revision_view_page.php?bugnote_id=0054670#r4109
2012-11-30 13:01psarobeDescription Updatedbug_revision_view_page.php?rev_id=4111#r4111
2012-12-04 15:35AugustoMauchRegression date2012-11-30 => 2012-10-26
2012-12-04 15:35AugustoMauchRegression introduced by commit => https://code.openbravo.com/erp/devel/pi/diff/f786d405627e/modules/org.openbravo.client.application/web/org.openbravo.client.application/js/form/ob-view-form.js [^]
2012-12-04 15:41AugustoMauchRegression introduced by commithttps://code.openbravo.com/erp/devel/pi/diff/f786d405627e/modules/org.openbravo.client.application/web/org.openbravo.client.application/js/form/ob-view-form.js [^] => https://code.openbravo.com/erp/devel/pi/rev/f786d405627ea5465bb6a330af5aed800790ca6d [^]
2012-12-04 17:05AugustoMauchReview Assigned To => alostale
2012-12-04 17:06hgbotCheckin
2012-12-04 17:06hgbotNote Added: 0054709
2012-12-04 17:06hgbotStatusnew => resolved
2012-12-04 17:06hgbotResolutionopen => fixed
2012-12-04 17:06hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/03ae6a2f5ea3114c42590cc63b50a0d8693886ee [^]
2012-12-04 17:57alostaleNote Added: 0054712
2012-12-04 17:57alostaleStatusresolved => closed
2012-12-04 17:57alostaleFixed in Version => 3.0MP18
2012-12-06 15:12hudsonbotCheckin
2012-12-06 15:12hudsonbotNote Added: 0054752
2013-10-22 12:27adrianromeroRelationship addedrelated to 0022212

Notes
(0054670)
dmitry_mezentsev   
2012-11-30 12:59   
(edited on: 2012-11-30 13:00)
I mentioned that after pressing top navigation Refresh button the Set Project Type button is shown.

(0054709)
hgbot   
2012-12-04 17:06   
Repository: erp/devel/pi
Changeset: 03ae6a2f5ea3114c42590cc63b50a0d8693886ee
Author: Augusto Mauch <augusto.mauch <at> openbravo.com>
Date: Tue Dec 04 17:05:12 2012 +0100
URL: http://code.openbravo.com/erp/devel/pi/rev/03ae6a2f5ea3114c42590cc63b50a0d8693886ee [^]

Fixes issue 22438: Display logic works fine for new records

The problem was caused a by change done in [1], where some call to this.setValue were changed to this.setItemValue. The setItemValue function was not updating the value if the original value of the field was undefined and the new value was null.

[1] https://code.openbravo.com/erp/devel/pi/rev/f786d405627ea5465bb6a330af5aed800790ca6d [^]

---
M modules/org.openbravo.client.application/web/org.openbravo.client.application/js/form/ob-view-form.js
---
(0054712)
alostale   
2012-12-04 17:57   
Code reviewed and tested in pi@03ae6a2f5ea3.

Tested:
-Steps to reproduce in this issue
-Steps to reproduce in issue 0022025
(0054752)
hudsonbot   
2012-12-06 15:12   
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/d438f7014f16 [^]

Maturity status: Test