Openbravo Issue Tracking System - Openbravo ERP | |||||
View Issue Details | |||||
ID | Project | Category | View Status | Date Submitted | Last Update |
0013924 | Openbravo ERP | A. Platform | public | 2010-07-08 14:05 | 2010-07-10 11:23 |
Reporter | shuehner | ||||
Assigned To | alostale | ||||
Priority | urgent | Severity | major | Reproducibility | have not tried |
Status | closed | Resolution | fixed | ||
Platform | OS | 5 | OS Version | ||
Product Version | pi | ||||
Target Version | Fixed in Version | ||||
Merge Request Status | |||||
Review Assigned To | |||||
OBNetwork customer | No | ||||
Web browser | |||||
Modules | Core | ||||
Support ticket | |||||
Regression level | |||||
Regression date | |||||
Regression introduced in release | |||||
Regression introduced by commit | |||||
Triggers an Emergency Pack | No | ||||
Summary | 0013924: Problem with preferences having empty value -> Can'T login | ||||
Description | Following situation: A module ship a row for ad_preferences for setting a startpage with some non-empty value and without any filter on user or role etc... Now i wanted to create a more specific preference for a specified user 'classic' with an empty value which should have higher priority. After doing this change i could not change role or login anymore because of some NPE happening. Error as logged during login process: 930160 [http-8080-6] ERROR org.openbravo.erpCommon.security.Menu - HTTPSecureAppServlet.service() - exception caught: java.lang.NullPointerException at org.openbravo.erpCommon.businessUtility.Preferences.isHigherPriority(Preferences.java:444) at org.openbravo.erpCommon.businessUtility.Preferences.getAllPreferences(Preferences.java:74) at org.openbravo.base.secureApp.LoginUtils.fillSessionArguments(LoginUtils.java:201) at org.openbravo.base.secureApp.HttpSecureAppServlet.service(HttpSecureAppServlet.java:311) at javax.servlet.http.HttpServlet.service(HttpServlet.java:717) | ||||
Steps To Reproduce | i.e. Install new layout modules (navigationbar) Create a new user called 'classic' assign it i.e. System Administrator role Create a new preference for entry startpage with no value which is restricted to Username: 'classic' Logout Try to login -> does not work, NPE in the log | ||||
Proposed Solution | |||||
Additional Information | |||||
Tags | No tags attached. | ||||
Relationships | |||||
Attached Files | |||||
Issue History | |||||
Date Modified | Username | Field | Change | ||
2010-07-08 14:05 | shuehner | New Issue | |||
2010-07-08 14:05 | shuehner | Assigned To | => alostale | ||
2010-07-08 14:05 | shuehner | OBNetwork customer | => No | ||
2010-07-08 14:43 | hgbot | Checkin | |||
2010-07-08 14:43 | hgbot | Note Added: 0029164 | |||
2010-07-08 14:43 | hgbot | Status | new => resolved | ||
2010-07-08 14:43 | hgbot | Resolution | open => fixed | ||
2010-07-08 14:43 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/devel/pi/rev/2fbed15478c0439b5b8065e23accfc20c5e2921f [^] | ||
2010-07-09 13:32 | shuehner | Note Added: 0029186 | |||
2010-07-09 13:32 | shuehner | Status | resolved => closed | ||
2010-07-10 00:00 | anonymous | sf_bug_id | 0 => 3027597 | ||
2010-07-10 11:23 | hudsonbot | Checkin | |||
2010-07-10 11:23 | hudsonbot | Note Added: 0029206 |
Notes | |||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|