Skip to content

duplicate dir creation is not giving any error #441

@princeparmar

Description

@princeparmar

/zbox createdir --allocation 4157af127d56077124753022f00cf84fb09df87f66d6bc46f9a61a27d45ff851 --dirname test

if we execute createdir comand with same dir name then in database instead of giving an error it creates duplicate entries.

test | /test | 4157af127d56077124753022f00cf84fb09df87f66d6bc46f9a61a27d45ff851
test | /test | 4157af127d56077124753022f00cf84fb09df87f66d6bc46f9a61a27d45ff851
test | /test | 4157af127d56077124753022f00cf84fb09df87f66d6bc46f9a61a27d45ff851
test | /test | 4157af127d56077124753022f00cf84fb09df87f66d6bc46f9a61a27d45ff851
test | /test | 4157af127d56077124753022f00cf84fb09df87f66d6bc46f9a61a27d45ff851
test | /test | 4157af127d56077124753022f00cf84fb09df87f66d6bc46f9a61a27d45ff851
test | /test | 4157af127d56077124753022f00cf84fb09df87f66d6bc46f9a61a27d45ff851
test | /test | 4157af127d56077124753022f00cf84fb09df87f66d6bc46f9a61a27d45ff851
/ | / | 4157af127d56077124753022f00cf84fb09df87f66d6bc46f9a61a27d45ff851

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions