Project

General

Profile

Actions

Bug #26861

closed

mgr/dashboard: Email addr is set to false when RGW user is modified

Added by Volker Theile over 5 years ago. Updated about 3 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Stephan Müller
Category:
Component - RGW
Target version:
% Done:

0%

Source:
Development
Tags:
Backport:
Regression:
Yes
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):

Description

When a RGW user is modified via the dashboard UI, then an empty email field is submitted with the value 'false'. Seems to be a problem while collecting the modified fields before they are submitted to the backend.

Modifying a user whit a modified max buckets field finally looks like http://localhost:4200/api/rgw/user/test4?display_name=test4&email=false&max_buckets=1001&suspended=0

A more or less equal problem in the backend was fixed with https://github.com/ceph/ceph/pull/22024 (issue https://tracker.ceph.com/issues/24142).

Actions #1

Updated by Volker Theile over 5 years ago

  • Assignee set to Stephan Müller
  • Regression changed from No to Yes
Actions #2

Updated by Volker Theile over 5 years ago

The behaviour of the class CdFormGroup introduced by PR 22644 is not exactly the same as the origin FormGroup. Please fix the issue in the CdFormGroup class or the RGW user form. I suggest to fix it in CdFormGroup because there is surely other code that assumes the behaviour of the origin FormGroup class (e.g. RGW bucket management). I don't understand the sense of an boolean result if the input field is of type string. The current implementation is erroneous for input fields that accept empty values.

Actions #3

Updated by Stephan Müller over 5 years ago

  • Status changed from New to Fix Under Review
Actions #5

Updated by Lenz Grimmer over 5 years ago

  • Status changed from Fix Under Review to Resolved
Actions #6

Updated by Ernesto Puerta about 3 years ago

  • Project changed from mgr to Dashboard
  • Category changed from 143 to Component - RGW
Actions

Also available in: Atom PDF