Bug 1688919 - RHDS WebUI - Disable the creation of backups with empty name.
Summary: RHDS WebUI - Disable the creation of backups with empty name.
Status: POST
Alias: None
Product: Red Hat Directory Server
Classification: Red Hat
Component: UI - General UI
Version: 11.0
Hardware: All
OS: Linux
unspecified
medium
Target Milestone: ---
: ---
Assignee: mreynolds
QA Contact: RHDS QE
URL:
Whiteboard:
Keywords:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2019-03-14 17:50 UTC by Têko Mihinto
Modified: 2019-03-25 15:28 UTC (History)
3 users (show)

(edit)
Clone Of:
(edit)
Last Closed:


Attachments (Terms of Use)

Description Têko Mihinto 2019-03-14 17:50:02 UTC
Description of problem:
Once can create a backup with specifying a name.

Version-Release number of selected component (if applicable):
# rpm -qa | grep ^389
389-ds-base-1.4.1.1-20190312git813030cc7.el8.x86_64
389-ds-base-libs-1.4.1.1-20190312git813030cc7.el8.x86_64
#

How reproducible:
Always.

Steps to Reproduce:
1. Create a suffix
2. Take a backup of the suffix using the UI.
3. Fill in the field "Backup Name" with the name of the backup.
4. Click again on the button "Create Backup" and this time leave the name field empty.
5. A new backup will be created with the name <PREVIOUS_NAME>.bak
6. Run again the step 4). No new backup will be created.

Actual results:
The backup behavior is not not consistent.

Expected results:
Either:
* disable the "Do Backup" button
or
* use default name for the backup when the name field is empy ( use timestamp? )

Additional info:

Comment 2 mreynolds 2019-03-25 15:28:14 UTC
https://pagure.io/389-ds-base/issue/50289


Note You need to log in before you can comment on or make changes to this bug.