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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0019839
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Openbravo ERP] A. Platformmajoralways2012-02-22 12:292012-03-02 15:39
ReporteralostaleView Statuspublic 
Assigned ToAugustoMauch 
PriorityurgentResolutionfixedFixed in Versionpi
StatusclosedFix in branchFixed in SCM revisiond6522f4e28ae
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

0019839: Incorrect alert filter prevents login

DescriptionAn incorrect filter in an Alert Rule can cause the system to not allow to log in.

In this situation after entering user/password and error message is shown and loading screen is kept.
Steps To Reproduce-Select an Alert Rule with alert instances
-Change its filter clause to any sensless string
-Log in the application with a role which is part of this alert's assignees -> Error popup appears and loading screen doesn't disappear.
TagsNo tags attached.
Attached Filespng file icon Selection_033.png [^] (12,870 bytes) 2012-02-22 12:30

- Relationships Relation Graph ] Dependency Graph ]

-  Notes
(0045387)
AugustoMauch (manager)
2012-02-22 19:03

When an alert rule with an invalid filter was processed, the exception that was thrown was not being caught.

The fix has consisted in adding a try/catch block to capture this exception, adding a message to the login when that happens.
(0045388)
AugustoMauch (manager)
2012-02-22 19:04

Test plan:
- Follow the steps described in the steps to reproduce section.
- The login process should complete successfully, and and error should be displayed in the log.

This fix is not risky.
(0045389)
hgbot (developer)
2012-02-22 19:14

Repository: erp/devel/pi
Changeset: d6522f4e28aea055ea2bf508f91e2667832a1f89
Author: Augusto Mauch <augusto.mauch <at> openbravo.com>
Date: Wed Feb 22 19:12:30 2012 +0100
URL: http://code.openbravo.com/erp/devel/pi/rev/d6522f4e28aea055ea2bf508f91e2667832a1f89 [^]

Fixes issue 19839: The Exception is now being caught

---
M modules/org.openbravo.client.application/src/org/openbravo/client/application/AlertActionHandler.java
---
(0045420)
hgbot (developer)
2012-02-23 17:53

Repository: erp/devel/pi
Changeset: 4940d1f96b76a27cce4a075ded01099d9e6b3a51
Author: Augusto Mauch <augusto.mauch <at> openbravo.com>
Date: Thu Feb 23 17:49:31 2012 +0100
URL: http://code.openbravo.com/erp/devel/pi/rev/4940d1f96b76a27cce4a075ded01099d9e6b3a51 [^]

Related to issue 19839: Adds exception handling in the Alert window

---
M modules/org.openbravo.client.application/src/org/openbravo/client/application/AlertManagementActionHandler.java
---
(0045426)
guilleaer (developer)
2012-02-23 20:17

code review and tested on pi@4940d1f96b76
(0045930)
hudsonbot (developer)
2012-03-02 15:38

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

Maturity status: Test
(0045946)
hudsonbot (developer)
2012-03-02 15:39

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

Maturity status: Test

- Issue History
Date Modified Username Field Change
2012-02-22 12:29 alostale New Issue
2012-02-22 12:29 alostale Assigned To => alostale
2012-02-22 12:29 alostale Modules => Core
2012-02-22 12:30 alostale File Added: Selection_033.png
2012-02-22 12:30 alostale Assigned To alostale => AugustoMauch
2012-02-22 12:36 shuehner Issue Monitored: shuehner
2012-02-22 19:03 AugustoMauch Note Added: 0045387
2012-02-22 19:04 AugustoMauch Note Added: 0045388
2012-02-22 19:14 hgbot Checkin
2012-02-22 19:14 hgbot Note Added: 0045389
2012-02-22 19:14 hgbot Status new => resolved
2012-02-22 19:14 hgbot Resolution open => fixed
2012-02-22 19:14 hgbot Fixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/d6522f4e28aea055ea2bf508f91e2667832a1f89 [^]
2012-02-23 17:53 hgbot Checkin
2012-02-23 17:53 hgbot Note Added: 0045420
2012-02-23 20:17 guilleaer Note Added: 0045426
2012-02-23 20:17 guilleaer Status resolved => closed
2012-02-23 20:17 guilleaer Fixed in Version => pi
2012-03-02 15:38 hudsonbot Checkin
2012-03-02 15:38 hudsonbot Note Added: 0045930
2012-03-02 15:39 hudsonbot Checkin
2012-03-02 15:39 hudsonbot Note Added: 0045946


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker