Openbravo Issue Tracking System - Openbravo ERP |
View Issue Details |
|
ID | Project | Category | View Status | Date Submitted | Last Update |
0018957 | Openbravo ERP | A. Platform | public | 2011-11-02 14:02 | 2011-11-04 13:58 |
|
Reporter | malsasua | |
Assigned To | alostale | |
Priority | immediate | Severity | major | Reproducibility | sometimes |
Status | closed | Resolution | fixed | |
Platform | | OS | 20 | OS Version | Community Appliance |
Product Version | | |
Target Version | | Fixed in Version | 3.0MP5 | |
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
|
Proposed Solution | |
Additional Information | |
Tags | No tags attached. |
Relationships | |
Attached Files | create-bps.sql (1,040) 2011-11-02 17:55 https://issues.openbravo.com/file_download.php?file_id=4700&type=bug
org.openbravo.issue18957-0.0.0.obx (2,237) 2011-11-02 17:56 https://issues.openbravo.com/file_download.php?file_id=4701&type=bug |
|
Issue History |
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 | bug_revision_view_page.php?rev_id=2866#r2866 |
2011-11-02 18:02 | alostale | Steps to Reproduce Updated | bug_revision_view_page.php?rev_id=2868#r2868 |
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 | |
Notes |
|
(0042468)
|
hgbot
|
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
|
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
---
|
|
|
|
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
|
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
|
2011-11-04 06:29
|
|
|
|
|
|
|
|
|
|
|
|