Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0005083Openbravo ERPA. Platformpublic2008-09-17 16:562009-05-22 19:34
gorkaion 
iciordia 
lowtrivialN/A
acknowledgedopen 
5
 
 
Core
No
0005083: Merge advisePopUp and bdErrorGeneralPopUp methods
In 'org.openbravo.base.secureApp.HttpSecureAppServlet' class there are these 2 methods (lines 396 and 421) that could be merged into one.

They are used to open a popup window with just a message box. At this moment the main difference is that 'bdErrorGeneralPopUp' always uses the ERROR type messageBox whatever message is displayed, while in 'advisePopUp' you can set the type.

There is also another trivial difference in the html template where the bdErrorGeneralPopUp uses a window logo icon of error and the other method uses the info icon.

The other differences can be defined as bugs.

I think that the bdErrorGeneralPopUp is not necessary and we should use only the advisePopUp method. That way we can also remove the correspondent templates and only maintain one.
Clean-up, ReleaseCandidate
related to defect 0005085 closed Hennadzi Bad usage of advisePopUp 
Issue History
2008-09-17 16:56gorkaionNew Issue
2008-09-17 16:56gorkaionAssigned To => cromero
2008-09-17 16:56gorkaionsf_bug_id0 => 2116308
2008-09-17 16:56gorkaionRegression testing => No
2008-09-17 17:58rafarodaRelationship addedrelated to 0005085
2008-11-10 13:10cromeroAssigned Tocromero => pjuvara
2008-11-16 21:53pjuvaraTag Attached: Clean-up
2008-11-16 21:53pjuvaraTag Attached: ReleaseCandidate
2008-11-16 21:53pjuvaraStatusnew => acknowledged
2009-05-22 19:34pjuvaraAssigned Topjuvara => iciordia

There are no notes attached to this issue.