OAGi / Score

Score
MIT License
9 stars 6 forks source link

No longer can discard an OpenAPI document - Discard's forbidden! The OpenAPI Doc is used. #1601

Closed dubnemo closed 8 months ago

dubnemo commented 9 months ago

I tried this in both test.oagiscore.net (no assigned BIEs) and oagiscore.net (assigned BIEs) for the Express Pack / connectKit. Same error message regardless of BIE assignment: Discard's forbidden! The OpenAPI Doc is used.

This connectKit enables small manufacturing businesses to digitize their BOM and production order processes.

hakjuoh commented 9 months ago

@elena-jelisic I made a commit for this issue. Please review it. Records in the oas_resource_tag and oas_tag tables needed to be wiped out to discard the document.

dubnemo commented 9 months ago

@hakjuoh To clarify, the records associated to the OpenAPI document are not being deleted, and must be.
In test.oagiscore.net, I removed the BIEs first. It may be worthwhile to see if that leaves orphan records.