Anonymous | Login
Project:
RSS
  
News | My View | View Issues | Roadmap | Summary

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0029373
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Openbravo ERP] A. Platformmajoralways2015-03-23 13:362015-05-07 22:16
ReportercaristuView Statuspublic 
Assigned Tocaristu 
PriorityurgentResolutionfixedFixed in Version3.0PR15Q3
StatusclosedFix in branchFixed in SCM revisionbdd9223578a2
ProjectionnoneETAnoneTarget Version3.0PR15Q3
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Review Assigned Toalostale
Web browser
ModulesCore
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0029373: Field values can be overwritten by property field values in form view under some circumnstances

DescriptionField 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 Reproduce1) 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 SolutionUse 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 [^]
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]
related to feature request 0026763 closedgorkaion Ability to launch reports from process definitions 
related to defect 0025630 closedAugustoMauch Reference list not retrieved correctly if there exists a property field in the window with a particular name 

-  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
Powered by Mantis Bugtracker