wso2 / product-is

Welcome to the WSO2 Identity Server source code! For info on working with the WSO2 Identity Server repository and contributing code, click the link below.
http://wso2.github.io/
Apache License 2.0
748 stars 727 forks source link

[Postgress/DB]Getting a 500 Internal Server error when trying to disable an application via UI #21452

Open asekawa opened 1 week ago

asekawa commented 1 week ago

Describe the issue:

Getting a 500 Internal Server error when trying to disable an application via UI

{
    "code": "APP-65001",
    "message": "Error patching application with id: e2f0fdb3-1f1a-4997-ab5d-bf4ff735850d",
    "description": "Error while deleting user consents for application Test",
    "traceId": "af4e1a74-060e-4e5a-8580-8682cd529309"
}

https://github.com/user-attachments/assets/566df7c8-396c-40e3-8aff-6adb374c0aa7

We noticed that even though we are getting an error once refreshed the application is disabled

How to reproduce:

  1. Login to the console
  2. Create an application
  3. Click on disable application option Expected behavior:

Environment information (Please complete the following information; remove any unnecessary fields) :


Optional Fields

Related issues:

Suggested labels:

KaveeshaPiumini commented 3 days ago

Tried to reproduce this issue but it is working fine with the following versions.

Screen Recording

https://drive.google.com/file/d/1bo7zJUEypEJ2RXOUyBcK4g95_HK93bBq/view?usp=sharing

Deployment.toml configurations

Screenshot 2024-11-01 at 14 25 03

Usersotre Connection

Screenshot 2024-11-01 at 14 24 02

DB connection used in the screen recording

Screenshot 2024-11-01 at 14 23 38