Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 313401 - shared-cache-mode defaults to NONE when the element value is unrecognized
Summary: shared-cache-mode defaults to NONE when the element value is unrecognized
Status: RESOLVED FIXED
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: Eclipselink (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Nobody - feel free to take it CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-05-18 13:18 EDT by Gordon Yorke CLA
Modified: 2022-06-09 10:34 EDT (History)
3 users (show)

See Also:


Attachments
Proposed changes - 2.0.3 stream (18.68 KB, patch)
2010-06-09 12:52 EDT, Guy Pelletier CLA
no flags Details | Diff
Proposed changes - 2.2 stream (18.70 KB, patch)
2010-06-09 13:00 EDT, Guy Pelletier CLA
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Gordon Yorke CLA 2010-05-18 13:18:12 EDT
When a user specifies an element value in shared-cache-mode other than, NONE,ALL, ENABLE_SELECTIVE, DISABLE_SELECTIVE EclipseLink defaults to NONE.  The default in EclipseLink should always be DISABLE_SELECTIVE.  If the user specifies an unknown value we should raise a validation exception notifying the user it is an unrecognized value.
Comment 1 Tom Ware CLA 2010-06-07 14:25:08 EDT
Setting target and priority.  See the following page for details of the meanings of these fields:

http://wiki.eclipse.org/EclipseLink/Development/Bugs/Guidelines
Comment 2 Guy Pelletier CLA 2010-06-09 12:52:42 EDT
Created attachment 171550 [details]
Proposed changes - 2.0.3 stream
Comment 3 Guy Pelletier CLA 2010-06-09 13:00:49 EDT
Created attachment 171552 [details]
Proposed changes - 2.2 stream

This patch to be applied to 2.1.1 stream when it opens.
Comment 4 Guy Pelletier CLA 2010-06-09 14:14:05 EDT
Changes submitted to the 2.0.3 and 2.2 stream. Once the 2.1.1 stream opens I will check in there as well.

Reviewed by: Gordon Yorke

Tests: New test (testCachingOnUNSPECIFIED) added to the CacheableModelJunitTest
Comment 5 Guy Pelletier CLA 2010-06-23 13:27:28 EDT
Changes have now been submitted to the 2.1.1 stream
Comment 6 Eclipse Webmaster CLA 2022-06-09 10:34:40 EDT
The Eclipselink project has moved to Github: https://github.com/eclipse-ee4j/eclipselink