Aktionen
GX-Bug #50765
geschlossenProbleme beim neu Erstellen des properties_index
% erledigt:
100%
Geschätzter Aufwand:
Steps to reproduce:
Betroffene Versionen:
3.2.3.0_beta1
Release Notes Langtext:
Das Erstellen des Eigenschaften-Caches durch das CSV-Modul läuft nun stabiler
Beschreibung
Beobachtet in den SaaS-Shops. Hier kommt es nach bzw während eines CSV Imports häufiger dazu, dass die Methode rebuild_properties_index() einen Fehler erzeugt:
2017-03-21 01:54:09 (56ef9fad10957821c492dddaff630ab2) USER ERROR(256): "rebuild_properties_index: typeof($p_products_id) != integer" in /var/www/system/classes/properties/PropertiesDataAgent.inc.php:27
#5 File: /var/www/system/classes/properties/PropertiesDataAgent.inc.php:27
Code:
│ line 25: if(empty($c_products_id))
│ line 26: {
├─ line 27: trigger_error('rebuild_properties_index: typeof($p_products_id) != integer', E_USER_ERROR);
│ line 28: }
│ line 29:
#4 File: /var/www/system/classes/csv/CSVControl.inc.php:847
Code:
│ line 845:
│ line 846: $t_products_id = $this->v_coo_csv_source->get_products_id_from_cache();
├─ line 847: $this->coo_properties_data_agent->rebuild_properties_index($t_products_id);
│ line 848: $this->v_coo_csv_source->delete_products_id_from_cache($t_products_id, 'index');
│ line 849:
#3 File: /var/www/system/classes/csv/CSVAjaxHandler.inc.php:334
Code:
│ line 332: break;
│ line 333: case 'rebuild_properties_index':
├─ line 334: $t_output_array = $coo_csv_control->rebuild_properties_index();
│ line 335: break;
│ line 336:
#2 File: /var/www/system/overloads/CSVAjaxHandler/CSVPriceModelRestrictionAjaxHandler.inc.php:26
Code:
│ line 24: }
│ line 25:
├─ line 26: parent::proceed();
│ line 27: }
│ line 28: }
#1 File: /var/www/system/core/RequestRouter.inc.php:93
Code:
│ line 91: # proceed module and write response to buffer
│ line 92: ob_start();
├─ line 93: $success = $coo_module->proceed();
│ line 94: $content = ob_get_clean();
│ line 95:
#0 File: /var/www/request_port.php:70
Code:
│ line 68: $coo_request_router->set_data('POST', $_POST);
│ line 69:
├─ line 70: $t_proceed_status = $coo_request_router->proceed($f_module_name);
│ line 71: if($t_proceed_status == true) {
│ line 72: $t_output_content = $coo_request_router->get_response();
Request: POST /request_port.php?module=CSV&action=rebuild_properties_index
- duration: ~40ms
- server: nginx/1.10.3
- server address: 172.17.0.20
- user agent: Mozilla/5.0 (Windows NT 10.0; rv:52.0) Gecko/20100101 Firefox/52.0
- remote address: 56ef9fad10957821c492dddaff630ab2
Session:
- tpl: Honeygrid
- MOBILE_ACTIVE: false
- language: german
- languages_id: 2
- language_charset: utf-8
- language_code: de
- currency: EUR
- customers_status: Array
(
[customers_status_id] => 0
[customers_status_name] => Admin
[customers_status_image] => admin_status.gif
[customers_status_public] => 0
[customers_status_min_order] => 0
[customers_status_max_order] => 0
[customers_status_discount] => 0.00
[customers_status_ot_discount_flag] => 1
[customers_status_ot_discount] => 0.00
[customers_status_graduated_prices] => 1
[customers_status_show_price] => 1
[customers_status_show_price_tax] => 1
[customers_status_add_tax_ot] => 1
[customers_status_payment_unallowed] =>
[customers_status_shipping_unallowed] =>
[customers_status_discount_attributes] => 0
[customers_fsk18] => 1
[customers_fsk18_display] => 1
[customers_status_write_reviews] => 1
[customers_status_read_reviews] => 1
)
- cart: shoppingCart Object
(
[contents] => Array
(
)
[total] => 0
[weight] => 0
[cartID] =>
[content_type] =>
[tax] => Array
(
)
)
- wishList: wishList Object
(
[contents] => Array
(
)
[total] => 0
[weight] => 0
[cartID] =>
[content_type] =>
)
- customer_id: 1
- payment: ### Session entry not present ###
- shipping: ### Session entry not present ###
- cartID: ### Session entry not present ###
- sendto: ### Session entry not present ###
- billto: ### Session entry not present ###
Get:
- module: CSV
- action: rebuild_properties_index
Aktionen