Hi Team,
I’m currently coming up against what might be two bugs, but I wanted to see if the community could help and maybe it’s something wrong with my own local meshery.
Context:
I’m currently working on migrating the current dataFetch
implementation for the api/pattern/catalog/publish
and api/pattern/catalog/unpublish
routes within the ui/components/MesheryPatterns.js
file. While I believe I’ve successfully finished the migration, when I try to test that my code doesn’t break anything by creating a new design and trying to publish/unpublish, I am coming up against two errors. In order to test from before my changes, I reverted back to the original dataFetch
implementation and still see the same errors:
- I am unable to create a new design:
- When I try to create a new design based on the docs, I am unable to create the new design, getting the below screenshot with the following errors: “Unable to save design” and “Unable to parse uploaded pattern”
and futher examination leads to me a 1026 error:
and after finding the error in the docs, it seems to be happening because of an empty request body, though I don’t see any mention of where to put the body or a mention of the body in the docs:
- I tried to clone a design, since I can’t create a new one currently, but I can’t publish/unpublish it:
- After cloning a design, I try to publish it, but don’t have the “Submit for approval” button enabled:
Would someone be able to help? I’m currently stuck on my PR, even though my migration looks good, I would rather not submit the PR if I can’t test my changes locally. Thank you!