From 35998e803671bf65ed91cabb80321e175e3158c6 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Bernd=20Ble=C3=9Fmann?= Date: Tue, 11 Apr 2017 21:05:55 +0200 Subject: [PATCH] Revert "CSV-Import: CustomerVender benutzerdefinierte Variable aktualisieren" MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit This reverts commit a8628c6af6ab8303fe67d874adbee0211bd86c1e. Hier wird das eigentliche Problem nur umgangen. Zudem, wie im commit schon erwähnt, sollte handle_cvars nur einmal aufgerufen werden. Es folgen commits, um den Bug zu beheben. --- SL/Controller/CsvImport/CustomerVendor.pm | 3 --- 1 file changed, 3 deletions(-) diff --git a/SL/Controller/CsvImport/CustomerVendor.pm b/SL/Controller/CsvImport/CustomerVendor.pm index 5a3a863d1..f3b8d0443 100644 --- a/SL/Controller/CsvImport/CustomerVendor.pm +++ b/SL/Controller/CsvImport/CustomerVendor.pm @@ -105,9 +105,6 @@ sub check_objects { $existing_vc->$_( $entry->{object}->$_ ) for @{ $methods }, keys %{ $self->clone_methods }; - $self->handle_cvars($entry); - $existing_vc->custom_variables($entry->{object}->custom_variables); - push @{ $entry->{information} }, $::locale->text('Updating existing entry in database'); } else { -- 2.20.1