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

Envelope attachment not working on master #148

Closed
josvanroosmalen opened this issue Mar 30, 2020 · 8 comments
Closed

Envelope attachment not working on master #148

josvanroosmalen opened this issue Mar 30, 2020 · 8 comments
Assignees
Labels
Milestone

Comments

@josvanroosmalen
Copy link
Collaborator

In this example, we want to feed the staging URI to the attachment (eg for lineage purpose).

This is not working. Well basically attachment is not work at all. Even if I feed the "input" node input to attachment it is also not working.

image

See e.g. the attached ZIP file. Run this on any collection on any database, and attachment will be empty.

AttachmentErrorFinal-00.01.json.zip

@sashamitrovich sashamitrovich added the bug Something isn't working label Mar 31, 2020
@sashamitrovich sashamitrovich added this to the 1.0.1 milestone Mar 31, 2020
@josvanroosmalen
Copy link
Collaborator Author

Impacting POC: "W" ( @taatuut )

@taatuut
Copy link

taatuut commented Mar 31, 2020

We hit this issue in the WSRL PoC. Blocks the possibility to get the right data in the Final document attachment. The example we have, is that we want to store staging node or URI in the attachment so we can easily track back where data (or problems) come from. Is there a workaround to get data in the envelope attachment currently?

@epoilvet epoilvet self-assigned this Mar 31, 2020
@epoilvet
Copy link
Contributor

I think its a side effect of datahub.flow.flowUtils.makeEnvelope which requires a instance (not null) to manage attachements. Checking

epoilvet added a commit that referenced this issue Mar 31, 2020
@epoilvet
Copy link
Contributor

Fixed in master

@josvanroosmalen
Copy link
Collaborator Author

Thanks Eric.

@sashamitrovich
Copy link
Contributor

Need to add test.

@josvanroosmalen
Copy link
Collaborator Author

Assigned to Sasha for the unit test!?

@sashamitrovich
Copy link
Contributor

sashamitrovich commented Apr 2, 2020 via email

sashamitrovich added a commit that referenced this issue Apr 14, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants