Openbravo Issue Tracking System - Openbravo ERP |
View Issue Details |
|
ID | Project | Category | View Status | Date Submitted | Last Update |
0022212 | Openbravo ERP | A. Platform | public | 2012-11-05 19:33 | 2013-10-22 12:28 |
|
Reporter | naiaramartinez | |
Assigned To | AugustoMauch | |
Priority | normal | Severity | major | Reproducibility | have not tried |
Status | closed | Resolution | fixed | |
Platform | | OS | 5 | OS Version | |
Product Version | | |
Target Version | | Fixed in Version | | |
Merge Request Status | |
Review Assigned To | |
OBNetwork customer | No |
Web browser | |
Modules | Core |
Support ticket | |
Regression level | |
Regression date | |
Regression introduced in release | |
Regression introduced by commit | |
Triggers an Emergency Pack | No |
|
Summary | 0022212: The display logic doesn't work the first time |
Description | Display logic doesn't work the first time. |
Steps To Reproduce | As System administrator:
Go to Windows, tab and fields window and select Sales Order window.
Go to fields tab and select organization field.
Add the following display logic: @SalesRep_ID@!''
As Openbravo Admin
Go to Sales Order window and press 'new record' button. Don't press Save button. Notice that Organization field is shown.
Change Sales Representative field. Select any sales representative and then select again 'null' sales representative. Notice that now you can't see organization field.
So, the first time is not working, you need to change sales representatives value, in order to be able to Show/hide organization field.
|
Proposed Solution | |
Additional Information | |
Tags | No tags attached. |
Relationships | related to | defect | 0022438 | | closed | AugustoMauch | Button "Set project type" is no longer shown in window "Multiphase project" |
|
Attached Files | |
|
Issue History |
Date Modified | Username | Field | Change |
2012-11-05 19:33 | naiaramartinez | New Issue | |
2012-11-05 19:33 | naiaramartinez | Assigned To | => AugustoMauch |
2012-11-05 19:33 | naiaramartinez | Modules | => Core |
2012-11-05 19:33 | naiaramartinez | OBNetwork customer | => No |
2012-11-06 12:55 | plujan | Issue Monitored: plujan | |
2012-11-06 23:26 | hgbot | Checkin | |
2012-11-06 23:26 | hgbot | Note Added: 0054053 | |
2012-11-06 23:26 | hgbot | Checkin | |
2012-11-06 23:26 | hgbot | Note Added: 0054054 | |
2013-04-08 16:46 | AugustoMauch | Note Added: 0057785 | |
2013-04-08 16:46 | AugustoMauch | Status | new => closed |
2013-04-08 16:46 | AugustoMauch | Resolution | open => unable to reproduce |
2013-10-17 10:31 | adrianromero | Note Added: 0061765 | |
2013-10-17 10:31 | adrianromero | Status | closed => new |
2013-10-17 10:31 | adrianromero | Resolution | unable to reproduce => open |
2013-10-17 10:31 | adrianromero | Note Edited: 0061765 | bug_revision_view_page.php?bugnote_id=0061765#r5122 |
2013-10-18 11:02 | AugustoMauch | Status | new => closed |
2013-10-18 11:02 | AugustoMauch | Resolution | open => fixed |
2013-10-22 12:27 | adrianromero | Relationship added | related to 0022438 |
2013-10-22 12:28 | adrianromero | Note Added: 0061845 | |
Notes |
|
(0054053)
|
hgbot
|
2012-11-06 23:26
|
|
|
|
(0054054)
|
hgbot
|
2012-11-06 23:26
|
|
Repository: tools/automation/int
Changeset: dc8f44254690a1622b7eacae59436341a048cc63
Author: Pablo Lujan <pablo.lujan <at> openbravo.com>
Date: Tue Nov 06 13:49:34 2012 +0100
URL: http://code.openbravo.com/tools/automation/int/rev/dc8f44254690a1622b7eacae59436341a048cc63 [^]
Related with previous fix for issue 22212. Makes the change simpler
---
M src-test/com/openbravo/test/integration/erp/modules/client/application/gui/FormInputFieldFactory.java
M src-test/com/openbravo/test/integration/erp/modules/client/application/gui/OBForm.java
---
|
|
|
|
This issue is no longer reproducible. After configuring the window as it is described in the steps to reproduce, the behaviour is the following:
- Open Sales Order window
- Click on Create New. The organization is not shown. This is correct, because by default there is no Sales Representative.
- Select a Sales Representative. The organization is shown. This is correct.
- Deselect the Sales Representative. The organization is hidden again. This is correct. |
|
|
|
This issue can be reproduced in a window that has around 250 fields. After debugging it a bit in the client side with Augusto it seems that the problem is a race condition between the evaluation of the FIC request and the evaluation of display logic in fields when the FIC request takes a lot of time and the application starts evaluating display logic in fields before receiving the FIC request.
|
|
|
|
|