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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0021313
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Openbravo ERP] A. Platformminorhave not tried2012-08-06 09:262012-08-22 12:59
ReporterAugustoMauchView Statuspublic 
Assigned ToAugustoMauch 
PrioritynormalResolutioninvalidFixed in Version
StatusclosedFix in branchpiFixed in SCM revision64bd1fa3cf1f
ProjectionnoneETAnoneTarget Version
OSLinux 64 bitDatabasePostgreSQLJava version1.6.0_18
OS VersionProfessional ApplianceDatabase version8.3.9Ant version1.7.1
Product VersionSCM revision 
Review Assigned ToAugustoMauch
Web browser
ModulesCore
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0021313: Wrong message shown in log after unsuccessful login

DescriptionIn the login window, if an invalid username and password pair are entered, the following message will appear in the log after pressing the Log In button:

[http-8080-3] ERROR org.openbravo.authentication.AuthenticationException - IDENTIFICATION_FAILURE_TITLE
org.openbravo.authentication.AuthenticationException: IDENTIFICATION_FAILURE_TITLE at org.openbravo.authentication.basic.DefaultAuthenticationManager.doAuthenticate(DefaultAuthenticationManager.java:95)

IDENTIFICATION_FAILURE_TITLE is the title of a message. Instead of showing the title, the text of the message should be shown.
Steps To Reproduce- Open Openbravo login window
- Enter an invalid username-password pair
- Push the Log In button
- Check the log
Proposed SolutionUse the Utility.messageBD method to show the message properly
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]

-  Notes
(0051144)
hgbot (developer)
2012-08-07 14:53

Repository: erp/devel/pi
Changeset: 64bd1fa3cf1fd7f414b0b7c986f3e6682ecd1ced
Author: Shankar Balachandran <shankar.balachandran <at> openbravo.com>
Date: Mon Aug 06 16:21:39 2012 +0530
URL: http://code.openbravo.com/erp/devel/pi/rev/64bd1fa3cf1fd7f414b0b7c986f3e6682ecd1ced [^]

Fixes issue 21313 : Wrong message shown in log after unsuccessful login

---
M src/org/openbravo/authentication/basic/DefaultAuthenticationManager.java
---
(0051145)
hgbot (developer)
2012-08-07 14:56

Repository: erp/devel/pi
Changeset: cac29d3b353eb7943e9d816ddfa5682dafea698d
Author: Augusto Mauch <augusto.mauch <at> openbravo.com>
Date: Tue Aug 07 14:56:07 2012 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/cac29d3b353eb7943e9d816ddfa5682dafea698d [^]

Related to issue 21313: Utility.messageBD used in some hardcoded messages

---
M src/org/openbravo/authentication/basic/DefaultAuthenticationManager.java
---
(0051284)
AugustoMauch (manager)
2012-08-14 14:19

Issue reopened to enter Closed by field
(0051464)
AugustoMauch (manager)
2012-08-22 12:53

Issue reopened because current fix makes impossible to translate the login authentication error messages
(0051465)
hgbot (developer)
2012-08-22 12:58

Repository: erp/devel/pi
Changeset: ebbe01a04123790304daa060253e91e395bdb1a2
Author: Augusto Mauch <augusto.mauch <at> openbravo.com>
Date: Wed Aug 22 12:57:26 2012 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/ebbe01a04123790304daa060253e91e395bdb1a2 [^]

Related to issue 21313: Backs out changesets

Changesets of iffue 21313 has been reverted because it made impossible to see in the login window the authentication error messages translated.

---
M src/org/openbravo/authentication/basic/DefaultAuthenticationManager.java
---
(0051466)
AugustoMauch (manager)
2012-08-22 12:59

It is not possible to see in the log the translated message, because it is a particular case in which at that point the content of the error is the message title, and not the message itself.

- Issue History
Date Modified Username Field Change
2012-08-06 09:26 AugustoMauch New Issue
2012-08-06 09:26 AugustoMauch Assigned To => AugustoMauch
2012-08-06 09:26 AugustoMauch Modules => Core
2012-08-07 14:53 hgbot Checkin
2012-08-07 14:53 hgbot Note Added: 0051144
2012-08-07 14:53 hgbot Status new => resolved
2012-08-07 14:53 hgbot Resolution open => fixed
2012-08-07 14:53 hgbot Fixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/64bd1fa3cf1fd7f414b0b7c986f3e6682ecd1ced [^]
2012-08-07 14:56 hgbot Checkin
2012-08-07 14:56 hgbot Note Added: 0051145
2012-08-14 14:19 AugustoMauch Note Added: 0051284
2012-08-14 14:19 AugustoMauch Status resolved => new
2012-08-14 14:19 AugustoMauch Resolution fixed => open
2012-08-14 14:19 AugustoMauch Closed by => marvintm
2012-08-14 14:20 AugustoMauch Status new => scheduled
2012-08-14 14:20 AugustoMauch fix_in_branch => pi
2012-08-14 14:20 AugustoMauch Status scheduled => resolved
2012-08-14 14:20 AugustoMauch Resolution open => fixed
2012-08-22 12:53 AugustoMauch Note Added: 0051464
2012-08-22 12:53 AugustoMauch Status resolved => new
2012-08-22 12:53 AugustoMauch Resolution fixed => open
2012-08-22 12:58 hgbot Checkin
2012-08-22 12:58 hgbot Note Added: 0051465
2012-08-22 12:59 AugustoMauch Closed by marvintm => AugustoMauch
2012-08-22 12:59 AugustoMauch Note Added: 0051466
2012-08-22 12:59 AugustoMauch Status new => closed
2012-08-22 12:59 AugustoMauch Resolution open => invalid


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker