Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0029940Openbravo ERPA. Platformpublic2015-05-20 13:122015-05-25 09:58
yogaskarnik 
alostale 
immediateminoralways
closedfixed 
5
 
pi 
AugustoMauch
Core
Production - Confirmed Stable
2015-03-16
3.0PR15Q1.2
https://code.openbravo.com/erp/devel/pi/rev/a882ebfc5ae62239e25474f67de797735bf960db [^]
No
0029940: Selector Reference field changes to Id in editable P&E when adding new rows
In a process definition with a grid parameter allowing to add new rows, if one of the editable fields in this grid is a drop down (table/tableDir/selector) references with a default value, when creating new lines, the identified for these fields in the previously created lines gets transformed into the record uuid.
* As System Administrator, display "Modify Payment Plan" button in Payment Plan tab of Sales Invoice window
* As Group Admin, Create new Sales Invoice document. Add line and process
* Go to Payment Plan tab and click on "Modify Payment Plan" button
* Edit existent line to change its Payment Method value
* Create a new line
  -> Check the 1st line: the value displayed for the Payment Method is not the readable identifier anymore but its internal uuid.
No tags attached.
depends on backport 00299603.0PR15Q2.2 closed alostale Selector Reference field changes to Id in editable P&E when adding new rows 
depends on backport 00299613.0PR15Q1.5 closed alostale Selector Reference field changes to Id in editable P&E when adding new rows 
caused by defect 00287273.0PR15Q3 closed AugustoMauch Payment Method info should be maintained when using "Modify Payment Plan" functionality 
related to defect 0030060 closed caristu Select Payments Pick&Edit window is not working properly 
png Selection_216.png (36,161) 2015-05-21 16:06
https://issues.openbravo.com/file_download.php?file_id=8106&type=bug
png
Issue History
2015-05-20 13:12yogaskarnikNew Issue
2015-05-20 13:12yogaskarnikAssigned To => platform
2015-05-20 13:12yogaskarnikModules => Core
2015-05-20 13:12yogaskarnikTriggers an Emergency Pack => No
2015-05-20 16:48yogaskarnikRegression level => Production - Confirmed Stable
2015-05-20 16:58yogaskarnikResolution time => 1432936800
2015-05-20 16:59yogaskarnikPrioritynormal => immediate
2015-05-21 15:15alostaleRelationship addedcaused by 0028727
2015-05-21 15:16alostaleStatusnew => scheduled
2015-05-21 15:16alostaleAssigned Toplatform => alostale
2015-05-21 15:52alostaleStatusscheduled => acknowledged
2015-05-21 15:55alostaleRegression date => 2015-03-16
2015-05-21 15:55alostaleRegression introduced in release => 3.0PR15Q1.2
2015-05-21 15:55alostaleRegression introduced by commit => https://code.openbravo.com/erp/devel/pi/rev/a882ebfc5ae62239e25474f67de797735bf960db [^]
2015-05-21 15:55alostaleSeveritymajor => minor
2015-05-21 16:04alostaleSummarySelector Reference field changes to Id => Selector Reference field changes to Id in editable P&E when adding new rows
2015-05-21 16:04alostaleDescription Updatedbug_revision_view_page.php?rev_id=8630#r8630
2015-05-21 16:04alostaleSteps to Reproduce Updatedbug_revision_view_page.php?rev_id=8632#r8632
2015-05-21 16:06alostaleFile Added: Selection_216.png
2015-05-21 16:06alostaleStatusacknowledged => scheduled
2015-05-22 08:23alostaleReview Assigned To => AugustoMauch
2015-05-22 08:49hgbotCheckin
2015-05-22 08:49hgbotNote Added: 0077649
2015-05-22 08:49hgbotStatusscheduled => resolved
2015-05-22 08:49hgbotResolutionopen => fixed
2015-05-22 08:49hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/72ce0a479aa127d8b2f46d5e028e450e7c8cbb32 [^]
2015-05-22 11:55egoitzIssue Monitored: egoitz
2015-05-22 14:55hudsonbotCheckin
2015-05-22 14:55hudsonbotNote Added: 0077664
2015-05-25 09:58AugustoMauchNote Added: 0077678
2015-05-25 09:58AugustoMauchStatusresolved => closed
2015-05-25 09:58AugustoMauchFixed in Version => pi
2015-06-03 09:45alostaleRelationship addedrelated to 0030060

Notes
(0077649)
hgbot   
2015-05-22 08:49   
Repository: erp/devel/pi
Changeset: 72ce0a479aa127d8b2f46d5e028e450e7c8cbb32
Author: Asier Lostalé <asier.lostale <at> openbravo.com>
Date: Thu May 21 17:44:34 2015 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/72ce0a479aa127d8b2f46d5e028e450e7c8cbb32 [^]

fixed bug 29940: field changes to Id in editable P&E when adding new rows

  In P&E with editable grid, if adding new records with default value for a drop
  down reference, existing records with different values for that field were changed
  from identifier to uuid.

  The problem was in how value map was set in this case. Instead of setting it for
  the edit form it was done at grid level.

  It has been fixed by setting the value map only to the field in the edit form.

---
M modules/org.openbravo.client.application/web/org.openbravo.client.application/js/process/ob-pick-and-execute-grid.js
---
(0077664)
hudsonbot   
2015-05-22 14:55   
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/3b3b84362be7 [^]
Maturity status: Test
(0077678)
AugustoMauch   
2015-05-25 09:58   
Code reviewed and verified in pi@c702e1364264