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 2013/10/30 19:23:28 UTC
[jira] [Created] (VCL-733) editing a block allocation recreates
past block time entries
Josh Thompson created VCL-733:
---------------------------------
Summary: 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.1#6144)