Bug 50710 - [Kelvin API] allow setting attribute to empty value
Summary: [Kelvin API] allow setting attribute to empty value
Status: CLOSED FIXED
Alias: None
Product: UCS@school
Classification: Unclassified
Component: HTTP-API (Kelvin)
Version: UCS@school 4.4
Hardware: Other Linux
: P5 normal
Target Milestone: ---
Assignee: Daniel Tröder
QA Contact: Ole Schwiegert
URL:
Keywords:
Depends on:
Blocks: 50637
  Show dependency treegraph
 
Reported: 2020-01-12 12:44 CET by Daniel Tröder
Modified: 2021-02-23 09:30 CET (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):
Customer ID:
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 2020-01-12 12:44:17 CET
The school_classes attribute and others must be allowed to be set to an empty value.
Comment 1 Daniel Tröder univentionstaff 2020-01-12 12:45:39 CET
With this change the test "test_12_modify_teacher_remove_all_classes" in ucs-test-ucsschool/94_ucsschool-api-kelvin/03_user_resource succeeds:

[feature/kelvin aecc77820] Bug #50710: allow setting attribute to empty value
Comment 2 Ole Schwiegert univentionstaff 2020-01-22 13:05:05 CET
Tests green: OK
Function works: OK
Comment 3 Daniel Tröder univentionstaff 2021-02-23 09:30:00 CET
A Kelvin API app with the changes in this bug has been published.