The Restore and Backup Delete tasks allow the user to submit the form and add restore/backup_delete tasks to the queue even when no backups were available to be restored from.

We need a hook_validate here to form_set_error if no backups exist, or simply hide those task buttons entirely if no backups exist

Comments

Anonymous’s picture

Priority: Normal » Minor
Anonymous’s picture

Status: Active » Fixed

Fixed it.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

dsobon’s picture

Where's the link to the patch / commit?

Anonymous’s picture

  • Commit 7a33b40 on 6.x-2.x, 7.x-3.x, dev-ssl-ip-allocation-refactor, dev-sni, dev-helmo-3.x by mig5:
    #1059328 add validation to restore and backup_delete forms, so that they...

  • Commit 7a33b40 on 6.x-2.x, 7.x-3.x, dev-ssl-ip-allocation-refactor, dev-sni, dev-helmo-3.x by mig5:
    #1059328 add validation to restore and backup_delete forms, so that they...