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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0034514
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Openbravo ERP] A. Platformminoralways2016-11-15 09:372016-12-16 18:38
ReportercaristuView Statuspublic 
Assigned Tocaristu 
PriorityimmediateResolutionfixedFixed in Version3.0PR17Q1
StatusclosedFix in branchFixed in SCM revision5a622584168a
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Review Assigned Toalostale
Web browser
ModulesCore
Regression levelAutomated tests
Regression date2016-11-15
Regression introduced in releasepi
Regression introduced by commithttps://code.openbravo.com/erp/devel/pi/rev/48248d89f4bae13423869c9969342943c7f97b1f [^]
Triggers an Emergency PackNo
Summary

0034514: [clustering] CachedPreference should implement Serializable

DescriptionIssue 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 [^]
Steps To ReproduceIn description
Tagsclustering
Attached Files

- Relationships Relation Graph ] Dependency Graph ]
caused by defect 0034499 closedcaristu [clustering] CachedPreference feature is not supported on clustered environments 
related to defect 0034536 closedcaristu API change required to remove PreferenceEventHandler class 
blocks design defect 0034490 acknowledgedTriage Platform Base [clustering] Support clustering 

-  Notes
(0091532)
hgbot (developer)
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 (developer)
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 (developer)
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 (manager)
2016-11-25 07:57

code reviewed
(0092623)
hudsonbot (developer)
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 (developer)
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 (developer)
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

- Issue History
Date Modified Username Field Change
2016-11-15 09:37 caristu New Issue
2016-11-15 09:37 caristu Assigned To => caristu
2016-11-15 09:37 caristu Modules => Core
2016-11-15 09:37 caristu Triggers an Emergency Pack => No
2016-11-15 09:37 caristu Relationship added caused by 0034499
2016-11-15 09:42 hgbot Checkin
2016-11-15 09:42 hgbot Note Added: 0091532
2016-11-15 09:42 hgbot Status new => resolved
2016-11-15 09:42 hgbot Resolution open => fixed
2016-11-15 09:42 hgbot Fixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/5a622584168a29b7bd83c5fe2d7d28cc059b2ab7 [^]
2016-11-15 09:43 caristu Regression level => Automated tests
2016-11-15 09:43 caristu Regression date => 2016-11-15
2016-11-15 09:43 caristu Regression introduced in release => pi
2016-11-15 09:43 caristu Regression introduced by commit => https://code.openbravo.com/erp/devel/pi/rev/48248d89f4bae13423869c9969342943c7f97b1f [^]
2016-11-15 09:51 hgbot Checkin
2016-11-15 09:51 hgbot Note Added: 0091533
2016-11-15 09:58 hgbot Checkin
2016-11-15 09:58 hgbot Note Added: 0091534
2016-11-15 09:58 caristu Review Assigned To => alostale
2016-11-15 10:01 caristu Summary CachedPreference should implement Serializable => [clustering] CachedPreference should implement Serializable
2016-11-15 10:07 caristu Relationship added related to 0034490
2016-11-15 10:07 caristu Relationship deleted related to 0034490
2016-11-15 10:07 caristu Relationship added blocks 0034490
2016-11-15 10:21 alostale Tag Attached: clustering
2016-11-15 16:26 caristu Relationship added related to 0034536
2016-11-25 07:57 alostale Note Added: 0091802
2016-11-25 07:57 alostale Status resolved => closed
2016-11-25 07:57 alostale Fixed in Version => 3.0PR17Q1
2016-12-16 18:38 hudsonbot Checkin
2016-12-16 18:38 hudsonbot Note Added: 0092623
2016-12-16 18:38 hudsonbot Checkin
2016-12-16 18:38 hudsonbot Note Added: 0092624
2016-12-16 18:38 hudsonbot Checkin
2016-12-16 18:38 hudsonbot Note Added: 0092625


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker