#50605 Issue 50604 - Fix UI validation
Closed by spichugi. Opened by mreynolds.
mreynolds/389-ds-base ui  into  master

Download 50605.patch

Description:

This issue has been opened to track a series of bugzillas that were filed by our QE group during a massive UI testing day. Here are the issues being addressed in this issue:

  • Replication agreement disappears from table after browser refresh
    • https://bugzilla.redhat.com/show_bug.cgi?id=1751128
  • Fix log rotation time validation
    • https://bugzilla.redhat.com/show_bug.cgi?id=1751004
  • Check backup/ldif name to see if it already exists
    • https://bugzilla.redhat.com/show_bug.cgi?id=1751007
    • https://bugzilla.redhat.com/show_bug.cgi?id=1751009
  • Root DN should not be editable
    • https://bugzilla.redhat.com/show_bug.cgi?id=1751011
  • Backup should check if there is a database available
    • https://bugzilla.redhat.com/show_bug.cgi?id=1751019
    • Also fixed backup duplicate timestamp issue
  • Fixed instance creation error handing
    • https://bugzilla.redhat.com/show_bug.cgi?id=1751026
  • Fixed export/inout issues. Check for existing back or ldif
    • https://bugzilla.redhat.com/show_bug.cgi?id=1751019
  • Validate SSL version min and max
    • https://bugzilla.redhat.com/show_bug.cgi?id=1751072
  • Can not promte/demote replica
    • https://bugzilla.redhat.com/show_bug.cgi?id=1751145
  • Database link creation and deletion issue
    • https://bugzilla.redhat.com/show_bug.cgi?id=1751157
  • Agreement name validation during creation
    • https://bugzilla.redhat.com/show_bug.cgi?id=1751165
  • Validate referral port
    • https://bugzilla.redhat.com/show_bug.cgi?id=1751173
  • Fix deleteion of config attributes
    • https://bugzilla.redhat.com/show_bug.cgi?id=1751190

There was an overall improvement when creating suffixes/databases on how to initialize them

relates: https://pagure.io/389-ds-base/issue/50604

Reviewed by: ?

We also should deal with the situation when this.state.ldifName has a name without .ldif extension because it will eventually add the extension and replace the existing backup.

Like:
1. Create backupname
2. Try to create backupname again

It replaces original backupname.ldif without any question

While trying to restore the suffix from backup, it fails with Unwilling to perform.
The errors log has this error:

[16/Sep/2019:16:40:42.491330044 +0000] - ERR - task_restore_add - No archive2db function defined.

rebased onto c403a39c8db68243524bd0cc50529167ac0d9fb2

While trying to restore the suffix from backup, it fails with Unwilling to perform.
The errors log has this error:
[16/Sep/2019:16:40:42.491330044 +0000] - ERR - task_restore_add - No archive2db function defined.

This is more a DS bug, we should open a new ticket because the backup works for an empty database, but not restore.

Pull-Request has been merged by mreynolds

Okay, just sent you an email.
Anyway, you have my ack then as the first issue is a minor one and easy to fix.
Thanks!

389-ds-base is moving from Pagure to Github. This means that new issues and pull requests
will be accepted only in 389-ds-base's github repository.

This pull request has been cloned to Github as issue and is available here:
- https://github.com/389ds/389-ds-base/issues/3661

If you want to continue to work on the PR, please navigate to the github issue,
download the patch from the attachments and file a new pull request.

Thank you for understanding. We apologize for all inconvenience.

Pull-Request has been closed by spichugi

Metadata