Skip to content

Always check for references when running node:remove #110

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

Merged
merged 1 commit into from
Dec 21, 2014

Conversation

dantleech
Copy link
Member

  • Help prevent transaction failure when calling save
  • Also allow the removal of node by UUID

Fixes: #107

@dantleech dantleech force-pushed the remove-node-check-references branch from f751f70 to 436db04 Compare October 30, 2014 21:38
@dbu
Copy link
Member

dbu commented Oct 31, 2014

this could be a bit confusing. there are weak references that do not prevent deleting, and the jcr 1.0 references (we sometimes speak of "hard references"). this PR is only about hard references as far as i can tell - which is the correct thing.

i would refine the wording in the changelog and exception. and maybe add a test to show that leaving a dangling weak reference works.

@dantleech
Copy link
Member Author

good point, will update.

@dantleech dantleech modified the milestone: v1.0 Dec 8, 2014
@dantleech dantleech force-pushed the remove-node-check-references branch from 436db04 to 369abf6 Compare December 21, 2014 07:57
@dantleech
Copy link
Member Author

updatred.

@dantleech dantleech force-pushed the remove-node-check-references branch from 369abf6 to 4edb11e Compare December 21, 2014 08:19
- Help prevent transaction failure when calling save
- Also allow the removal of node by UUID
@dantleech dantleech force-pushed the remove-node-check-references branch from 4edb11e to ed9b95b Compare December 21, 2014 08:19
dantleech added a commit that referenced this pull request Dec 21, 2014
Always check for references when running node:remove
@dantleech dantleech merged commit d5a3d4b into master Dec 21, 2014
@dantleech dantleech deleted the remove-node-check-references branch December 21, 2014 09:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Check for references when deleting nodes .. ? ..
3 participants