Open drpebcak opened 2 years ago
My memory is that on versions sub 4.x, we did not have this issue with the slug changing.
@drpebcak Thanks for posting your issue here. It seems that I can't replicate your issue when using UI. Can you please elaborate the third point of what you are doing (Click save again for the API entry in the dashboard)? Are you clicking the update on the Catalog API documentation?
@pagemag I realized while stepping through this again that there is an additional step. This seems to happen if you don't add swagger documentation when you initially create the catalog entry. I've recorded a video, but I would rather not share my dashboard/developer urls here on github, so I have trimmed off the top of the browser. When I refresh and it 404s, its because the slug in the url has changed - https://<my-dev-portal>/apis/<slug-that-changes>/documentation/
.
@drpebcak Thank you for providing the video on how to replicate this. I filed an internal ticket for this.
Branch/Environment/Version
Describe the bug When adding APIs to the API Catalogue, the slug that identifies the API documentation is changed every time the entry is saved.
Reproduction steps Steps to reproduce the behavior:
Actual behavior The slug in the url that identifies the API changes on every save.
Expected behavior I expect the slug to be stable for the life of this particular API Entry, so that I can link to some particular API Documentation.
Additional context This happens when using the tyk-operator as well as the portal UI. I typically use the operator, so any solution would ideally work with that.