Closed NilukaSripalim closed 2 months ago
Below info is just a preliminary analysis and this needs to be further investigated. Providing the below info as it might be a helpful starting point when analysing this issue.
Issue seems to be coming from this query https://github.com/wso2/carbon-identity-framework/blob/master/components/idp-mgt/org.wso2.carbon.idp.mgt/src/main/java/org/wso2/carbon/idp/mgt/util/IdPManagementConstants.java#L195
This is likely not a schema issue since VALUE coloumn is present in the postgres schema https://github.com/wso2/carbon-identity-framework/blob/27d1c98096285c8c218c6ca98cd13ea982535276/features/identity-core/org.wso2.carbon.identity.core.server.feature/resources/dbscripts/postgresql.sql#L747
Issue could be due to the postgres query using \"VALUE\"
MSSQL query is just VALUE with no quotation marks https://github.com/wso2/carbon-identity-framework/blob/master/components/idp-mgt/org.wso2.carbon.idp.mgt/src/main/java/org/wso2/carbon/idp/mgt/util/IdPManagementConstants.java#L171
As mentioned by @Lakshan-Banneheke, The issue was reported due to the incorrect reference to the value column in the PostgreSQL query. The column was mistakenly referenced as "VALUE" with double quotes, which caused a case sensitivity error.
The issue has been fixed with: https://github.com/wso2/carbon-identity-framework/pull/5852
Describe the issue: We are encountering a 500 Internal Server Error
with the message "Error while connecting to the database. Error occurred while retrieving Identity Provider for tenant: carbon.super" when navigating to the "Login Flow" section of a created application.
This issue is specifically occurring when the primary database is configured with PostgreSQL. The root cause is an error in the SQL query:
Additionally, the UI icons are not displaying as expected in the "Login Flow > Visual Editor" section, particularly the "Add Multi-factor Login" icons.
deploymnt.toml
https://github.com/user-attachments/assets/5234617b-af2b-4f00-9c6d-da763ce1b12d
How to reproduce:
Expected behavior:
Environment information (Please complete the following information; remove any unnecessary fields) :
https://wso2.org/jenkins/job/products/job/product-is/