[ 
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)

Reply via email to