Bug 42672 - univention.testing.udm....create_object() doesn't evaluate ignore_exists=True
univention.testing.udm....create_object() doesn't evaluate ignore_exists=True
Status: CLOSED FIXED
Product: UCS Test
Classification: Unclassified
Component: Framework
unspecified
Other Linux
: P5 normal (vote)
: UCS 4.2
Assigned To: Florian Best
Philipp Hahn
: interim-2
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2016-10-13 16:11 CEST by Florian Best
Modified: 2017-04-04 18:29 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 Florian Best univentionstaff 2016-10-13 16:11:10 CEST
One cannot set univention.testing.udm.….create_object(…, ignore_exists=True)
Comment 1 Florian Best univentionstaff 2016-10-13 18:54:38 CEST
Fixed here:

ucs-test (7.0.6-13):
r73184 | Bug #42672: univention.testing.udm is capable of create --ignore-exists now

Also the UDMTestException class has a __str__ method now so that the output if a test script fails is more human readable.
Comment 2 Philipp Hahn univentionstaff 2017-01-20 15:00:23 CET
REOPEN: r73184
 Don't add existing objects to _cleanup

OK: No ChangeLog
Comment 3 Florian Best univentionstaff 2017-01-20 15:02:16 CET
(In reply to Philipp Hahn from comment #2)
> REOPEN: r73184
>  Don't add existing objects to _cleanup
> 
> OK: No ChangeLog

ucs-test (7.0.9-1):
r75965 | Bug #42672: don't remove objects created with ignore_exists
Comment 4 Philipp Hahn univentionstaff 2017-01-20 15:19:06 CET
OK: r75965 r75966
OK: /usr/share/ucs-test/63_udm-containers/00_container_ou_creation + ignore_exists=True
Comment 5 Stefan Gohmann univentionstaff 2017-04-04 18:29:27 CEST
UCS 4.2 has been released:
 https://docs.software-univention.de/release-notes-4.2-0-en.html
 https://docs.software-univention.de/release-notes-4.2-0-de.html

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