Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
ID | ||||||||
0029373 | ||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
defect | [Openbravo ERP] A. Platform | major | always | 2015-03-23 13:36 | 2015-05-07 22:16 | |||
Reporter | caristu | View Status | public | |||||
Assigned To | caristu | |||||||
Priority | urgent | Resolution | fixed | Fixed in Version | 3.0PR15Q3 | |||
Status | closed | Fix in branch | Fixed in SCM revision | bdd9223578a2 | ||||
Projection | none | ETA | none | Target Version | 3.0PR15Q3 | |||
OS | Any | Database | Any | Java version | ||||
OS Version | Database version | Ant version | ||||||
Product Version | SCM revision | |||||||
Review Assigned To | alostale | |||||||
Web browser | ||||||||
Modules | Core | |||||||
Regression level | ||||||||
Regression date | ||||||||
Regression introduced in release | ||||||||
Regression introduced by commit | ||||||||
Triggers an Emergency Pack | No | |||||||
Summary | 0029373: Field values can be overwritten by property field values in form view under some circumnstances | |||||||
Description | Field values can be overwritten by property field values when the property field points to a property of the entity referenced in the tab. | |||||||
Steps To Reproduce | 1) Install the "com.openbravo.support.test" module with the last changes in the repository of the module (tag Issue29373) 2) Go to the Price List window. Navigate to any record, for example "Be Soft Drinker Price List" 3) Navigate to the Price List Version tab. Notice that in grid view the name of the price list version is "Be Soft Drinker Price List" 4) Open the record in form view, notice that the name now appears empty. It is being overwritten by the property field value (which points to the base price list version name) | |||||||
Proposed Solution | Use a similar approach like in [1] in the "setRequestContextParameter" method of the FormInitializationComponent in order to prevent the override of the original value. There also exists a workaround which consist of giving to the property field a sequence number lower than the field sequence number [1] https://code.openbravo.com/erp/devel/pi/rev/407f2d03251e91488d2a096482ef6d27a7eb6105 [^] | |||||||
Tags | No tags attached. | |||||||
Attached Files | ||||||||
Relationships [ Relation Graph ] [ Dependency Graph ] | |||||||||||||||
|
Notes | |
(0076607) hgbot (developer) 2015-04-17 13:49 |
Repository: erp/devel/pi Changeset: bdd9223578a2fd2db570735e42fd7202760a7ee4 Author: Carlos Aristu <carlos.aristu <at> openbravo.com> Date: Fri Apr 17 11:10:36 2015 +0200 URL: http://code.openbravo.com/erp/devel/pi/rev/bdd9223578a2fd2db570735e42fd7202760a7ee4 [^] fixes issue 29373: Property fields can overwrite values in request of the FIC The FIC could overwrite the values of some fields having a property field in the same tab referencing a column with the same name. To solve this problem now the setRequestContextParameter() stores in the request de correct name for the parameter related to the property field --- M modules/org.openbravo.client.application/src/org/openbravo/client/application/window/FormInitializationComponent.java --- |
(0076767) alostale (manager) 2015-04-27 08:42 |
code reviewed + tested |
(0077135) hudsonbot (developer) 2015-05-07 22:16 |
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/a1817f84bd8b [^] Maturity status: Test |
Issue History | |||
Date Modified | Username | Field | Change |
2015-03-23 13:36 | caristu | New Issue | |
2015-03-23 13:36 | caristu | Assigned To | => platform |
2015-03-23 13:36 | caristu | Modules | => Core |
2015-03-23 13:36 | caristu | Triggers an Emergency Pack | => No |
2015-03-23 13:37 | hgbot | Checkin | |
2015-03-23 13:37 | hgbot | Note Added: 0075861 | |
2015-03-23 13:37 | jonalegriaesarte | Resolution time | => 1429740000 |
2015-03-23 13:38 | caristu | Steps to Reproduce Updated | View Revisions |
2015-03-23 13:38 | caristu | Issue Monitored: networkb | |
2015-03-23 13:38 | caristu | Note View State: private: 75861 | |
2015-03-23 13:38 | caristu | Note Deleted: 0075861 | |
2015-03-23 13:56 | hgbot | Checkin | |
2015-03-23 13:56 | hgbot | Note Added: 0075866 | |
2015-03-23 13:56 | hgbot | Checkin | |
2015-03-23 13:56 | hgbot | Note Added: 0075867 | |
2015-03-23 13:56 | hgbot | Checkin | |
2015-03-23 13:56 | hgbot | Note Added: 0075868 | |
2015-03-23 13:56 | caristu | Note Deleted: 0075866 | |
2015-03-23 13:57 | caristu | Note Deleted: 0075867 | |
2015-03-23 13:57 | caristu | Note Deleted: 0075868 | |
2015-03-26 15:26 | alostale | Relationship added | related to 0026763 |
2015-03-30 08:42 | alostale | Status | new => acknowledged |
2015-04-17 08:16 | alostale | Status | acknowledged => scheduled |
2015-04-17 08:16 | alostale | Assigned To | platform => caristu |
2015-04-17 13:46 | caristu | Issue Monitored: alostale | |
2015-04-17 13:47 | caristu | Assigned To | caristu => alostale |
2015-04-17 13:49 | hgbot | Checkin | |
2015-04-17 13:49 | hgbot | Note Added: 0076607 | |
2015-04-17 13:49 | hgbot | Status | scheduled => resolved |
2015-04-17 13:49 | hgbot | Resolution | open => fixed |
2015-04-17 13:49 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/devel/pi/rev/bdd9223578a2fd2db570735e42fd7202760a7ee4 [^] |
2015-04-17 13:52 | caristu | Assigned To | alostale => caristu |
2015-04-17 13:52 | caristu | Review Assigned To | => alostale |
2015-04-27 08:42 | alostale | Relationship added | related to 0025630 |
2015-04-27 08:42 | alostale | Note Added: 0076767 | |
2015-04-27 08:42 | alostale | Status | resolved => closed |
2015-04-27 08:42 | alostale | Fixed in Version | => 3.0PR15Q3 |
2015-05-07 22:16 | hudsonbot | Checkin | |
2015-05-07 22:16 | hudsonbot | Note Added: 0077135 |
Copyright © 2000 - 2009 MantisBT Group |