Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0034514Openbravo ERPA. Platformpublic2016-11-15 09:372016-12-16 18:38
caristu 
caristu 
immediateminoralways
closedfixed 
5
 
3.0PR17Q1 
alostale
Core
Automated tests
2016-11-15
pi
https://code.openbravo.com/erp/devel/pi/rev/48248d89f4bae13423869c9969342943c7f97b1f [^]
No
0034514: [clustering] CachedPreference should implement Serializable
Issue 0034499 is declaring CachedPreference as @SessionScoped. This kind of beans should implement the Serializable interface in order to avoid the following error: "WELD-000072 Managed bean declaring a passivating scope must be passivation capable"

For more information see: http://stackoverflow.com/questions/9760442/java-errorweld-000072-managed-bean-declaring-a-passivating-scope-must-be-passiv/9760560#9760560 [^]
In description
clustering
caused by defect 0034499 closed caristu [clustering] CachedPreference feature is not supported on clustered environments 
related to defect 0034536 closed caristu API change required to remove PreferenceEventHandler class 
blocks design defect 0034490 acknowledged Triage Platform Base [clustering] Support clustering 
Issue History
2016-11-15 09:37caristuNew Issue
2016-11-15 09:37caristuAssigned To => caristu
2016-11-15 09:37caristuModules => Core
2016-11-15 09:37caristuTriggers an Emergency Pack => No
2016-11-15 09:37caristuRelationship addedcaused by 0034499
2016-11-15 09:42hgbotCheckin
2016-11-15 09:42hgbotNote Added: 0091532
2016-11-15 09:42hgbotStatusnew => resolved
2016-11-15 09:42hgbotResolutionopen => fixed
2016-11-15 09:42hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/5a622584168a29b7bd83c5fe2d7d28cc059b2ab7 [^]
2016-11-15 09:43caristuRegression level => Automated tests
2016-11-15 09:43caristuRegression date => 2016-11-15
2016-11-15 09:43caristuRegression introduced in release => pi
2016-11-15 09:43caristuRegression introduced by commit => https://code.openbravo.com/erp/devel/pi/rev/48248d89f4bae13423869c9969342943c7f97b1f [^]
2016-11-15 09:51hgbotCheckin
2016-11-15 09:51hgbotNote Added: 0091533
2016-11-15 09:58hgbotCheckin
2016-11-15 09:58hgbotNote Added: 0091534
2016-11-15 09:58caristuReview Assigned To => alostale
2016-11-15 10:01caristuSummaryCachedPreference should implement Serializable => [clustering] CachedPreference should implement Serializable
2016-11-15 10:07caristuRelationship addedrelated to 0034490
2016-11-15 10:07caristuRelationship deletedrelated to 0034490
2016-11-15 10:07caristuRelationship addedblocks 0034490
2016-11-15 10:21alostaleTag Attached: clustering
2016-11-15 16:26caristuRelationship addedrelated to 0034536
2016-11-25 07:57alostaleNote Added: 0091802
2016-11-25 07:57alostaleStatusresolved => closed
2016-11-25 07:57alostaleFixed in Version => 3.0PR17Q1
2016-12-16 18:38hudsonbotCheckin
2016-12-16 18:38hudsonbotNote Added: 0092623
2016-12-16 18:38hudsonbotCheckin
2016-12-16 18:38hudsonbotNote Added: 0092624
2016-12-16 18:38hudsonbotCheckin
2016-12-16 18:38hudsonbotNote Added: 0092625

Notes
(0091532)
hgbot   
2016-11-15 09:42   
Repository: erp/devel/pi
Changeset: 5a622584168a29b7bd83c5fe2d7d28cc059b2ab7
Author: Carlos Aristu <carlos.aristu <at> openbravo.com>
Date: Tue Nov 15 09:41:55 2016 +0100
URL: http://code.openbravo.com/erp/devel/pi/rev/5a622584168a29b7bd83c5fe2d7d28cc059b2ab7 [^]

fixes issue 34514: CachedPreference should implement Serializable

---
M modules/org.openbravo.client.application/src/org/openbravo/client/application/CachedPreference.java
---
(0091533)
hgbot   
2016-11-15 09:51   
Repository: erp/devel/pi
Changeset: ffe59c8ae31f333dbc00fc3eb2b2f816631c6046
Author: Carlos Aristu <carlos.aristu <at> openbravo.com>
Date: Tue Nov 15 09:50:43 2016 +0100
URL: http://code.openbravo.com/erp/devel/pi/rev/ffe59c8ae31f333dbc00fc3eb2b2f816631c6046 [^]

related to issue 34514: declare cachedPreference map as transient

By marking cachedPreference as transient we are preventing it to be transferred through the network as it will be lost intentionally when serialization converts the object state to serial bytes

---
M modules/org.openbravo.client.application/src/org/openbravo/client/application/CachedPreference.java
---
(0091534)
hgbot   
2016-11-15 09:58   
Repository: erp/devel/pi
Changeset: 4ed5406072b4d58fb183ad2b15a419f281f9af48
Author: Carlos Aristu <carlos.aristu <at> openbravo.com>
Date: Tue Nov 15 09:57:34 2016 +0100
URL: http://code.openbravo.com/erp/devel/pi/rev/4ed5406072b4d58fb183ad2b15a419f281f9af48 [^]

related to issue 34514: Prevent Null Pointer Exception

---
M modules/org.openbravo.client.application/src/org/openbravo/client/application/CachedPreference.java
---
(0091802)
alostale   
2016-11-25 07:57   
code reviewed
(0092623)
hudsonbot   
2016-12-16 18: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/dc8bf00badd0 [^]
Maturity status: Test
(0092624)
hudsonbot   
2016-12-16 18: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/dc8bf00badd0 [^]
Maturity status: Test
(0092625)
hudsonbot   
2016-12-16 18: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/dc8bf00badd0 [^]
Maturity status: Test