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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0025630
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Openbravo ERP] A. Platformmajoralways2014-01-31 15:302014-12-17 18:23
ReportercaristuView Statuspublic 
Assigned ToAugustoMauch 
PriorityimmediateResolutionfixedFixed in Version3.0PR14Q2
StatusclosedFix in branchFixed in SCM revision407f2d03251e
ProjectionnoneETAnoneTarget Version
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

0025630: Reference list not retrieved correctly if there exists a property field in the window with a particular name

DescriptionIf we have a field that references a column that uses a list reference, and the name of this column is the same as another column referenced by a property field in the same window, then the first field reference list is not retrieve correctly. It uses the list of the property field.
Steps To Reproduce1) Create a new column for the sales order window.
2) Create a new reference whose parent reference be List (List 1) and assign to the column created in step 1)
3) Create a new column with the same name for the business partner window.
4) Create a new reference whose parent reference be List (List 1) and assign to the column created in step 2)
5) Create a new field in the [Sales Order] window for the column created in step 1)
6) Create a new field in the [Business Partner] window for the column created in step 2)
7) Ant compile.complete
8) Restart tomcat
9) Go to the [Sales Order] window and notice that new field is showing the correct list of values (List 1)
10) Create a new property field in the [Sales Order] window, which uses the property businessPartner.newColumn
11) Recompile and restart tomcat again
12) Go to the [Sales Order] window and notice that new field is not showing the correct list of values (List 2)
TagsNo tags attached.
Attached Filesdiff file icon test25630.diff [^] (17,764 bytes) 2014-02-05 17:19 [Show Content]

- Relationships Relation Graph ] Dependency Graph ]
related to defect 00284383.0PR15Q2 closedalostale Property fields cannot be included in validations 
related to defect 0025701 closedAugustoMauch FIC response causes an error when open in edit view payment details tab 
related to defect 00293733.0PR15Q3 closedcaristu Field values can be overwritten by property field values in form view under some circumnstances 

-  Notes
(0063938)
hgbot (developer)
2014-02-05 17:21

Repository: erp/devel/pi
Changeset: 407f2d03251e91488d2a096482ef6d27a7eb6105
Author: Augusto Mauch <augusto.mauch <at> openbravo.com>
Date: Wed Feb 05 17:19:02 2014 +0100
URL: http://code.openbravo.com/erp/devel/pi/rev/407f2d03251e91488d2a096482ef6d27a7eb6105 [^]

Fixes issue 25630: Fixes Column name and inp column name of property fields

The inp column name of the property fields was obtained in the same way as the other standard fields. If a tab had two fields, one being a standard field based
 on a column name i.e. myColumn, and another property field called i.e. businessPartner.myColumn, then when the combos were calculated one of them would be ove
rwritten by the other.

---
M modules/org.openbravo.client.application/src/org/openbravo/client/application/window/FormInitializationComponent.java
M modules/org.openbravo.client.application/src/org/openbravo/client/application/window/OBViewFieldHandler.java
M modules/org.openbravo.client.kernel/src/org/openbravo/client/kernel/reference/UIDefinition.java
---
(0063939)
AugustoMauch (manager)
2014-02-05 17:28

Apply attached patch test25630.diff. It adds the following:
- A new column and field (called YesNo) to the Business Partner header tab. The field is a Yes/No/Default list.
- A new column and field (called Week) to the Sales Order header tab. The field is a days of the week list.
- A new property field to the Sales Order header tab, that points to the new business partner list.

The two added columns have the same name.

Test plan:
a) Check that having conflicting names works now
1- Give a value to the field YesNo of a few business partners.
2- Open the sales order tab.
3- Check that the value of the YesNo field is properly shown
4- Check that the filters of the YesNo and Week fields show the proper values.
5- Create a new record, and fill the Week field and save. Check that the YesNo field is properly set.
6- Move to another record, and then selected the record you just created. Check that the values of the YesNo and Week fields are proper.

b) Check that having just one non-conflicting property field keeps working
1- Disable the Week field of the Sales Order header tab.
2- Repeat steps a)2 - a)6
(0064054)
hgbot (developer)
2014-02-11 15:26

Repository: erp/devel/pi
Changeset: 1b35c705383f01958939afbce8dc6f68167d9887
Author: Augusto Mauch <augusto.mauch <at> openbravo.com>
Date: Tue Feb 11 15:26:11 2014 +0100
URL: http://code.openbravo.com/erp/devel/pi/rev/1b35c705383f01958939afbce8dc6f68167d9887 [^]

Related to issue 25630: Updates copyright year

---
M modules/org.openbravo.client.application/src/org/openbravo/client/application/window/FormInitializationComponent.java
---
(0064168)
hudsonbot (developer)
2014-02-12 18:30

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/d1a5bb862230 [^]
Maturity status: Test
(0064185)
hudsonbot (developer)
2014-02-12 18:30

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/d1a5bb862230 [^]
Maturity status: Test
(0064308)
alostale (manager)
2014-02-18 08:02

Code reviewed + tested

- Issue History
Date Modified Username Field Change
2014-01-31 15:30 caristu New Issue
2014-01-31 15:30 caristu Assigned To => AugustoMauch
2014-01-31 15:30 caristu Modules => Core
2014-01-31 15:30 caristu Triggers an Emergency Pack => No
2014-01-31 15:30 caristu Issue Monitored: networkb
2014-01-31 15:30 caristu Steps to Reproduce Updated View Revisions
2014-02-05 17:19 AugustoMauch File Added: test25630.diff
2014-02-05 17:19 AugustoMauch Issue Monitored: alostale
2014-02-05 17:20 AugustoMauch Review Assigned To => alostale
2014-02-05 17:21 hgbot Checkin
2014-02-05 17:21 hgbot Note Added: 0063938
2014-02-05 17:21 hgbot Status new => resolved
2014-02-05 17:21 hgbot Resolution open => fixed
2014-02-05 17:21 hgbot Fixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/407f2d03251e91488d2a096482ef6d27a7eb6105 [^]
2014-02-05 17:28 AugustoMauch Note Added: 0063939
2014-02-11 15:23 AugustoMauch Relationship added related to 0025701
2014-02-11 15:26 hgbot Checkin
2014-02-11 15:26 hgbot Note Added: 0064054
2014-02-12 18:30 hudsonbot Checkin
2014-02-12 18:30 hudsonbot Note Added: 0064168
2014-02-12 18:30 hudsonbot Checkin
2014-02-12 18:30 hudsonbot Note Added: 0064185
2014-02-18 08:02 alostale Note Added: 0064308
2014-02-18 08:02 alostale Status resolved => closed
2014-02-18 08:02 alostale Fixed in Version => 3.0MP32
2014-12-17 18:23 alostale Relationship added related to 0028438
2015-04-27 08:42 alostale Relationship added related to 0029373


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker