You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Webdav COPY on new endpoint must trigger copy hooks #29561
Use Webdav COPY on new DAV endpoint to copy "test.txt" to a new file "test2.txt"
Expected result
$view->copy() called, copy hooks triggered
Actual result
$view->copy() not called at all.
Version
v10.0.3
It is likely that the COPY operation is not rewired to use $view->copy() like the old DAV endpoint.
The move the new DAV endpoint has discarded these optimizations that were implemented in the tree level.
Just to clarify, the delete signal is triggered on a DELETE request, but is not triggered on a COPY request (as I would expect). And the post_copy signal is completely missing for a COPY request on new /dav/ route.
Hey, this issue has been closed because the label status/STALE is set and there were no updates for 7 days. Feel free to reopen this issue if you deem it appropriate.
The simplest solution would be to trigger the copy operation from the view. But as far as I understood from the code we want to reduce the dependency to view.
Activity
ahmedammar commentedon Nov 14, 2017
Just to clarify, the delete signal is triggered on a DELETE request, but is not triggered on a COPY request (as I would expect). And the post_copy signal is completely missing for a COPY request on new /dav/ route.
PVince81 commentedon Dec 13, 2017
#28853 is merged. Tried copy, still not triggered.
So we'll likely need something like the CopyPlugin
ownclouders commentedon Feb 20, 2018
Hey, this issue has been closed because the label
status/STALEis set and there were no updates for 7 days. Feel free to reopen this issue if you deem it appropriate.(This is an automated comment from GitMate.io.)
16 remaining items
IljaN commentedon Dec 4, 2018
The simplest solution would be to trigger the copy operation from the view. But as far as I understood from the code we want to reduce the dependency to view.
PVince81 commentedon Mar 19, 2019
I guess for now it would be fine triggering the same even from inside the DAV layer, as long as all params are the same as the one from the View.
micbar commentedon Jun 7, 2019
@VicDeo any update on this issue?
VicDeo commentedon Jun 10, 2019
I poorly understood what we want to achieve here but I hope rewriting a new endpoint into the old endpoint is not what we want.
VicDeo commentedon Jun 14, 2019
#35540