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

Fixed In Version: 389-ds-base-1.4.1.6-2.module+el8dsrv+3912+aa2ce078.x86_64
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2019-11-06 12:42:20 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHEA-2019:3731 0 None None None 2019-11-06 12:42:31 UTC

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

Comment 4 Viktor Ashirov 2019-09-27 13:52:40 UTC
Builds tested:
389-ds-base-1.4.1.9-1.module+el8dsrv+4243+ba0eb3c6.x86_64
cockpit-389-ds-1.4.1.9-1.module+el8dsrv+4243+ba0eb3c6.noarch

If backup name is not specified, it gets populated automatically, i.e. backup-2019_09_27_09_50_13

Marking as VERIFIED.

Comment 6 errata-xmlrpc 2019-11-06 12:42:20 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHEA-2019:3731


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