Bug 46439 - (ucs-test) input_data missing in user object when deleting users
(ucs-test) input_data missing in user object when deleting users
Status: CLOSED FIXED
Product: UCS@school
Classification: Unclassified
Component: ucs-test
UCS@school 4.2
Other Linux
: P5 normal (vote)
: UCS@school 4.2 v9
Assigned To: Daniel Tröder
Jürn Brodersen
:
Depends on: 46384
Blocks:
  Show dependency treegraph
 
Reported: 2018-02-27 16:51 CET by Sönke Schwardt-Krummrich
Modified: 2018-04-17 13:43 CEST (History)
1 user (show)

See Also:
What kind of report is it?: Development Internal
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 Sönke Schwardt-Krummrich univentionstaff 2018-02-27 16:51:04 CET
Please add a small test script, that checks if the imput_data is still available in pyhooks for users that are about to be deleted.

+++ This bug was initially created as a clone of Bug #46384 +++

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-03-21 17:17:56 CET
[4.3 53a57264] Bug #46439: add test for input_data in pyhooks in legacy inport
[4.3 74c45036] Bug #46439: changelog

ucs-test-ucsschool (5.0.2-23)

[4.2 7186fe16] Bug #46439: add test for input_data in pyhooks in legacy inport
[4.2 b605fb05] Bug #46439: changelog

ucs-test-ucsschool (4.0.4-70)
Comment 2 Jürn Brodersen univentionstaff 2018-04-05 12:28:02 CEST
OK
Tests are working

-> Verified
Comment 3 Sönke Schwardt-Krummrich univentionstaff 2018-04-17 13:43:24 CEST
no release required → CLOSED