Openbravo Issue Tracking System - Openbravo ERP |
View Issue Details |
|
ID | Project | Category | View Status | Date Submitted | Last Update |
0034536 | Openbravo ERP | A. Platform | public | 2016-11-15 16:24 | 2016-11-25 07:55 |
|
Reporter | caristu | |
Assigned To | caristu | |
Priority | high | Severity | minor | Reproducibility | always |
Status | closed | Resolution | fixed | |
Platform | | OS | 5 | OS Version | |
Product Version | | |
Target Version | | Fixed in Version | | |
Merge Request Status | |
Review Assigned To | alostale |
OBNetwork customer | |
Web browser | |
Modules | Core |
Support ticket | |
Regression level | |
Regression date | |
Regression introduced in release | |
Regression introduced by commit | |
Triggers an Emergency Pack | No |
|
Summary | 0034536: API change required to remove PreferenceEventHandler class |
Description | PreferenceEventHandler class was being used to detect changes on the preference values cached by the CachedPreference.
With issue 0034499 CachedPreference is no longer a singleton as we are declaring it as @SessionScoped. This way, the cached values will not persist along the life cycle of the application but the session.
As preferences are refreshed with every new session this handler is no longer required. Besides, the injection of the @SessionScoped bean in the handler was causing this error:
WELD-001303 No active contexts for scope type javax.enterprise.context.SessionScoped |
Steps To Reproduce | In description |
Proposed Solution | |
Additional Information | |
Tags | Approved |
Relationships | related to | defect | 0034499 | | closed | caristu | [clustering] CachedPreference feature is not supported on clustered environments | related to | defect | 0034514 | | closed | caristu | [clustering] CachedPreference should implement Serializable |
|
Attached Files | |
|
Issue History |
Date Modified | Username | Field | Change |
2016-11-15 16:24 | caristu | New Issue | |
2016-11-15 16:24 | caristu | Assigned To | => platform |
2016-11-15 16:24 | caristu | Modules | => Core |
2016-11-15 16:24 | caristu | Triggers an Emergency Pack | => No |
2016-11-15 16:24 | caristu | Assigned To | platform => caristu |
2016-11-15 16:24 | alostale | Tag Attached: Approved | |
2016-11-15 16:25 | caristu | Relationship added | related to 0034499 |
2016-11-15 16:26 | caristu | Relationship added | related to 0034514 |
2016-11-15 16:48 | caristu | Description Updated | bug_revision_view_page.php?rev_id=13755#r13755 |
2016-11-15 16:49 | caristu | Status | new => scheduled |
2016-11-15 17:46 | hgbot | Checkin | |
2016-11-15 17:46 | hgbot | Note Added: 0091580 | |
2016-11-15 17:46 | hgbot | Status | scheduled => resolved |
2016-11-15 17:46 | hgbot | Resolution | open => fixed |
2016-11-15 17:46 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/devel/api-checks/rev/968b119cdc1d99b92fd9781f88e19b84f0c3c9a8 [^] |
2016-11-15 17:46 | caristu | Review Assigned To | => alostale |
2016-11-25 07:55 | alostale | Status | resolved => closed |