| Summary: | EMFStore client ignores resourceSplitting option | ||
|---|---|---|---|
| Product: | [Modeling] EMFStore | Reporter: | Nikolay Kasyanov <corrmage> |
| Component: | Clientcore | Assignee: | Project Inbox <emfstore.clientcore-inbox> |
| Status: | CLOSED DUPLICATE | QA Contact: | |
| Severity: | normal | ||
| Priority: | P3 | ||
| Version: | unspecified | ||
| Target Milestone: | --- | ||
| Hardware: | All | ||
| OS: | All | ||
| Whiteboard: | |||
ooops, sorry for duplicate *** This bug has been marked as a duplicate of bug 357144 *** |
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