Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 360169

Summary: EMFStore client ignores resourceSplitting option
Product: [Modeling] EMFStore Reporter: Nikolay Kasyanov <corrmage>
Component: ClientcoreAssignee: Project Inbox <emfstore.clientcore-inbox>
Status: CLOSED DUPLICATE QA Contact:
Severity: normal    
Priority: P3    
Version: unspecified   
Target Milestone: ---   
Hardware: All   
OS: All   
Whiteboard:

Description Nikolay Kasyanov CLA 2011-10-06 17:00:02 EDT
Build Identifier: M20110909-1335

Problem is in the following code:
		if (resourceSplitting != null) {
			return true;
		}
		resourceSplitting = new Boolean(false);
		IConfigurationElement[] rawExtensions = Platform.getExtensionRegistry().getConfigurationElementsFor(
			"org.eclipse.emf.emfstore.client.persistence.options");
		for (IConfigurationElement extension : rawExtensions) {
			resourceSplitting = new Boolean(extension.getAttribute("enabled"));
		}
		return resourceSplitting.booleanValue();

if resourceSplitting is initialized with some value (from extension point or from default "false") "true" is always returned

Reproducible: Always

Steps to Reproduce:
1. Add extension with extension point org.eclipse.emf.emfstore.client.persistence.options, set to resourceSplitting to false
2. Use emfstore client
3. See that resource splitting isn't disabled
Comment 1 Nikolay Kasyanov CLA 2011-10-06 17:06:01 EDT
ooops, sorry for duplicate

*** This bug has been marked as a duplicate of bug 357144 ***