﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc	blockedby	blocking
1447	Probleme bei Downloadshops nach Update von 1.06 rev 4642 SP4 nach 2.0.3.0 rev 10907	Torsten Riemer	somebody	"Durch die ""update_1.0.6.4_to_2.0.0.0.sql"" kam die Spalte ""download_key"" in Tabelle ""orders_products_download"" hinzu.

Dieser Wert wird aber erst durch die ""checkout_process.php"" gesetzt:
{{{
          if (isset($attributes_dl_array['products_attributes_filename']) && xtc_not_null($attributes_dl_array['products_attributes_filename'])) {
            $sql_data_array = array (
                'orders_id' => $insert_id,
                'orders_products_id' => $order_products_id,
                'orders_products_filename' => $attributes_dl_array['products_attributes_filename'],
                'download_maxdays' => $attributes_dl_array['products_attributes_maxdays'],
                'download_count' => $attributes_dl_array['products_attributes_maxcount'],
                'download_key' => md5($insert_id.$order_products_id.$_SESSION['customer_id'].$order->customer['email_address'].$attributes_dl_array['products_attributes_filename'])
              );
            foreach(auto_include(DIR_FS_CATALOG.'includes/extra/checkout/checkout_process_download/','php') as $file) require ($file);
            xtc_db_perform(TABLE_ORDERS_PRODUCTS_DOWNLOAD, $sql_data_array);
          }
}}}
Das Problem tritt dann auf, wenn ein Downloadshop beispielsweise innerhalb eines Jahres beliebig viele Downloads zulässt, da beispielsweise Updates in dieser Zeit kostenlos sind. Hat ein Kunde den Download-Artikel vor dem Update von 1.06 rev 4642 SP4 auf 2.x gekauft, dann ist es für diesen Kunden nach dem Update auf 2.x aufgrund der neuen ""download.php"" nicht mehr möglich für die restliche Zeit die Downloads zu laden."	Bug/Fehler	closed	hoch	modified-shop-2.0.5.1	Shop	2.0.3.0	fixed				
