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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0022212
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Openbravo ERP] A. Platformmajorhave not tried2012-11-05 19:332013-10-22 12:28
ReporternaiaramartinezView Statuspublic 
Assigned ToAugustoMauch 
PrioritynormalResolutionfixedFixed in Version
StatusclosedFix in branchFixed in SCM revision
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Review Assigned To
Web browser
ModulesCore
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0022212: The display logic doesn't work the first time

DescriptionDisplay logic doesn't work the first time.
Steps To ReproduceAs 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.

  

TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]
related to defect 0022438 closedAugustoMauch Button "Set project type" is no longer shown in window "Multiphase project" 

-  Notes
(0054053)
hgbot (developer)
2012-11-06 23:26

Repository: tools/automation/int
Changeset: 55b1fa9e723f49bec08d7fb903233a0c6b9ab666
Author: Pablo Lujan <pablo.lujan <at> openbravo.com>
Date: Tue Nov 06 13:32:05 2012 +0100
URL: http://code.openbravo.com/tools/automation/int/rev/55b1fa9e723f49bec08d7fb903233a0c6b9ab666 [^]

workaround for issue 22212. Adds a dummy Order item

---
M src-test/com/openbravo/test/integration/erp/modules/client/application/gui/FormInputFieldFactory.java
---
(0054054)
hgbot (developer)
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
---
(0057785)
AugustoMauch (manager)
2013-04-08 16:46

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.
(0061765)
adrianromero (manager)
2013-10-17 10:31
edited on: 2013-10-17 10:31

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.

(0061845)
adrianromero (manager)
2013-10-22 12:28

This issue is fixed with the same fix for the related issue https://issues.openbravo.com/view.php?id=22438 [^]

The change set that fixes this issue is https://code.openbravo.com/erp/devel/pi/rev/03ae6a2f5ea3114c42590cc63b50a0d8693886ee [^]

- 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-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 View Revisions
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


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker