-
Notifications
You must be signed in to change notification settings - Fork 17
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
N21-1324-migration-page-buttons-fix #4447
Conversation
apps/server/src/modules/oauth/controller/api-test/oauth-sso.api.spec.ts
Outdated
Show resolved
Hide resolved
apps/server/src/modules/oauth/controller/api-test/oauth-sso.api.spec.ts
Outdated
Show resolved
Hide resolved
apps/server/src/modules/oauth/controller/oauth-sso.controller.ts
Outdated
Show resolved
Hide resolved
apps/server/src/modules/user-login-migration/service/migration-check.service.spec.ts
Outdated
Show resolved
Hide resolved
apps/server/src/modules/user-login-migration/service/migration-check.service.ts
Outdated
Show resolved
Hide resolved
@@ -0,0 +1 @@ | |||
[] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thx
Kudos, SonarCloud Quality Gate passed! 0 Bugs 100.0% Coverage The version of Java (11.0.20) you have used to run this analysis is deprecated and we will stop accepting it soon. Please update to at least Java 17. |
@@ -3,6 +3,7 @@ import { EntityId, LegacySchoolDo, UserDO, UserLoginMigrationDO } from '@shared/ | |||
import { UserLoginMigrationRepo } from '@shared/repo'; | |||
import { LegacySchoolService } from '@src/modules/legacy-school'; | |||
import { UserService } from '@src/modules/user'; | |||
import { SchoolInMigrationError } from '@src/modules/authentication/errors/school-in-migration.error'; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do you really need the whole import?
Until errors should be enough when the error itself will be exported in the barrel file
Closed because it is not necessary anylonger since we use the new login flow also for oauth2. |
Description
After the refactoring for adaption of userLoginMigration entity the migration page was shown wrongly in login flow. This Bug fix will show the right error message, when migration is enabled and login via moin.schule is triggered with unknown user in svs.
Links to Tickets or other pull requests
https://ticketsystem.dbildungscloud.de/browse/N21-1324
hpi-schul-cloud/schulcloud-client#3318
hpi-schul-cloud/nuxt-client#2834
Changes
Datasecurity
Deployment
New Repos, NPM pakages or vendor scripts
Approval for review
generate-client:server
was executed in vue frontend and changes were tested and put in a PR with the same branch name.