Skip to content
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

Closed
wants to merge 9 commits into from

Conversation

mrikallab
Copy link
Contributor

@mrikallab mrikallab commented Sep 29, 2023

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

  • DEV: If api was changed - generate-client:server was executed in vue frontend and changes were tested and put in a PR with the same branch name.
  • QA: In addition to review, the code has been manually tested (if manual testing is possible)
  • All points were discussed with the ticket creator, support-team or product owner. The code upholds all quality guidelines from the PR-template.

Notice: Please remove the WIP label if the PR is ready to review, otherwise nobody will review it.

@@ -0,0 +1 @@
[]
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thx

@sonarqubecloud
Copy link

sonarqubecloud bot commented Oct 9, 2023

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

100.0% 100.0% Coverage
0.0% 0.0% Duplication

warning 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.
Read more here

@@ -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';
Copy link
Contributor

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

@arnegns arnegns closed this Oct 13, 2023
@arnegns
Copy link
Contributor

arnegns commented Oct 13, 2023

Closed because it is not necessary anylonger since we use the new login flow also for oauth2.

@arnegns arnegns deleted the N21-1324-migration-page-buttons-fix branch October 20, 2023 10:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants