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

Created duplicated label and cannot delete it #3391

Open
2 tasks done
wl2776 opened this issue Jul 6, 2021 · 3 comments
Open
2 tasks done

Created duplicated label and cannot delete it #3391

wl2776 opened this issue Jul 6, 2021 · 3 comments
Assignees
Labels
bug Something isn't working

Comments

@wl2776
Copy link

wl2776 commented Jul 6, 2021

My actions before raising this issue

During configuring my first project, I have managed to create two labels with the same name

image

After I've discovered it, I've tried to remove one of "door" labels, however, if I press on a cross sign or remove respective JSON text in "Raw" editor, I see pop-up with Error 400
image

Expected Behaviour

  1. I should not be allowed to create duplicated labels
  2. I should be allowed to remove duplicated label, if they managed to appear.

Current Behaviour

I cannot edit project labels and remove duplicates

Your Environment

  • Git hash commit (git log -1):

     # git log -1  
     commit 7f4b1853aba06584afb7698bd07358cb2f4ae7ca (HEAD -> develop, origin/develop, origin/HEAD)
     Author: Andrey Zhavoronkov <[email protected]>
     Date:   Thu Jul 1 17:29:05 2021 +0300
    
     Fixed cvat_ui image build in case of OOM error (#3379)
    
     * fixed cvat_ui image build in case of OOM error
    
     * updated changelog

    Edited nginx configuration template according to Remote access results in 404 Not Found error (nginx/1.16.1) #1231:

    diff --git a/cvat_proxy/conf.d/cvat.conf.template b/cvat_proxy/conf.d/cvat.conf.template
    index 0c7ab685..bb496e87 100644
    --- a/cvat_proxy/conf.d/cvat.conf.template
    +++ b/cvat_proxy/conf.d/cvat.conf.template
    @@ -1,9 +1,3 @@
    -server {
    -    listen       80;
    -    server_name  _ default;
    -    return       404;
    -}
    -
  • Docker version docker version
    Docker 20.10.7

  • Are you using Docker Swarm or Kubernetes?
    No

  • Operating System and version (e.g. Linux, Windows, MacOS):
    Ubuntu 20.04 with all recent updates;

Next steps

You may join our Gitter channel for community support.

@bsekachev
Copy link
Member

Hi @wl2776, thx for the report. Could you please provide the exact steps to create two labels with the same name? I cannot reproduce it.

@wl2776
Copy link
Author

wl2776 commented Jul 7, 2021

Hi @wl2776, thx for the report. Could you please provide the exact steps to create two labels with the same name? I cannot reproduce it.

I've done it accidentally. Reproduction was not easy, but I've done it again :)

  1. Open two tabs with CVAT UI in the browser. I use Opera, so I right-clicked on the tab then clicked on "Duplicate Tab" menu item.
  2. Add labels in those tabs.

This can be done in Chrome too.

And I've managed to resolve initial issue by renaming one of labels.

@bsekachev bsekachev added the bug Something isn't working label Jul 19, 2021
@bsekachev bsekachev added this to the Backlog milestone Jul 19, 2021
@nmanovic nmanovic removed this from the Backlog milestone Nov 20, 2021
@ActiveChooN ActiveChooN self-assigned this Dec 6, 2021
@sririshi24
Copy link

Hi @wl2776, thx for the report. Could you please provide the exact steps to create two labels with the same name? I cannot reproduce it.

I've done it accidentally. Reproduction was not easy, but I've done it again :)

  1. Open two tabs with CVAT UI in the browser. I use Opera, so I right-clicked on the tab then clicked on "Duplicate Tab" menu item.
  2. Add labels in those tabs.

This can be done in Chrome too.

And I've managed to resolve initial issue by renaming one of labels.
Also I had the issue i moved the task to new project , but wondering whether i can do it programmatically for many task

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

No branches or pull requests

5 participants