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

HTTP action output map does not create new fields on pubs #576

Open
gabestein opened this issue Sep 4, 2024 · 2 comments
Open

HTTP action output map does not create new fields on pubs #576

gabestein opened this issue Sep 4, 2024 · 2 comments
Labels
bug Something isn't working

Comments

@gabestein
Copy link
Member

An obscure one, and unclear exactly what the expected behavior should be, but just to have it logged...

What went wrong, step-by-step?

  1. Create a pub
  2. Run an HTTP action that maps a response to a field that does not exist on the pub type (and that was not added to the pub via a form)
  3. HTTP action will report successfully mapping the output, but will not create a new field)

What did you expect to happen?

HTTP action creates a new field with the mapped output value on the pub

What URL can we use to see the issue?

What browser/operating system were you using?

Optional

Have any screenshots? (Attach them by dragging the image here)

Who reported this? (If not you)

@gabestein gabestein added the bug Something isn't working label Sep 4, 2024
@tefkah
Copy link
Contributor

tefkah commented Sep 5, 2024

Should this be: "creates a new value on the pub for the specified field"?
I don't think it should be creating a new field entirely right?

@gabestein
Copy link
Member Author

Yeah, I'm not exactly clear what the behavior should be, so pretty low priority here.

But if you, for example, add a field to a pub type, but there are old pubs created before that fields was added, it won't add the value. Maybe what we should actually do is add fields to existing pubs of that type when we do that? Either way, just wanted to have it documented.

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
Development

No branches or pull requests

2 participants