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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0020825
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Openbravo ERP] 09. Financial managementmajoralways2012-06-21 12:392012-07-28 01:23
ReportercaristuView Statuspublic 
Assigned Tomigueldejuana 
PriorityurgentResolutionfixedFixed in Version
StatusclosedFix in branchFixed in SCM revision435530c44bdb
ProjectionnoneETAnoneTarget Version3.0MP14
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product Version3.0MP11SCM revision 
Review Assigned To
Web browser
ModulesCore
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0020825: Buttons of the G/L Journal disappear

DescriptionNavigating from General Ledger Report to G/L Journal makes buttons of the G/L Journal disappear.
Steps To Reproduce1) Go to G/L Journal -> Create new
2) Go to Header -> Create new
3) Go to Lines -> Create new:
* Accounting combination = 1110
* Debit = 100
* Credit = 0
4) Create new line:
* Accounting combination = 1120
* Debit = 0
* Credit = 100
5) Press "Complete" process button (and complete)
6) Press "Post" process button

Close browser + Clean cache

7) Go to the General Ledger Report window and search with today dates. Click "Search button". Click the date link in "View Results" section.
8) In the General Ledger Journal, click in the "Journal Entry" link. This make us navigate to the G/L Journal, there are some cases that it navigates to Transanction (Financial Account child) or Purchase Invoice.
9) In the G/L Journal window, verify that the top-right buttons don't appear.
10) If you click the refresh button, the buttons now appear!
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]
related to defect 0021332 closedmtaal openDirectTab doesn't show process buttons if the opened tab is a child one 

-  Notes
(0050321)
ioritzCia (developer)
2012-07-02 16:25

It appears to be a problem when calling updateButtonState method. It is only reproducible at first time, I had to clean the cache to be able to reproduce it after the first times. The issue seems to be located inside updateButtonState method inside refreshCustomButtons method. When calculating hideAllButtons selectedRecordsSize() is 0 when it should be 1.
(0050841)
dbaz (developer)
2012-07-25 17:22

Another easier way to reproduce the issue without following "Steps to reproduce" is just write this into the console:

OB.Utilities.openDirectTab('160', '65EA9560EEBF40CFB6BDE9677A9C7A5A');

Note that since the issue behavior is quite random (even following "Steps to reproduce") sometimes you will see the buttons but sometimes you won't.

In order to close the issue (once it be resolved), do it followind "Steps to reproduce"
(0050950)
hgbot (developer)
2012-07-27 15:12

Repository: erp/devel/pi
Changeset: 435530c44bdbd840a4d4ffb2fa4569aade61e28d
Author: Miguel de Juana <miguel.dejuana <at> openbravo.com>
Date: Fri Jul 27 15:11:44 2012 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/435530c44bdbd840a4d4ffb2fa4569aade61e28d [^]

Fixed issue 20825: Now right top buttons are displayed in the issue case.
With this fix we resolver this corner case, but it should be analyzed the excessive calls to updateButtonState.

---
M modules/org.openbravo.client.application/web/org.openbravo.client.application/js/toolbar/ob-toolbar.js
---
(0050953)
caristu (developer)
2012-07-27 15:38

Verified
(0050965)
hudsonbot (developer)
2012-07-28 01:23

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

Maturity status: Test

- Issue History
Date Modified Username Field Change
2012-06-21 12:39 caristu New Issue
2012-06-21 12:39 caristu Assigned To => mirurita
2012-06-21 12:39 caristu Modules => Core
2012-06-21 12:39 caristu Resolution time => 1342044000
2012-06-21 12:41 caristu Issue Monitored: networkb
2012-06-21 17:46 mirurita Assigned To mirurita => jonalegriaesarte
2012-06-25 13:21 jonalegriaesarte Assigned To jonalegriaesarte => ioritzCia
2012-07-02 16:25 ioritzCia Assigned To ioritzCia => alostale
2012-07-02 16:25 ioritzCia Note Added: 0050321
2012-07-20 12:55 AugustoMauch Assigned To alostale => migueldejuana
2012-07-25 13:45 dbaz Steps to Reproduce Updated View Revisions
2012-07-25 17:22 dbaz Note Added: 0050841
2012-07-27 15:05 migueldejuana Steps to Reproduce Updated View Revisions
2012-07-27 15:12 hgbot Checkin
2012-07-27 15:12 hgbot Note Added: 0050950
2012-07-27 15:12 hgbot Status new => resolved
2012-07-27 15:12 hgbot Resolution open => fixed
2012-07-27 15:12 hgbot Fixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/435530c44bdbd840a4d4ffb2fa4569aade61e28d [^]
2012-07-27 15:38 caristu Note Added: 0050953
2012-07-27 15:38 caristu Status resolved => closed
2012-07-28 01:23 hudsonbot Checkin
2012-07-28 01:23 hudsonbot Note Added: 0050965
2012-08-08 18:24 dbaz Relationship added related to 0021332


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker