You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If any DB related Exception occurs when creating a new revision, the DB transaction will be rolled back.But the registry related transactions are not rolled back. This is causing the partially created APIs in the registry side.
Solution
We could add some improvements to the add revision method.
We could try adding a logic to delete the created revision if there is a rollback happened when apiMgtDAO.addAPIRevision(apiRevision) is called.
Problem
Solution
Sample Code
Product : wso2am-4.2.0
Update level : -
WSO2 case id : FISGLOBALSUB-1166
Case number : CS0282684
The text was updated successfully, but these errors were encountered: