Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
ID | ||||||||
0028454 | ||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
defect | [Openbravo ERP] A. Platform | minor | always | 2014-12-18 18:55 | 2014-12-30 23:28 | |||
Reporter | egoitz | View Status | public | |||||
Assigned To | alostale | |||||||
Priority | immediate | Resolution | fixed | Fixed in Version | 3.0PR15Q1 | |||
Status | closed | Fix in branch | Fixed in SCM revision | 5d1b178472d1 | ||||
Projection | none | ETA | none | Target Version | ||||
OS | Any | Database | Any | Java version | ||||
OS Version | Database version | Ant version | ||||||
Product Version | SCM revision | |||||||
Merge Request Status | ||||||||
Review Assigned To | AugustoMauch | |||||||
OBNetwork customer | OBPS | |||||||
Web browser | ||||||||
Modules | Core | |||||||
Support ticket | 32857 | |||||||
Regression level | Production - Confirmed Stable | |||||||
Regression date | 2014-02-07 | |||||||
Regression introduced in release | 3.0PR14Q2 | |||||||
Regression introduced by commit | http://code.openbravo.com/erp/devel/pi/rev/09050a5b416213987340319de2dba42c481ca18e [^] | |||||||
Triggers an Emergency Pack | No | |||||||
Summary | 0028454: can't nullify fields when 1st edition is in grid | |||||||
Description | It is not possible to nullify any field if the first edition in that tab was done in grid view. | |||||||
Steps To Reproduce | 1-Access to sales order window 2-Select a order in draf status 3-Go to the lines 4-add the description column on the grid. 5-Edit the line on grid view by adding a text on the description 6-Save 7-Edit the record on grid view and delete the description added 8-Save. *The text of the description is restored with the value inserted on step 5. This fails in all windows if 1st edition in the tab is done in grid view. | |||||||
Proposed Solution | While this is not fixed, the workaround to be make possible to nullify fields is to do the 1st edition in form view. | |||||||
Tags | No tags attached. | |||||||
Attached Files | ||||||||
![]() |
|||||||||||||||||||||||||||||
|
![]() |
|
(0072717) alostale (viewer) 2014-12-19 08:31 |
This seems to be a problem in the client side: when the description is properly nullified the request payload includes description:null, whereas when it recovers previous value there is no description field. |
(0072718) hgbot (developer) 2014-12-19 09:46 |
Repository: erp/devel/pi Changeset: 5d1b178472d15ec2181ae4a6a41be5ad5ddc4591 Author: Asier Lostalé <asier.lostale <at> openbravo.com> Date: Fri Dec 19 09:45:01 2014 +0100 URL: http://code.openbravo.com/erp/devel/pi/rev/5d1b178472d15ec2181ae4a6a41be5ad5ddc4591 [^] fixed bug 28454: can't nullify fields when 1st edition is in grid When the first edition in a tab was done in grid view, it was not possible to nullify any field. The problem was null values are only sent to backend for fields present in the standard view. To get those fields form.getFields() method was invoked, in order to improve performance, form fields are only loaded when the form is opened 1st time, so if the form view was not opened before this check, all nulls were removed from the request. As this was cached, all further editions were using this incorrect cache. The fix consists in not using form.getFields() methods but to get the fields from view.formFields which is guaranteed to be loaded one the window is opened. --- M modules/org.openbravo.client.application/web/org.openbravo.client.application/js/form/ob-view-form.js --- |
(0072767) hgbot (developer) 2014-12-22 12:07 |
Repository: erp/devel/pi Changeset: 3e74f819198dcf17de572f343330ea39e6e1213c Author: Augusto Mauch <augusto.mauch <at> openbravo.com> Date: Mon Dec 22 12:06:48 2014 +0100 URL: http://code.openbravo.com/erp/devel/pi/rev/3e74f819198dcf17de572f343330ea39e6e1213c [^] Related with issue 28454: Add comments to function --- M modules/org.openbravo.client.application/web/org.openbravo.client.application/js/main/ob-standard-view-datasource.js --- |
(0072768) AugustoMauch (administrator) 2014-12-22 12:09 |
Code reviewed and verified in pi@3e74f819198d |
(0072811) hgbot (developer) 2014-12-24 11:09 |
Repository: tools/automation/int Changeset: da23dea116bc1a53fa5c4394d3b40ceeb478836c Author: Asier Lostalé <asier.lostale <at> openbravo.com> Date: Fri Dec 19 12:03:27 2014 +0100 URL: http://code.openbravo.com/tools/automation/int/rev/da23dea116bc1a53fa5c4394d3b40ceeb478836c [^] related to bug 28454: added selenium test case asserting it is possible to nullify fields from grid --- M src-test/com/openbravo/test/integration/erp/modules/client/application/testsuites/standardview/grid/GridSuite.java M src-test/com/openbravo/test/integration/erp/modules/client/application/testsuites/standardview/grid/build.xml A src-test/com/openbravo/test/integration/erp/modules/client/application/testsuites/standardview/grid/GRD0200_NullifyField.java --- |
(0073248) hudsonbot (viewer) 2014-12-30 23:28 |
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/6525fe229e06 [^] Maturity status: Test |
(0073255) hudsonbot (viewer) 2014-12-30 23:28 |
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/6525fe229e06 [^] Maturity status: Test |
![]() |
|||
Date Modified | Username | Field | Change |
2014-12-18 18:55 | egoitz | New Issue | |
2014-12-18 18:55 | egoitz | Assigned To | => AugustoMauch |
2014-12-18 18:55 | egoitz | OBNetwork customer | => Yes |
2014-12-18 18:55 | egoitz | Modules | => Core |
2014-12-18 18:55 | egoitz | Support ticket | => 32857 |
2014-12-18 18:55 | egoitz | Resolution time | => 1422140400 |
2014-12-18 18:55 | egoitz | Triggers an Emergency Pack | => No |
2014-12-19 08:03 | alostale | Description Updated | View Revisions |
2014-12-19 08:03 | alostale | Steps to Reproduce Updated | View Revisions |
2014-12-19 08:04 | alostale | Regression level | => Production - Confirmed Stable |
2014-12-19 08:04 | alostale | Regression introduced in release | => 3.0PR14Q2 |
2014-12-19 08:04 | alostale | Severity | major => minor |
2014-12-19 08:04 | alostale | Assigned To | AugustoMauch => alostale |
2014-12-19 08:04 | alostale | Priority | urgent => immediate |
2014-12-19 08:06 | alostale | Steps to Reproduce Updated | View Revisions |
2014-12-19 08:06 | alostale | Proposed Solution updated | |
2014-12-19 08:31 | alostale | Note Added: 0072717 | |
2014-12-19 09:25 | alostale | Relationship added | related to 0024403 |
2014-12-19 09:25 | alostale | Relationship added | caused by 0024705 |
2014-12-19 09:27 | alostale | Regression date | => 2014-02-07 |
2014-12-19 09:27 | alostale | Regression introduced by commit | => http://code.openbravo.com/erp/devel/pi/rev/09050a5b416213987340319de2dba42c481ca18e [^] |
2014-12-19 09:30 | alostale | Description Updated | View Revisions |
2014-12-19 09:30 | alostale | Steps to Reproduce Updated | View Revisions |
2014-12-19 09:30 | alostale | Proposed Solution updated | |
2014-12-19 09:38 | alostale | Summary | Not possible to remove the description on order lines. => can't nullify fields editing in grid |
2014-12-19 09:39 | alostale | Review Assigned To | => AugustoMauch |
2014-12-19 09:40 | alostale | Summary | can't nullify fields editing in grid => can't nullify fields when 1st edition is in grid |
2014-12-19 09:40 | alostale | Description Updated | View Revisions |
2014-12-19 09:46 | hgbot | Checkin | |
2014-12-19 09:46 | hgbot | Note Added: 0072718 | |
2014-12-19 09:46 | hgbot | Status | new => resolved |
2014-12-19 09:46 | hgbot | Resolution | open => fixed |
2014-12-19 09:46 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/devel/pi/rev/5d1b178472d15ec2181ae4a6a41be5ad5ddc4591 [^] |
2014-12-22 12:07 | hgbot | Checkin | |
2014-12-22 12:07 | hgbot | Note Added: 0072767 | |
2014-12-22 12:09 | AugustoMauch | Note Added: 0072768 | |
2014-12-22 12:09 | AugustoMauch | Status | resolved => closed |
2014-12-22 12:09 | AugustoMauch | Fixed in Version | => 3.0PR15Q1 |
2014-12-24 11:09 | hgbot | Checkin | |
2014-12-24 11:09 | hgbot | Note Added: 0072811 | |
2014-12-30 23:28 | hudsonbot | Checkin | |
2014-12-30 23:28 | hudsonbot | Note Added: 0073248 | |
2014-12-30 23:28 | hudsonbot | Checkin | |
2014-12-30 23:28 | hudsonbot | Note Added: 0073255 | |
2015-01-30 12:05 | alostale | Relationship added | has duplicate 0028820 |
2015-02-09 12:43 | alostale | Relationship added | related to 0028893 |
2015-02-10 10:41 | alostale | Relationship replaced | causes 0028893 |
Copyright © 2000 - 2009 MantisBT Group |