Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MODE-1327 Corrected JPA Source's use of RepositorySourceCapabilities #236

Merged
merged 1 commit into from Dec 5, 2011

Conversation

rhauch
Copy link
Contributor

@rhauch rhauch commented Dec 5, 2011

There were two places where RepositorySourceCapabilities objects were being constructed to replace the existing instance. These were removed and replaced with calls to the capabilities.withCreatingWorkspaces(boolean) and capabilities.withUpdates(boolean) methods (which properly construct and return a new instance).

All unit and integration tests pass with these changes.

Note that these changes should be applied to the 'master' and '3.x' branches.

There were two places where 'RepositorySourceCapabilities' objects were being constructed to replace the existing instance. These were removed and replaced with calls to the 'capabilities.withCreatingWorkspaces(boolean)' and 'capabilities.withUpdates(boolean)' methods (which properly construct and return a new instance).

All unit and integration tests pass with these changes.

Note that these changes should be applied to the 'master' and '3.x' branches.
@rhauch rhauch merged commit 4e26967 into ModeShape:master Dec 5, 2011
@rhauch
Copy link
Contributor Author

rhauch commented Dec 5, 2011

Merged into the 'master' branch and cherry-picked into the '3.x' branch.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant