Skip to content
New issue

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

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

Already on GitHub? # to your account

Fix ne_move() for 0-depth locked source parent collection #185

Merged
merged 1 commit into from
Feb 1, 2025

Conversation

notroj
Copy link
Owner

@notroj notroj commented Jan 22, 2025

Fix ne_move() to submit lock tokens for the parent collection of the
source resource if it is locked with depth 0.

* src/ne_basic.c (copy_or_move): Call ne_lock_using_parent() for the source resource for the MOVE case.

source resource if it is locked with depth 0.

* src/ne_basic.c (copy_or_move): Call ne_lock_using_parent() for the
  source resource for the MOVE case.

* test/lock.c (submit_test2): Renamed from submit_test, add
  MOVE handling.
  (submit_test): Add function, wrapper for ^.
  (if_movefrom): New test.
@notroj notroj force-pushed the move-locked-src-parent branch from e20b830 to 08ad63d Compare January 26, 2025 17:10
@notroj notroj merged commit 1d33fca into master Feb 1, 2025
150 checks passed
@notroj notroj deleted the move-locked-src-parent branch February 1, 2025 13:00
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant