Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 360169 - EMFStore client ignores resourceSplitting option
Summary: EMFStore client ignores resourceSplitting option
Status: CLOSED DUPLICATE of bug 357144
Alias: None
Product: EMFStore
Classification: Modeling
Component: Clientcore (show other bugs)
Version: unspecified   Edit
Hardware: All All
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-10-06 17:00 EDT by Nikolay Kasyanov CLA
Modified: 2011-10-06 17:06 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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 ***