Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
ID | ||||||||
0025754 | ||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
defect | [Openbravo ERP] A. Platform | major | always | 2014-02-18 06:31 | 2014-03-25 19:47 | |||
Reporter | iperdomo | View Status | public | |||||
Assigned To | shankarb | |||||||
Priority | normal | Resolution | fixed | Fixed in Version | ||||
Status | closed | Fix in branch | Fixed in SCM revision | 8780b0463263 | ||||
Projection | none | ETA | none | Target Version | 3.0PR14Q2 | |||
OS | Linux 64 bit | Database | Oracle | Java version | 1.6.0_30 | |||
OS Version | Oracle Linux 3.8.13-26.1.1.el6ue | Database version | 11.2.0 (XE) | Ant version | 1.7.1 | |||
Product Version | 3.0MP29.1 | SCM revision | ||||||
Review Assigned To | AugustoMauch | |||||||
Web browser | Apple Safari, Google Chrome, Internet Explorer, Mozilla Firefox | |||||||
Modules | Core | |||||||
Regression level | ||||||||
Regression date | ||||||||
Regression introduced in release | ||||||||
Regression introduced by commit | ||||||||
Triggers an Emergency Pack | No | |||||||
Summary | 0025754: Wrong behavior when calculating the value of a property field for a new record (FIC) | |||||||
Description | When a child tab uses a field based on a property from a parent entity, the current behavior for calculating the value for the field on *NEW* record is wrong. | |||||||
Steps To Reproduce | * Add a new property based field to Lines tab on Sales Order window * The field will show the currency of the price list: order.priceList.currency * http://wiki.openbravo.com/wiki/How_to_use_property_fields [^] When testing: * Pick a organization with *no* default currency, or pick a price list with a different currency than the default for the organization * Create a new line, and you'll see that the currency field uses some default that is not the one selected in the header. Current behavior: * On 'NEW' mode, FIC will try to calculate a *default* value for that field, trying to pick a currency from the Organization or just the first one in the list of currencies, and *not* the actual value for the property in the header * If you save, you'll find that the value of the currency gets fixed to the one selected in the header | |||||||
Tags | No tags attached. | |||||||
Attached Files | property-field.png [^] (100,045 bytes) 2014-02-18 06:31
property-field2.png [^] (109,516 bytes) 2014-02-18 06:31 AD_FIELD.xml.diff [^] (3,021 bytes) 2014-02-18 06:31 [Show Content] | |||||||
Relationships [ Relation Graph ] [ Dependency Graph ] | |||||||||||||||||||||||||||||
|
Notes | |
(0064305) iperdomo (reporter) 2014-02-18 06:33 |
The issue can be easily reproduced by installing the examples module [1], and applying the attached AD_FIELD.xml.diff patch. [1] https://code.openbravo.com/erp/mods/org.openbravo.client.application.examples [^] |
(0065387) hgbot (developer) 2014-03-24 12:06 |
Repository: erp/devel/pi Changeset: 8780b04632631f7512582fcb3e6b74faf1a749de Author: Shankar Balachandran <shankar.balachandran <at> openbravo.com> Date: Mon Mar 24 16:33:35 2014 +0530 URL: http://code.openbravo.com/erp/devel/pi/rev/8780b04632631f7512582fcb3e6b74faf1a749de [^] Fixes Issue 0025754, Fixes Issue 25359: Property fields are evaluated on NEW request When a new record is created, property fields were not evaluated and default values were sent. Now the property fields are tried to be evaluated, if value is not found, null is returned. --- M modules/org.openbravo.client.application/src/org/openbravo/client/application/window/FormInitializationComponent.java --- |
(0065399) AugustoMauch (administrator) 2014-03-24 15:45 |
Code reviewed and verified in pi@8780b0463263 |
(0065445) hudsonbot (developer) 2014-03-25 19:47 |
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/05169b1f5a79 [^] Maturity status: Test |
Issue History | |||
Date Modified | Username | Field | Change |
2014-02-18 06:31 | iperdomo | New Issue | |
2014-02-18 06:31 | iperdomo | Assigned To | => AugustoMauch |
2014-02-18 06:31 | iperdomo | File Added: property-field.png | |
2014-02-18 06:31 | iperdomo | Web browser | => Apple Safari, Google Chrome, Internet Explorer, Mozilla Firefox |
2014-02-18 06:31 | iperdomo | Modules | => Core |
2014-02-18 06:31 | iperdomo | Triggers an Emergency Pack | => No |
2014-02-18 06:31 | iperdomo | File Added: property-field2.png | |
2014-02-18 06:31 | iperdomo | File Added: AD_FIELD.xml.diff | |
2014-02-18 06:33 | iperdomo | Note Added: 0064305 | |
2014-03-17 08:21 | alostale | Web browser | Apple Safari, Google Chrome, Internet Explorer, Mozilla Firefox => Apple Safari, Google Chrome, Internet Explorer, Mozilla Firefox |
2014-03-17 08:21 | alostale | Target Version | => PR14Q2 |
2014-03-17 09:25 | jonalegriaesarte | Web browser | Apple Safari, Google Chrome, Internet Explorer, Mozilla Firefox => Apple Safari, Google Chrome, Internet Explorer, Mozilla Firefox |
2014-03-17 09:25 | jonalegriaesarte | Resolution time | => 1395961200 |
2014-03-19 05:25 | shankarb | Assigned To | AugustoMauch => shankarb |
2014-03-24 08:13 | shankarb | Relationship added | related to 0025359 |
2014-03-24 08:26 | shankarb | Status | new => scheduled |
2014-03-24 08:26 | shankarb | fix_in_branch | => pi |
2014-03-24 12:04 | shankarb | Review Assigned To | => AugustoMauch |
2014-03-24 12:04 | shankarb | Web browser | Apple Safari, Google Chrome, Internet Explorer, Mozilla Firefox => Apple Safari, Google Chrome, Internet Explorer, Mozilla Firefox |
2014-03-24 12:04 | shankarb | fix_in_branch | pi => |
2014-03-24 12:05 | shankarb | Issue Monitored: AugustoMauch | |
2014-03-24 12:06 | hgbot | Checkin | |
2014-03-24 12:06 | hgbot | Note Added: 0065387 | |
2014-03-24 12:06 | hgbot | Status | scheduled => resolved |
2014-03-24 12:06 | hgbot | Resolution | open => fixed |
2014-03-24 12:06 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/devel/pi/rev/8780b04632631f7512582fcb3e6b74faf1a749de [^] |
2014-03-24 15:45 | AugustoMauch | Note Added: 0065399 | |
2014-03-24 15:45 | AugustoMauch | Status | resolved => closed |
2014-03-25 19:47 | hudsonbot | Checkin | |
2014-03-25 19:47 | hudsonbot | Note Added: 0065445 | |
2015-10-30 09:31 | caristu | Relationship added | related to 0031305 |
2015-11-13 08:48 | caristu | Relationship added | related to 0028977 |
2024-03-26 18:36 | caristu | Relationship added | related to 0055060 |
Copyright © 2000 - 2009 MantisBT Group |