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)