Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
ID | ||||||||
0028893 | ||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
defect | [Openbravo ERP] A. Platform | major | always | 2015-02-09 12:40 | 2015-02-10 19:35 | |||
Reporter | egoitz | View Status | public | |||||
Assigned To | alostale | |||||||
Priority | immediate | Resolution | fixed | Fixed in Version | 3.0PR15Q2 | |||
Status | closed | Fix in branch | Fixed in SCM revision | 05b7936848de | ||||
Projection | none | ETA | none | Target Version | 3.0PR15Q2 | |||
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 | 33980 | |||||||
Regression level | Production - Confirmed Stable | |||||||
Regression date | 2014-12-19 | |||||||
Regression introduced in release | 3.0PR14Q3.5 | |||||||
Regression introduced by commit | http://code.openbravo.com/erp/devel/pi/rev/5d1b178472d15ec2181ae4a6a41be5ad5ddc4591 [^] | |||||||
Triggers an Emergency Pack | No | |||||||
Summary | 0028893: Not possible to nullify fields in grid view using window personalization | |||||||
Description | Not possible to nullify a dropdown using window personalization. It happens when accessing by default to a custom grid view and when the first action peformed after open the window is to open a record on form view. | |||||||
Steps To Reproduce | -Access to the sales order window -Add on the grid the payment method column. -Save the view and set as default. -Close the window -Open again the sales order window from the menu -Open a record on form view -close the form view and go back to the grid -Edit on grid view a record and try to nullify the payment method combo. *After save the previous value is restored. | |||||||
Tags | No tags attached. | |||||||
Attached Files | ||||||||
![]() |
|||||||||||||||
|
![]() |
|
(0074312) alostale (viewer) 2015-02-10 09:11 edited on: 2015-02-10 10:22 |
Note it only occurs having a saved view if before saving any edition form view is opened and first saved edition is saved in grid view. |
(0074313) egoitz (viewer) 2015-02-10 09:25 |
Also happens with text fields |
(0074314) eugeni (viewer) 2015-02-10 09:29 edited on: 2015-02-10 09:33 |
In general, it happens when: - You use a custom view + - First saved edition is saved in FORM view (it works if first saved edition is saved in grid view) |
(0074316) hgbot (developer) 2015-02-10 10:54 |
Repository: erp/devel/pi Changeset: 05b7936848de9683408839560623a291d08e6448 Author: Asier Lostalé <asier.lostale <at> openbravo.com> Date: Tue Feb 10 10:52:58 2015 +0100 URL: http://code.openbravo.com/erp/devel/pi/rev/05b7936848de9683408839560623a291d08e6448 [^] fixed bug 28893: can't nullify fields in grid view using window personalization Using a saved view, if before any edition tab was opened in form view, and record edited in grid view, it was not possible to nullify fields. The problem was caused by changeset to fix 0028454 which assumed view.formFields was always set in order to compute the null fields that should be kept and the ones that should be removed when sending data to data source. This assumption was not correct in the case of having a saved view: when applying saved view, SmartClient removes items in view.formFields. The fix includes 2 modifications: 1. Restore view.formFields after applying saved view 2. When calculating columns don't assume view.formFields is always set, this part wouldn't be necessary for flow 1, but it prevents any other unforeseen possible flow --- M modules/org.openbravo.client.application/web/org.openbravo.client.application/js/form/ob-view-form.js M modules/org.openbravo.client.application/web/org.openbravo.client.application/js/personalization/ob-personalization.js --- |
(0074317) alostale (viewer) 2015-02-10 11:03 |
Added test case in TestLink: https://testlink.openbravo.com/testlink/linkto.php?tprojectPrefix=Communit&item=testcase&id=Communit-8032 [^] |
(0074323) AugustoMauch (administrator) 2015-02-10 13:19 |
Code reviewed and verified in pi@05b7936848de |
(0074341) hudsonbot (viewer) 2015-02-10 19:35 |
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/24bb109056f1 [^] Maturity status: Test |
![]() |
|||
Date Modified | Username | Field | Change |
2015-02-09 12:40 | egoitz | New Issue | |
2015-02-09 12:40 | egoitz | Assigned To | => AugustoMauch |
2015-02-09 12:40 | egoitz | OBNetwork customer | => Yes |
2015-02-09 12:40 | egoitz | Modules | => Core |
2015-02-09 12:40 | egoitz | Support ticket | => 33980 |
2015-02-09 12:40 | egoitz | Triggers an Emergency Pack | => No |
2015-02-09 12:43 | alostale | Relationship added | related to 0028454 |
2015-02-09 12:45 | egoitz | Resolution time | => 1423954800 |
2015-02-09 12:45 | egoitz | Regression level | => Production - Confirmed Stable |
2015-02-09 12:48 | alostale | Assigned To | AugustoMauch => alostale |
2015-02-09 13:02 | eugeni | Issue Monitored: eugeni | |
2015-02-10 09:11 | alostale | Note Added: 0074312 | |
2015-02-10 09:25 | egoitz | Note Added: 0074313 | |
2015-02-10 09:29 | eugeni | Note Added: 0074314 | |
2015-02-10 09:33 | eugeni | Note Edited: 0074314 | View Revisions |
2015-02-10 10:22 | alostale | Note Edited: 0074312 | View Revisions |
2015-02-10 10:23 | alostale | Summary | Not possible to nullify a dropdown using window personalization => Not possible to nullify fields in grid view using window personalization |
2015-02-10 10:41 | alostale | Relationship added | related to 0024705 |
2015-02-10 10:41 | alostale | Relationship replaced | caused by 0028454 |
2015-02-10 10:44 | alostale | Review Assigned To | => AugustoMauch |
2015-02-10 10:44 | alostale | Regression date | => 2014-12-19 |
2015-02-10 10:44 | alostale | Regression introduced in release | => 3.0PR14Q3.5 |
2015-02-10 10:44 | alostale | Regression introduced by commit | => http://code.openbravo.com/erp/devel/pi/rev/5d1b178472d15ec2181ae4a6a41be5ad5ddc4591 [^] |
2015-02-10 10:54 | hgbot | Checkin | |
2015-02-10 10:54 | hgbot | Note Added: 0074316 | |
2015-02-10 10:54 | hgbot | Status | new => resolved |
2015-02-10 10:54 | hgbot | Resolution | open => fixed |
2015-02-10 10:54 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/devel/pi/rev/05b7936848de9683408839560623a291d08e6448 [^] |
2015-02-10 11:03 | alostale | Note Added: 0074317 | |
2015-02-10 13:19 | AugustoMauch | Note Added: 0074323 | |
2015-02-10 13:19 | AugustoMauch | Status | resolved => closed |
2015-02-10 13:19 | AugustoMauch | Fixed in Version | => 3.0PR15Q2 |
2015-02-10 19:35 | hudsonbot | Checkin | |
2015-02-10 19:35 | hudsonbot | Note Added: 0074341 |
Copyright © 2000 - 2009 MantisBT Group |