Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
ID | ||||||||
0018957 | ||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
defect | [Openbravo ERP] A. Platform | major | sometimes | 2011-11-02 14:02 | 2011-11-04 13:58 | |||
Reporter | malsasua | View Status | public | |||||
Assigned To | alostale | |||||||
Priority | immediate | Resolution | fixed | Fixed in Version | 3.0MP5 | |||
Status | closed | Fix in branch | Fixed in SCM revision | a5c64b5081f5 | ||||
Projection | none | ETA | none | Target Version | ||||
OS | Linux 32 bit | Database | PostgreSQL | Java version | 1.6.0_18 | |||
OS Version | Community Appliance | Database version | 8.3.9 | Ant version | 1.7.1 | |||
Product Version | SCM revision | |||||||
Merge Request Status | ||||||||
Review Assigned To | ||||||||
OBNetwork customer | OBPS | |||||||
Web browser | Google Chrome | |||||||
Modules | Core | |||||||
Support ticket | ||||||||
Regression level | ||||||||
Regression date | ||||||||
Regression introduced in release | ||||||||
Regression introduced by commit | ||||||||
Triggers an Emergency Pack | No | |||||||
Summary | 0018957: in form mode, a field is not loaded | |||||||
Description | When you access in form mode to window, there is a field that it is not loaded. When you exit of this record, the field is saved with blank. FIC is responding correctly, but in processColumnValue in non-mandatory selectors, when the new value does not exist already in the field.valueMap, it is correctly added but not displayed. | |||||||
Steps To Reproduce | -Install attached module (which adds a new non-madatory BP selector on Sales Order window). -Add a big amount ob BPs (attached sql can be used) -In Sales Order grid mode edit new field setting different BPs (specially ones with a high name alphabetically). -Log out-log in -Open in form view these edited records -> note assigned BP in new field disappears. ------ in OB@OB environment, . window Service Contract .field "end partner client" open in form mode. then close record | |||||||
Tags | No tags attached. | |||||||
Attached Files | ![]() ![]() | |||||||
![]() |
|
![]() |
|
(0042468) hgbot (developer) 2011-11-02 18:12 |
Repository: erp/devel/pi Changeset: 235f0b65a05907e71a28e2d81c1bd00c90b849c0 Author: Asier Lostalé <asier.lostale <at> openbravo.com> Date: Wed Nov 02 18:11:17 2011 +0100 URL: http://code.openbravo.com/erp/devel/pi/rev/235f0b65a05907e71a28e2d81c1bd00c90b849c0 [^] fixed bug 18957: non-madatory selector fields not loaded Non-mandatory selector fields are sometimes not loaded in form view --- M modules/org.openbravo.client.application/web/org.openbravo.client.application/js/form/ob-view-form.js --- |
(0042474) hgbot (developer) 2011-11-03 09:47 |
Repository: erp/devel/pi Changeset: 98c34f99775f9c47840501015dd8c9bbc492e00c Author: Asier Lostalé <asier.lostale <at> openbravo.com> Date: Thu Nov 03 09:47:30 2011 +0100 URL: http://code.openbravo.com/erp/devel/pi/rev/98c34f99775f9c47840501015dd8c9bbc492e00c [^] fixed bug 18957: Different implementation Do not use setValue, but setElementValue which applies only to fields with mapValue --- M modules/org.openbravo.client.application/web/org.openbravo.client.application/js/form/ob-view-form.js --- |
(0042475) alostale (viewer) 2011-11-03 09:52 |
It seems it is not caused by non-mandatory selectors, but by having more than one selector of the same type in the same tab. select w.name, t.name, f.name from ad_column c, ad_field f, ad_tab t, ad_window w, ad_menu m where ad_reference_id = '30' and ad_reference_value_id is not null and c.isactive ='Y' and f.isactive='Y' and f.isdisplayed='Y' and t.isactive='Y' and w.isactive='Y' and m.isactive='Y' and c.ad_column_id = f.ad_column_id and f.ad_tab_id = t.ad_tab_id and w.ad_window_id = t.ad_window_id and m.ad_window_id = w.ad_window_id and exists (select 1 from obuisel_selector s where s.ad_reference_id = c.ad_reference_value_id) and exists (select 1 from ad_column c2, ad_field f2 where c2.ad_table_id = c.ad_table_id and c.ad_column_id != c2.ad_column_id and c.ad_reference_value_id = c2.ad_reference_value_id and f2.ad_column_id = c2.ad_column_id and c2.isactive='Y' and f2.ad_tab_id = f.ad_tab_id and f2.isactive='Y' and f2.isdisplayed='Y') order by 1,2,3; |
(0042476) hgbot (developer) 2011-11-03 10:51 |
Repository: erp/devel/pi Changeset: a5c64b5081f52c218d53619eb96f39343494b23c Author: Asier Lostalé <asier.lostale <at> openbravo.com> Date: Thu Nov 03 10:51:13 2011 +0100 URL: http://code.openbravo.com/erp/devel/pi/rev/a5c64b5081f52c218d53619eb96f39343494b23c [^] fixed bug 18957: forcing setElementValue just in case of no change --- M modules/org.openbravo.client.application/web/org.openbravo.client.application/js/form/ob-view-form.js --- |
(0042517) mtaal (viewer) 2011-11-04 06:29 |
Works |
(0042621) hudsonbot (viewer) 2011-11-04 13:58 |
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/d10da320df2a [^] Maturity status: Test |
(0042622) hudsonbot (viewer) 2011-11-04 13:58 |
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/d10da320df2a [^] Maturity status: Test |
(0042623) hudsonbot (viewer) 2011-11-04 13:58 |
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/d10da320df2a [^] Maturity status: Test |
![]() |
|||
Date Modified | Username | Field | Change |
2011-11-02 14:02 | malsasua | New Issue | |
2011-11-02 14:02 | malsasua | Assigned To | => alostale |
2011-11-02 14:02 | malsasua | Web browser | => Google Chrome |
2011-11-02 14:02 | malsasua | Modules | => Core |
2011-11-02 14:02 | malsasua | OBNetwork customer | => Yes |
2011-11-02 14:05 | malsasua | Issue Monitored: networkb | |
2011-11-02 17:55 | alostale | File Added: create-bps.sql | |
2011-11-02 17:56 | alostale | File Added: org.openbravo.issue18957-0.0.0.obx | |
2011-11-02 18:02 | alostale | Web browser | Google Chrome => Google Chrome |
2011-11-02 18:02 | alostale | Description Updated | View Revisions |
2011-11-02 18:02 | alostale | Steps to Reproduce Updated | View Revisions |
2011-11-02 18:12 | hgbot | Checkin | |
2011-11-02 18:12 | hgbot | Note Added: 0042468 | |
2011-11-02 18:12 | hgbot | Status | new => resolved |
2011-11-02 18:12 | hgbot | Resolution | open => fixed |
2011-11-02 18:12 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/devel/pi/rev/235f0b65a05907e71a28e2d81c1bd00c90b849c0 [^] |
2011-11-03 09:47 | hgbot | Checkin | |
2011-11-03 09:47 | hgbot | Note Added: 0042474 | |
2011-11-03 09:47 | hgbot | Fixed in SCM revision | http://code.openbravo.com/erp/devel/pi/rev/235f0b65a05907e71a28e2d81c1bd00c90b849c0 [^] => http://code.openbravo.com/erp/devel/pi/rev/98c34f99775f9c47840501015dd8c9bbc492e00c [^] |
2011-11-03 09:52 | alostale | Note Added: 0042475 | |
2011-11-03 10:51 | hgbot | Checkin | |
2011-11-03 10:51 | hgbot | Note Added: 0042476 | |
2011-11-03 10:51 | hgbot | Fixed in SCM revision | http://code.openbravo.com/erp/devel/pi/rev/98c34f99775f9c47840501015dd8c9bbc492e00c [^] => http://code.openbravo.com/erp/devel/pi/rev/a5c64b5081f52c218d53619eb96f39343494b23c [^] |
2011-11-04 06:29 | mtaal | Note Added: 0042517 | |
2011-11-04 06:29 | mtaal | Status | resolved => closed |
2011-11-04 06:29 | mtaal | Fixed in Version | => 3.0MP5 |
2011-11-04 13:58 | hudsonbot | Checkin | |
2011-11-04 13:58 | hudsonbot | Note Added: 0042621 | |
2011-11-04 13:58 | hudsonbot | Checkin | |
2011-11-04 13:58 | hudsonbot | Note Added: 0042622 | |
2011-11-04 13:58 | hudsonbot | Checkin | |
2011-11-04 13:58 | hudsonbot | Note Added: 0042623 |
Copyright © 2000 - 2009 MantisBT Group |