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

Changing disabled label attributes via raw editor. #3031

Open
2 tasks done
dvkruchinin opened this issue Mar 30, 2021 · 0 comments
Open
2 tasks done

Changing disabled label attributes via raw editor. #3031

dvkruchinin opened this issue Mar 30, 2021 · 0 comments
Labels
bug Something isn't working

Comments

@dvkruchinin
Copy link
Contributor

dvkruchinin commented Mar 30, 2021

My actions before raising this issue

Expected Behaviour

Disabled label attributes should not be changed via the raw editor

Current Behaviour

Disabled label attributes are changed via the raw editor except for the attribute name. If change the name, an error of 500 is returned.

django.db.utils.IntegrityError: duplicate key value violates unique constraint "engine_attributespec_pkey"       
DETAIL:  Key (id)=(<attributes_id>) already exists.

Possible Solution

Disable the ability to change disabled label attributes via the raw editor.

Steps to Reproduce (for bugs)

  1. Create a task with a label with an attribute (one attribute is enough)
  2. Go to Raw tab.
  3. Try to change attribute name. Error 500 is returned
  4. Try to change parameters:
    input_type
    mutable

Context

Your Environment

  • Git hash commit (git log -1): 70a9071
  • Docker version docker version (e.g. Docker 17.0.05): 20.10.5
  • Are you using Docker Swarm or Kubernetes? No
  • Operating System and version (e.g. Linux, Windows, MacOS): Windows 10
  • Code example or link to GitHub repo or gist to reproduce problem:
  • Other diagnostic information / logs:
    Logs from `cvat` container

Next steps

You may join our Gitter channel for community support.

@bsekachev bsekachev added the bug Something isn't working label Mar 30, 2021
@bsekachev bsekachev added this to the v1.5.0 milestone Mar 30, 2021
@nmanovic nmanovic modified the milestones: v1.5.0, Backlog Apr 15, 2021
@bsekachev bsekachev self-assigned this Jun 9, 2021
@nmanovic nmanovic removed this from the Backlog milestone Nov 23, 2021
@bsekachev bsekachev removed their assignment Jul 18, 2023
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

3 participants