[Vtigercrm-commits] [vtiger development] #6185: Import creates duplicates with overwrite option on. Overwrite stops halfway through import.
vtiger development
vtiger-tickets at trac.vtiger.com
Wed Jul 22 14:17:19 EDT 2009
#6185: Import creates duplicates with overwrite option on. Overwrite stops halfway
through import.
------------------------+---------------------------------------------------
Reporter: R.Cohen | Owner: developer
Type: defect | Status: new
Priority: unassigned | Milestone: 5.1.0
Component: vtigercrm | Version: 5.1.0
Keywords: |
------------------------+---------------------------------------------------
ImportSave.php
Line 57
{{{
document.location.href="index.php?action=<?php echo $action?>&module=<?php
echo $module?>&modulename=<?php echo $modulename?>&startval=<?php echo
$end?>&recordcount=<?php echo $RECORDCOUNT?>&noofrows=<?php echo
$totalnoofrows?>&message=<?php echo $message?>&skipped_record_count=<?php
echo $skip_required_count?>&parenttab=<?php echo
vtlib_purify($_SESSION['import_parenttab'])?>&dup_type=<?php echo
$dup_check_type?>";
}}}
Does not preserve the the''' $_REQUEST['auto_type']''' value which
triggers the overwrite function. After the second call to Step3 the
duplicate function would then stop working and the import would create
duplicate records.
{{{
function is_record_exist($module,$focus)
{
global $adb;
global $dup_ow_count;
$dup_check_type = $_REQUEST['dup_type'];
$auto_dup_type = "";
$sec_parameter = "";
if($dup_check_type == 'auto')
{
$auto_dup_type = $_REQUEST['auto_type'];
}}}
--
Ticket URL: <http://trac.vtiger.com/cgi-bin/trac.cgi/ticket/6185>
vtiger development <http://trac.vtiger.com/>
vtigerCRM
More information about the vtigercrm-commits
mailing list