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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0018555
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Openbravo ERP] A. Platformmajoralways2011-09-19 13:212011-10-12 01:59
ReporterjecharriView Statuspublic 
Assigned Tomarvintm 
PriorityurgentResolutionfixedFixed in Version3.0MP4
StatusclosedFix in branchFixed in SCM revisionb682658595ef
ProjectionnoneETAnoneTarget Version3.0MP4
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionpiSCM revision 
Review Assigned To
Web browserGoogle Chrome
ModulesCore
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0018555: There are problems with buttons with displaylogic activated

DescriptionWhen you have one button defined in a tab and it has a display logic, it is not working properly, because you have to click 2 times to see the button
Steps To ReproduceAs System go to Window,tabs and fields
Find the financial account window
Choose it and now go to tabs tab and select Transaction tab.
After that, you can see the fields of the tab Transaction.
Choose the field with Delete name and put in the Display logic the next expresion: @Paymentamt@>50
Save it
As admin:
Go to Financial Account/transaction and choose one record with "Withdrawal Amount" higher than 50.
You will see that you have to click twice if you want to see the delete button
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]

-  Notes
(0041295)
hgbot (developer)
2011-09-26 19:16

Repository: erp/devel/pi
Changeset: b682658595ef7613bec08b22fac8dc5bacef2b50
Author: Antonio Moreno <antonio.moreno <at> openbravo.com>
Date: Mon Sep 26 19:14:02 2011 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/b682658595ef7613bec08b22fac8dc5bacef2b50 [^]

Fixed issue 18555. Display logic will work correctly for Process buttons.
The currentValues variable had been globally initialized and its value wasn't in sync with the buttons of the context. This meant that the displayLogic was evaluated using the values of the header tab, so the relevant value was null, and the display logic sometimes returned false. This did not always happened, it happened only with the FIC-related call. This explains why it worked the second time the user tried.

---
M modules/org.openbravo.client.application/web/org.openbravo.client.application/js/toolbar/ob-toolbar.js
---
(0041426)
jecharri (developer)
2011-09-30 14:20

Tested
(0041710)
hudsonbot (developer)
2011-10-12 01:59

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/9bd2b5c2d982 [^]

Maturity status: Test

- Issue History
Date Modified Username Field Change
2011-09-19 13:21 jecharri New Issue
2011-09-19 13:21 jecharri Assigned To => jonalegriaesarte
2011-09-19 13:21 jecharri Web browser => Google Chrome
2011-09-19 13:21 jecharri Modules => Core
2011-09-19 13:21 jecharri Resolution time => 1320015600
2011-09-19 13:21 jecharri Web browser Google Chrome => Google Chrome
2011-09-19 13:21 jecharri Category 09. Financial management => A. Platform
2011-09-21 11:15 jonalegriaesarte Assigned To jonalegriaesarte => marvintm
2011-09-26 19:16 hgbot Checkin
2011-09-26 19:16 hgbot Note Added: 0041295
2011-09-26 19:16 hgbot Status new => resolved
2011-09-26 19:16 hgbot Resolution open => fixed
2011-09-26 19:16 hgbot Fixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/b682658595ef7613bec08b22fac8dc5bacef2b50 [^]
2011-09-30 14:20 jecharri Note Added: 0041426
2011-09-30 14:20 jecharri Status resolved => closed
2011-09-30 14:20 jecharri Fixed in Version => 3.0MP4
2011-10-12 01:59 hudsonbot Checkin
2011-10-12 01:59 hudsonbot Note Added: 0041710


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker