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 2014/09/24 20:35:38 UTC
[jira] [Resolved] (VCL-733) editing a block allocation recreates
past block time entries
[ https://issues.apache.org/jira/browse/VCL-733?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Josh Thompson resolved VCL-733.
-------------------------------
Resolution: Fixed
> editing a block allocation recreates past block time entries
> ------------------------------------------------------------
>
> Key: VCL-733
> URL: https://issues.apache.org/jira/browse/VCL-733
> Project: VCL
> Issue Type: Bug
> Components: web gui (frontend)
> Reporter: Josh Thompson
> Fix For: 2.3.3, 2.4
>
>
> When editing a block allocation that specifies a list of dates/times, past blockTimes entries are created. createListBlockData in blockallocations.php needs to be modified. Change
> $btvals[] = "($blockid, "
> . "'$sdatedt', "
> . "'$edatedt')";
> to
> if($method != 'edit' || $edatets >= time()) {
> $btvals[] = "($blockid, "
> . "'$sdatedt', "
> . "'$edatedt')";
> }
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)