Openbravo Issue Tracking System - Openbravo ERP |
| View Issue Details |
|
| ID | Project | Category | View Status | Date Submitted | Last Update |
| 0029934 | Openbravo ERP | A. Platform | public | 2015-05-19 19:26 | 2015-06-01 11:22 |
|
| Reporter | mtaal | |
| Assigned To | mtaal | |
| Priority | normal | Severity | minor | Reproducibility | have not tried |
| Status | closed | Resolution | fixed | |
| Platform | | OS | 5 | OS Version | |
| Product Version | | |
| Target Version | 3.0PR15Q3 | Fixed in Version | 3.0PR15Q3 | |
| Merge Request Status | |
| Review Assigned To | alostale |
| 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 | 0029934: Extend VariablesBase to internally store session values even if there is no session object |
| Description | The VariablesBase class has methods like this:
setSessionValue(String attribute, String value)
getSessionValue(String sessionAttribute)
These methods expect a HttpSession object to be present in the class. However the class has a constructor which does not set the local session member, leaves it null.
Calling setSessionValue or getSessionValue will then throw a NPE and log an error |
| Steps To Reproduce | Use VariablesBase without setting the session and calling setSessionValue |
| Proposed Solution | |
| Additional Information | |
| Tags | No tags attached. |
| Relationships | |
| Attached Files | |
|
| Issue History |
| Date Modified | Username | Field | Change |
| 2015-05-19 19:26 | mtaal | New Issue | |
| 2015-05-19 19:26 | mtaal | Assigned To | => mtaal |
| 2015-05-19 19:26 | mtaal | OBNetwork customer | => No |
| 2015-05-19 19:26 | mtaal | Modules | => Core |
| 2015-05-19 19:26 | mtaal | Triggers an Emergency Pack | => No |
| 2015-05-19 19:27 | mtaal | Review Assigned To | => alostale |
| 2015-05-26 21:23 | hgbot | Checkin | |
| 2015-05-26 21:23 | hgbot | Note Added: 0077769 | |
| 2015-05-26 21:23 | hgbot | Status | new => resolved |
| 2015-05-26 21:23 | hgbot | Resolution | open => fixed |
| 2015-05-26 21:23 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/devel/pi/rev/2d27df96c3467c653ca2bef2f205d00572804e0c [^] |
| 2015-05-27 15:38 | hudsonbot | Checkin | |
| 2015-05-27 15:38 | hudsonbot | Note Added: 0077811 | |
| 2015-06-01 11:22 | alostale | Note Added: 0077922 | |
| 2015-06-01 11:22 | alostale | Status | resolved => closed |
| 2015-06-01 11:22 | alostale | Fixed in Version | => 3.0PR15Q3 |