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

[Bug] [dinky-web] Issue with creating a new task with a subdirectory of the same name #3992

Open
3 tasks done
Jam804 opened this issue Dec 1, 2024 · 1 comment
Open
3 tasks done
Assignees
Labels
Bug Something isn't working Waiting for reply Waiting for reply

Comments

@Jam804
Copy link
Contributor

Jam804 commented Dec 1, 2024

Search before asking

  • I had searched in the issues and found no similar issues.

What happened

image

Due to the unique index catalogue_un_idx1, an error is thrown on the backend when I try to add a subdirectory with the same name as an existing task, but the frontend page does not respond.

image

image

What you expected to happen

I hope to either delete or modify the unique index catalogue_un_idx1, or have the frontend display a clear error message when adding a subdirectory fails.

How to reproduce

Attempt to add a subdirectory with the same name as any task under the parent directory.

Anything else

I want to fix this issue. Should I modify or delete this unique key constraint, or should I check for duplicates before inserting?

Version

dev

Are you willing to submit PR?

  • Yes I am willing to submit a PR!

Code of Conduct

@Jam804 Jam804 added Bug Something isn't working Waiting for reply Waiting for reply labels Dec 1, 2024
Copy link

github-actions bot commented Dec 1, 2024

Hello @Jam804, this issue is about web, so I assign it to @Zzm0809. If you have any questions, you can comment and reply.

你好 @Jam804, 这个 issue 是关于 web 的,所以我把它分配给了 @Zzm0809。如有任何问题,可以评论回复。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Something isn't working Waiting for reply Waiting for reply
Projects
None yet
Development

No branches or pull requests

2 participants