Skip to content

Renaming into subfolders or parent folders #28475

@phil-davis

Description

@phil-davis

Steps to reproduce

  1. Create foldera and folderb in the webUI at the top level of a user account files
  2. Rename folderb, putting in foldera/folderb

Expected behaviour

This is a relative folder path. folderb should end up in foldera,
and folderb should not be listed in the top (original) folder.

Actual behaviour

A folder is shown in the original (top) folder, called foldera/folderb
Note: if you click on that, it takes you to the "correct" place - listing folderb inside of foldera - so nothing explodes. And if you click on the real foldera, you see that folderb is indeed listed there.

On refreshing the page, or navigating down and up the folder tree, the "odd" "foldera/folderb" entry foes away. So it is just a UI artifact, probably from the fact that the move-rename succeeds and so the UI decides to display the resulting "file" in the current folder.

Server configuration

Operating system:
Ubuntu 16.04
Web server:
php dev
Database:
mySQL
PHP version:
7.0
ownCloud version: (see ownCloud admin page)
current master as at now

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions