You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@vcl.apache.org by "Josh Thompson (JIRA)" <ji...@apache.org> on 2015/07/08 19:00:08 UTC

[jira] [Created] (VCL-881) cannot delete schedules

Josh Thompson created VCL-881:
---------------------------------

             Summary: cannot delete schedules
                 Key: VCL-881
                 URL: https://issues.apache.org/jira/browse/VCL-881
             Project: VCL
          Issue Type: Bug
          Components: web gui (frontend)
    Affects Versions: 2.4.2
            Reporter: Josh Thompson
             Fix For: 2.4.3


Schedules cannot be deleted. In toggleDeleteResource in resource.php, the call to $this->submitToggleDeleteResourceExtra($rscid); needs to be moved to be above the query to delete the entry from the resource table.

The problem is that it attempts to delete the entry from the schedule table before deleting any entries from the scheduletimes table, which has a foreign key constraint on the schedule table.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)