-
Notifications
You must be signed in to change notification settings - Fork 3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
bug: delete namespce will cause error #5912
Comments
Have you executed the SQL script for version update? |
hi. the table name in error info is "auth_path", which is not in upgrade sql |
The SQL has been validated and the code format needs to be adjusted again |
2.7.0-upgrade-2.7.1-mysql.sql |
Okay, I will fix this error |
he submit a pr already |
I adjusted the code compilation issue |
I'm sorry, the modification of this PR (#5913) is incorrect. This should be querying appAuthMapper instead of authPathMapper. Would you be willing to change this PR to fix this bug |
Continue to solve it |
close the previous pr, and submit a new pr to fix this |
ok |
I submit a new pr |
hi, did not see that? link pls? |
|
Is that what I mean? I don't know if I understand correctly. |
pls add my wechat: aias00 |
Is there an existing issue for this?
Current Behavior
Error querying database. Cause: java.sql.SQLSyntaxErrorException: Unknown column 'namespace_id' in 'where clause' ### The error may exist in class path resource [mappers/auth-path-sqlmap.xml] ### The error may involve org.apache.shenyu.admin.mapper.AuthPathMapper.findByNamespaceIds-Inline ### The error occurred while setting parameters ### SQL: SELECT id, auth_id, app_name, path, enabled, date_created, date_updated FROM auth_path WHERE namespace_id IN ( ? ) ### Cause: java.sql.SQLSyntaxErrorException: Unknown column 'namespace_id' in 'where clause' ; bad SQL grammar []
Expected Behavior
No response
Steps To Reproduce
No response
Environment
Debug logs
No response
Anything else?
No response
The text was updated successfully, but these errors were encountered: