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
Do a cross-storage move with a root view: $view->rename('test1/files/something', 'test2/files/unexist/something') where "unexist" is a non-existing folder.
The view will happily move "something" there but will create a hole in the oc_filecache when trying to attach "something" to its parent with an id -1.
Setting to medium for now as the bug as not been found in a real environment and only during development.
write unit test to reproduce the issue
fix the issue, return false if the target parent does not exist
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.
Discovered here: #26653 (comment)
Do a cross-storage move with a root view:
$view->rename('test1/files/something', 'test2/files/unexist/something')
where "unexist" is a non-existing folder.The view will happily move "something" there but will create a hole in the oc_filecache when trying to attach "something" to its parent with an id -1.
Setting to medium for now as the bug as not been found in a real environment and only during development.
false
if the target parent does not existcc @jvillafanez @IljaN FYI
The text was updated successfully, but these errors were encountered: