Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
ID | ||||||||
0031055 | ||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
backport | [Openbravo ERP] B. User interface | major | always | 2015-09-26 02:19 | 2015-10-20 11:11 | |||
Reporter | rbianchini | View Status | public | |||||
Assigned To | NaroaIriarte | |||||||
Priority | normal | Resolution | fixed | Fixed in Version | 3.0PR15Q3.2 | |||
Status | closed | Fix in branch | Fixed in SCM revision | e46c445f88e6 | ||||
Projection | none | ETA | none | Target Version | 3.0PR15Q3.2 | |||
OS | Any | Database | Any | Java version | ||||
OS Version | Database version | Ant version | ||||||
Product Version | 3.0PR15Q3.1 | SCM revision | ||||||
Review Assigned To | AugustoMauch | |||||||
Web browser | ||||||||
Modules | Core | |||||||
Regression level | Production - Confirmed Stable | |||||||
Regression date | ||||||||
Regression introduced in release | 3.0PR15Q2 | |||||||
Regression introduced by commit | ||||||||
Triggers an Emergency Pack | No | |||||||
Summary | 0031055: When add a second new line in goods movements, the product field is already filled | |||||||
Description | When you add the first new line (in form mode) in good movements, all fields are empty and when you select the product some fields are loaded, but when yos save the first line (Ctrl+s) and create a new line (the second one) with Ctrl+d, the product field is filled with the product from line one (or with the first product in the list). This is confusing for the user and the partner reports security problems. | |||||||
Steps To Reproduce | 1 - Log in ERP 2 - Go to Goods Movements window 3 - Create a new header 4 - Create a new line in form view and DO NOT save it 5 - With Ctrl+d or with the new button create other line 6 - Observes that almost fields are already filled with the first line's product | |||||||
Tags | No tags attached. | |||||||
Attached Files | ||||||||
Relationships [ Relation Graph ] [ Dependency Graph ] | ||||||||
|
Notes | |
(0081011) hgbot (developer) 2015-10-14 15:54 |
Repository: erp/backports/3.0PR15Q3.2 Changeset: e46c445f88e608d08f5711d621a67be445f03bb9 Author: Naroa Iriarte <naroa.iriarte <at> openbravo.com> Date: Wed Oct 14 15:45:22 2015 +0200 URL: http://code.openbravo.com/erp/backports/3.0PR15Q3.2/rev/e46c445f88e608d08f5711d621a67be445f03bb9 [^] Fixed issue 31055: Create a new record in a form was not working fine. The problem was that, if you create a new record in form view, and after fulfilling the form, you click in the create a new record in a form button without previously saving the firstly created record, it was not working fine. In Goods Movements lines tab, for example, the value of the product chosen in the first record was shown. That wasn't correct, the product should be empty. The problem was in the "ob-standard-view-datasource.js" the value map cache was being invalidated. To fix this, some clases have been changed. In the "ob-standard-view.js" in the "newDocument" function the parameters the isNewDocument parameter has been added and it is set to true. This parameter is passed to the request for being able to take it in the class "ob-standard-view-datasource.js" and to use it in the logic that invalidates the value map cache. Now, if this parameter is set to true, the value map cache is not invalidated. --- 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/main/ob-standard-view-datasource.js M modules/org.openbravo.client.application/web/org.openbravo.client.application/js/main/ob-standard-view.js M modules/org.openbravo.client.application/web/org.openbravo.client.application/js/main/ob-standard-window.js --- |
(0081036) hgbot (developer) 2015-10-15 10:33 |
Repository: erp/backports/3.0PR15Q3.2 Changeset: 7cedd4cac8cee407d0489ae01a691175121e7580 Author: Naroa Iriarte <naroa.iriarte <at> openbravo.com> Date: Thu Oct 15 10:04:13 2015 +0200 URL: http://code.openbravo.com/erp/backports/3.0PR15Q3.2/rev/7cedd4cac8cee407d0489ae01a691175121e7580 [^] Related with issue 31055: The condition has been changed. The if condition which handles the invalidation of the value maps cache has been modified for getting the correct behaviour. --- M modules/org.openbravo.client.application/web/org.openbravo.client.application/js/main/ob-standard-view-datasource.js --- |
(0081114) AugustoMauch (administrator) 2015-10-20 11:11 |
Code reviewed and verified in [1]@7cedd4cac8ce [1] https://code.openbravo.com/erp/backports/3.0PR15Q3.2 [^] |
Issue History | |||
Date Modified | Username | Field | Change |
2015-10-06 09:27 | alostale | Type | defect => backport |
2015-10-06 09:27 | alostale | Target Version | => 3.0PR15Q3.3 |
2015-10-13 10:49 | NaroaIriarte | Target Version | 3.0PR15Q3.3 => 3.0PR15Q3.2 |
2015-10-14 15:54 | hgbot | Checkin | |
2015-10-14 15:54 | hgbot | Note Added: 0081011 | |
2015-10-14 15:54 | hgbot | Status | scheduled => resolved |
2015-10-14 15:54 | hgbot | Resolution | open => fixed |
2015-10-14 15:54 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/backports/3.0PR15Q3.2/rev/e46c445f88e608d08f5711d621a67be445f03bb9 [^] |
2015-10-14 15:58 | NaroaIriarte | Review Assigned To | => alostale |
2015-10-14 15:58 | NaroaIriarte | Assigned To | platform => NaroaIriarte |
2015-10-15 09:18 | NaroaIriarte | Review Assigned To | alostale => AugustoMauch |
2015-10-15 10:33 | hgbot | Checkin | |
2015-10-15 10:33 | hgbot | Note Added: 0081036 | |
2015-10-20 11:11 | AugustoMauch | Note Added: 0081114 | |
2015-10-20 11:11 | AugustoMauch | Status | resolved => closed |
2015-10-20 11:11 | AugustoMauch | Fixed in Version | => 3.0PR15Q3.2 |
Copyright © 2000 - 2009 MantisBT Group |