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

bug: Changing content_type on a artifact definition doesn't change content_type of existing related artifacts #4969

Closed
BaptisteGi opened this issue Nov 18, 2024 · 1 comment · Fixed by #5047
Assignees
Labels
group/backend Issue related to the backend (API Server, Git Agent) type/bug Something isn't working as expected

Comments

@BaptisteGi
Copy link
Contributor

Component

API Server / GraphQL

Infrahub version

1.0.5

Current Behavior

Assuming I have multiple artifacts generated, If I change the content type of my artifact definition those artifacts will still have the older one.

Expected Behavior

I expect artifacts generated after a change in the artifact definition to have appropriate values following the change in the definition.

Steps to Reproduce

  • Get artifacts generated with content type text/plain
  • Change the definition of content type to application/json
  • Trigger artifact generation
  • Artifact's content type is still text/plain

Additional Information

I have a repo that I can share for that

@BaptisteGi BaptisteGi added the type/bug Something isn't working as expected label Nov 18, 2024
@dgarros dgarros added the group/backend Issue related to the backend (API Server, Git Agent) label Nov 25, 2024
@dgarros dgarros added this to the Infrahub - 1.0.x milestone Nov 25, 2024
@exalate-issue-sync exalate-issue-sync bot removed this from the Infrahub - 1.0.x milestone Nov 25, 2024
@gmazoyer gmazoyer self-assigned this Nov 26, 2024
@exalate-issue-sync exalate-issue-sync bot added this to the Infrahub - 1.0.x milestone Nov 26, 2024
@gmazoyer gmazoyer linked a pull request Nov 26, 2024 that will close this issue
@gmazoyer
Copy link
Contributor

Fixed in 0534901

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
group/backend Issue related to the backend (API Server, Git Agent) type/bug Something isn't working as expected
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants