Skip to content
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

重命名节点接口,命名之后页面不能显示该文件 #2124

Open
liuliaozhong opened this issue May 9, 2024 · 0 comments
Open
Assignees
Labels
backlog bug Something isn't working

Comments

@liuliaozhong
Copy link
Contributor

What happened:
version:1.3.30-rc.2
当使用重命名节点接口(API: POST /repository/api/node/rename/{projectId}/{repoName}/{fullPath}?newFullPath=/data/new_name.text)命名时,如果新的完整路径包含目录,会导致命名后页面上不能显示文件。
重命名前:
image
重命名:
image
然后刷新仓库列表,看不到这个文件夹和文件了
image

初步判断,因新路径含有目录,在重命名时只更新了当前节点记录,没有把新目录节点创建出来

@liuliaozhong liuliaozhong added backlog bug Something isn't working labels May 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backlog bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants