You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@vcl.apache.org by "Andy Kurth (JIRA)" <ji...@apache.org> on 2015/08/12 19:10:46 UTC
[jira] [Updated] (VCL-881) Schedules cannot be deleted from web UI
[ https://issues.apache.org/jira/browse/VCL-881?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Andy Kurth updated VCL-881:
---------------------------
Summary: Schedules cannot be deleted from web UI (was: cannot delete schedules)
> Schedules cannot be deleted from web UI
> ---------------------------------------
>
> 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.5
>
>
> 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)