Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0023651Openbravo ERPA. Platformpublic2013-04-26 12:412013-07-28 11:36
marvintm 
AugustoMauch 
normaltrivialalways
closedfixed 
5
 
3.0MP26 
shankarb
Core
No
0023651: Message in StandardWindowComponent is not always correct
There is a check in StandardWindowComponent which checks whether the structure of the window definition is correct. This check is done at the end of the getRootTabComponent, and a message is shown in line 181 ("Window has more than on tab on level 0, choosing an arbitrary root tab")

The check itself is correct, but the message is not always right. The check will also fail if two tabs have the same sequence number, and different tab levels. It is fine that the check fails in this case, but the message shown there should not be the one shown (because this can also happen in a level different from 0, and the problem then is not that the tabs have the same level on level 0, but that they have the same sequence number).
- Install retail pack version RMP21 or earlier.
- Verify that the message is shown when going to the organization window. It is true that the definition of the window is incorrect, but the message itself is also not correct either.
No tags attached.
Issue History
2013-04-26 12:41marvintmNew Issue
2013-04-26 12:41marvintmAssigned To => AugustoMauch
2013-04-26 12:41marvintmModules => Core
2013-04-26 12:41marvintmTriggers an Emergency Pack => No
2013-07-26 08:21shankarbAssigned ToAugustoMauch => shankarb
2013-07-26 13:43AugustoMauchAssigned Toshankarb => AugustoMauch
2013-07-26 13:43AugustoMauchIssue Monitored: shankarb
2013-07-26 13:43AugustoMauchReview Assigned To => shankarb
2013-07-26 13:48hgbotCheckin
2013-07-26 13:48hgbotNote Added: 0060308
2013-07-26 13:48hgbotStatusnew => resolved
2013-07-26 13:48hgbotResolutionopen => fixed
2013-07-26 13:48hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/0b7bf7e1522c81b8ca68677b58e5df2c23815a04 [^]
2013-07-26 13:54AugustoMauchNote Added: 0060310
2013-07-28 03:09shankarbNote Added: 0060321
2013-07-28 03:09shankarbStatusresolved => closed
2013-07-28 03:09shankarbFixed in Version => 3.0MP26
2013-07-28 11:36hudsonbotCheckin
2013-07-28 11:36hudsonbotNote Added: 0060325

Notes
(0060308)
hgbot   
2013-07-26 13:48   
Repository: erp/devel/pi
Changeset: 0b7bf7e1522c81b8ca68677b58e5df2c23815a04
Author: Augusto Mauch <augusto.mauch <at> openbravo.com>
Date: Fri Jul 26 13:46:55 2013 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/0b7bf7e1522c81b8ca68677b58e5df2c23815a04 [^]

Fixes issue 23651: A proper warning message is shown in StandardWindowComponent

The same warning message was being shown in these cases:
- 2+ tabs with the same sequence number but different tab levels
- 2+ tabs with tab level 0

A new check has been added to tell these two cases apart and to show the proper warning message in each case.

---
M modules/org.openbravo.client.application/src/org/openbravo/client/application/window/StandardWindowComponent.java
---
(0060310)
AugustoMauch   
2013-07-26 13:54   
Test plan: Test that in these cases the proper warning is shown in the log
- Two tabs with tabLevel 0
- Two tabs with same sequence number but different tab level, the tab level of one of them is 0
- Two tabs with same sequence number but different tab level, the tab level of both of them is not 0
(0060321)
shankarb   
2013-07-28 03:09   
Code reviewed and verified in pi changeset f49b9428b38d
(0060325)
hudsonbot   
2013-07-28 11:36   
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/9d1d514c85e8 [^]

Maturity status: Test