Bug 46384 - input_data missing in user object when deleting users
input_data missing in user object when deleting users
Status: CLOSED FIXED
Product: UCS@school
Classification: Unclassified
Component: Import scripts
UCS@school 4.2
Other Linux
: P5 normal (vote)
: UCS@school 4.2 v9
Assigned To: Daniel Tröder
Sönke Schwardt-Krummrich
:
Depends on:
Blocks: 46439 46923
  Show dependency treegraph
 
Reported: 2018-02-23 13:33 CET by Daniel Tröder
Modified: 2018-06-04 15:34 CEST (History)
0 users

See Also:
What kind of report is it?: Bug Report
What type of bug is this?: 2: Improvement: Would be a product improvement
Who will be affected by this bug?: 2: Will only affect a few installed domains
How will those affected feel about the bug?: 2: A Pain – users won’t like this once they notice it
User Pain: 0.046
Enterprise Customer affected?:
School Customer affected?: Yes
ISV affected?:
Waiting Support:
Flags outvoted (downgraded) after PO Review:
Ticket number: 2018020921000551
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 2018-02-23 13:33:12 CET
The legacy import and imports using the "no_delete" flag have a line with input data in their CSV file. Normally that data is available as ImportUser.input_data and can be used by hooks. But the optimizations in Bug #41882 removed it.

Attach input_data to ImportUser objects that are to be deleted, when available.
Comment 1 Daniel Tröder univentionstaff 2018-02-23 13:39:50 CET
[4.2 0fe3eaf7] Bug #46384: when available, attach input_data to ImportUser objects that are to be deleted
[4.2 9947866e] Bug #46384: changelog, advisory
[4.2 2d0a42a3] Bug #46384: advisory update

[4.3 034b126d] Bug #46384: when available, attach input_data to ImportUser objects that are to be deleted
[4.3 26cc5fcb] Bug #46384: changelog

ucs-school-import (15.0.3-26)
ucs-school-import (16.0.1-4)
Comment 2 Sönke Schwardt-Krummrich univentionstaff 2018-02-28 09:58:54 CET
OK: code change
OK: functional change
??: automatic tests → currently missing → Bug 46439
OK: manual tests / jenkins tests
OK: changelog entry
OK: advisory
OK: changes merged to 4.2-3 and 4.3-0
OK: package built
Comment 3 Sönke Schwardt-Krummrich univentionstaff 2018-05-02 17:52:52 CEST
UCS@school 4.2 v9 has been released.

https://docs.software-univention.de/changelog-ucsschool-4.2v9-de.html

If this error occurs again, please clone this bug.