Bug 41269 - adapt UMC import wizard to changes in python-lib
adapt UMC import wizard to changes in python-lib
Status: CLOSED FIXED
Product: UCS@school
Classification: Unclassified
Component: UMC - CSV Import
unspecified
Other Linux
: P5 normal (vote)
: UCS@school 4.1 R2
Assigned To: Daniel Tröder
Florian Best
: interim-1
Depends on: 41239
Blocks:
  Show dependency treegraph
 
Reported: 2016-05-12 12:08 CEST by Daniel Tröder
Modified: 2016-09-30 12:12 CEST (History)
1 user (show)

See Also:
What kind of report is it?: Development Internal
What type of bug is this?: ---
Who will be affected by this bug?: ---
How will those affected feel about the bug?: ---
User Pain:
Enterprise Customer affected?:
School Customer affected?:
ISV affected?:
Waiting Support:
Flags outvoted (downgraded) after PO Review:
Ticket number:
Bug group (optional):
Max CVSS v3 score:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Daniel Tröder univentionstaff 2016-05-12 12:08:42 CEST
Schema changes, new required attributes etc. may make it necessary to adapt the UMC wizard code.
Comment 1 Sönke Schwardt-Krummrich univentionstaff 2016-06-01 16:52:17 CEST
Are there any changes required that exceed the changes of bug 41293?
Comment 2 Daniel Tröder univentionstaff 2016-06-02 09:18:59 CEST
I have not looked at the patches in that bug. ucsschool.lib.models.User objects now have two additional Attributes "source_uid" and "record_uid".

If the imported users should later be used in command line imports, those attributes must be filled like ucsschool.importer.models.import_user.User.make_rid() and make_sid() do, or the users may not be identified.
Comment 3 Daniel Tröder univentionstaff 2016-06-06 16:01:33 CEST
The Attributes source_uid and record_uid that were added to ucsschool.lib.User, have been move to ucsschool.importer.models.import_user.ImportUser (r69786 and r69787). At least regarding those, no changes are necessary anymore.
Comment 4 Florian Best univentionstaff 2016-07-06 15:05:01 CEST
Code: OK
Comment 5 Florian Best univentionstaff 2016-07-06 15:05:39 CEST
UCS@school 4.1 R2 has been released:
http://docs.software-univention.de/release-notes-ucsschool-4.1R2v1-de.pdf

If this error occurs again, please use "Clone This Bug".