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

REST API renaming an attribute does not work #6503

Closed
2 tasks done
bsekachev opened this issue Jul 18, 2023 · 3 comments
Closed
2 tasks done

REST API renaming an attribute does not work #6503

bsekachev opened this issue Jul 18, 2023 · 3 comments
Assignees
Labels
bug Something isn't working good first issue Good for newcomers

Comments

@bsekachev
Copy link
Member

My actions before raising this issue

Steps to Reproduce (for bugs)

Try to rename existing attribute with ID 54:
image

Results:
image

Expected Behaviour

I expect to be able to rename attributes like labels

Current Behaviour

I am unable

Your Environment

  • Git hash commit (git log -1): v2.5.0
  • Docker version docker version (e.g. Docker 17.0.05):
  • Are you using Docker Swarm or Kubernetes?
  • Operating System and version (e.g. Linux, Windows, MacOS):
  • Code example or link to GitHub repo or gist to reproduce problem:
  • Other diagnostic information / logs:
    Logs from `cvat` container
@bsekachev bsekachev added the bug Something isn't working label Jul 18, 2023
@bsekachev bsekachev added the good first issue Good for newcomers label Mar 11, 2024
@bsekachev
Copy link
Member Author

Related #5978

@ritikraj26
Copy link
Contributor

Hi, I would like to contribute. Please assign this to me

@ritikraj26
Copy link
Contributor

Raised the PR which fixes the rename attribute issue
Please find it here

Marishka17 pushed a commit that referenced this issue Apr 11, 2024
This PR fixes two open issues:
- Fixed the [issue](#5978) Unable to edit Attribute name #5978
- Fixed the [issue](#6503) - REST API renaming an attribute does not work #6503

Used attribute id to fetch attribute from the database and renamed it from the list received in the request.

Tested it under multiple scenarios, like different attribute types, input values, and labels.

![image](https://github.com/opencv/cvat/assets/76646497/64bf8a0f-becb-442d-bf27-09e77dddfc86)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working good first issue Good for newcomers
Projects
Development

No branches or pull requests

3 participants