Giter Site home page Giter Site logo

[Bug]:Somebugs in Tag Endpoint about awork HOT 6 CLOSED

awork-io avatar awork-io commented on August 28, 2024
[Bug]:Somebugs in Tag Endpoint

from awork.

Comments (6)

ybaskayadevops avatar ybaskayadevops commented on August 28, 2024 1

Hi Sebastian,

Now it is working Thank you.

Best regards,

from awork.

sebastianrosch avatar sebastianrosch commented on August 28, 2024

Hi @ybaskayadevops thanks for the bug report.
I found an issue with tags when creating a project using a template, and it seems that this is what's causing the duplicate tags you're getting. This is fixed now for all future projects. I'll continue looking into a solution for the projects you already created. The invalid data there is failing the DELETE call from what I can see.

from awork.

ybaskayadevops avatar ybaskayadevops commented on August 28, 2024

HI Sebastion,

did you deploy to the server? Because I am getting same errors. :((

image

https://api.awork.io/api/v1/projects/05aad667-6e95-ec11-a22a-38563d684e0e/tags

[
{
"name": "Color_Blue",
"color": "azure",
"entityId": "05aad667-6e95-ec11-a22a-38563d684e0e"
},
{
"name": "Color_Blue",
"color": "azure",
"entityId": "05aad667-6e95-ec11-a22a-38563d684e0e"
},
{
"name": "Color_Green",
"color": "green",
"entityId": "05aad667-6e95-ec11-a22a-38563d684e0e"
},
{
"name": "Color_Green",
"color": "green",
"entityId": "05aad667-6e95-ec11-a22a-38563d684e0e"
},
{
"name": "Color_Orange",
"color": "coral",
"entityId": "05aad667-6e95-ec11-a22a-38563d684e0e"
},
{
"name": "Color_Red",
"color": "red",
"entityId": "05aad667-6e95-ec11-a22a-38563d684e0e"
},
{
"name": "Color_Red",
"color": "red",
"entityId": "05aad667-6e95-ec11-a22a-38563d684e0e"
},
{
"name": "Color_Yellow",
"color": "yellow",
"entityId": "05aad667-6e95-ec11-a22a-38563d684e0e"
},
{
"name": "Color_Yellow",
"color": "yellow",
"entityId": "05aad667-6e95-ec11-a22a-38563d684e0e"
},
{
"name": "Prio_Gold",
"color": "violet",
"entityId": "05aad667-6e95-ec11-a22a-38563d684e0e"
},
{
"name": "Prio_Gold",
"color": "violet",
"entityId": "05aad667-6e95-ec11-a22a-38563d684e0e"
},
{
"name": "Prio_High",
"color": "purple",
"entityId": "05aad667-6e95-ec11-a22a-38563d684e0e"
},
{
"name": "Prio_Low",
"color": "teal",
"entityId": "05aad667-6e95-ec11-a22a-38563d684e0e"
},
{
"name": "Prio_Low",
"color": "teal",
"entityId": "05aad667-6e95-ec11-a22a-38563d684e0e"
},
{
"name": "Prio_Standard",
"color": "arctic",
"entityId": "05aad667-6e95-ec11-a22a-38563d684e0e"
},
{
"name": "Prio_Standard",
"color": "arctic",
"entityId": "05aad667-6e95-ec11-a22a-38563d684e0e"
},
{
"name": "Status_Hold",
"entityId": "05aad667-6e95-ec11-a22a-38563d684e0e"
},
{
"name": "Status_Hold",
"entityId": "05aad667-6e95-ec11-a22a-38563d684e0e"
}
]

trace-id: 2da556962dbd2353

image

thank you for your help.

from awork.

sebastianrosch avatar sebastianrosch commented on August 28, 2024

Hi @ybaskayadevops yes it's been deployed. As I mentioned, the fix is related to creating a project from a template, not for deleting tags directly. The deletion fails because there was an issue when creating the project.
I did now also clean up the incorrectly created data.
If you fetch the tags now, it should only return the tags that actually exist, and then the delete should succeed. Could you confirm this?

from awork.

ybaskayadevops avatar ybaskayadevops commented on August 28, 2024

Hi Sebastian,

I want to explain what I did

-I created project from the your api from template
-Our Ceo selected tags which he does not want.
-the tags coming which is in Template it is okey.

Then I call to your delete tags api (it is not working.)

So the problem is not one project. (Every day we'll create more then one project. )
I made everthing but I stucked this step.

if you advice me a way I will do this.

Thank you for your help.

from awork.

sebastianrosch avatar sebastianrosch commented on August 28, 2024

@ybaskayadevops Can you please try again? As I said, I've just cleaned up the erroneous data which prevented the call from succeeding. Can you please try this both for a new project (created from a template), as well as an existing one? Deleting tags should now work in both cases. If it doesn't, could you provide me with the latest trace ids again? Thanks!

from awork.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.