SImplify and fix preference name migration #148

Merged
nik merged 1 commit from fix-migration-again into master 2021-12-02 15:15:58 +01:00
nik commented 2021-12-01 23:41:08 +01:00 (Migrated from edugit.org)

@hansegucker The current_site object behaves strange inside the migration, I have no idea why (the same code works jsut fine outside the migration).

Trying to fix it, I wondered why the migration even needs to be site-aware (and if being site-aware isn't even a bug in itself), and what the update_or_create is supposed to do. Please look into my simplification.

Closes #35.

@hansegucker The `current_site` object behaves strange inside the migration, I have no idea why (the same code works jsut fine outside the migration). Trying to fix it, I wondered why the migration even needs to be site-aware (and if being site-aware isn't even a bug in itself), and what the `update_or_create` is supposed to do. Please look into my simplification. Closes #35.
nik commented 2021-12-01 23:41:10 +01:00 (Migrated from edugit.org)

assigned to @hansegucker

assigned to @hansegucker
hansegucker commented 2021-12-02 15:08:25 +01:00 (Migrated from edugit.org)

Oh, that really simplifies things. Has this been tested in real?

Oh, that really simplifies things. Has this been tested in real?
nik commented 2021-12-02 15:12:33 +01:00 (Migrated from edugit.org)

Yes.

Yes.
hansegucker commented 2021-12-02 15:15:52 +01:00 (Migrated from edugit.org)

resolved all threads

resolved all threads
hansegucker (Migrated from edugit.org) merged commit 4a8fe77dfb into master 2021-12-02 15:15:58 +01:00
hansegucker commented 2021-12-02 15:15:59 +01:00 (Migrated from edugit.org)

mentioned in commit 4a8fe77dfb

mentioned in commit 4a8fe77dfbefb5c356d5f0ce4ba372fa24d7f248
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
aleksis/AlekSIS-App-LDAP!148
No description provided.