Skip to content

Commit d7631d7

Browse files
authored
packaged version 4.27.1 (#348)
1 parent 69be18d commit d7631d7

File tree

9 files changed

+31
-21
lines changed

9 files changed

+31
-21
lines changed

CHANGELOG.md

+6
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
11
# Changelog
22

3+
## [4.27.1]
4+
5+
### Fixed
6+
- Fixed the issue with products data fetch that prevented the correct import and allows import of only the first 10 products
7+
38
## [4.27.0]
49

510
### Added
@@ -1738,6 +1743,7 @@
17381743
in fact, reset postdata, so far as Gutenberg 3.2.0 is concerned.
17391744

17401745

1746+
[4.27.1]: https://github.com/bigcommerce/bigcommerce-for-wordpress/compare/4.27.0...4.27.1
17411747
[4.27.0]: https://github.com/bigcommerce/bigcommerce-for-wordpress/compare/4.26.1...4.27.0
17421748
[4.26.1]: https://github.com/bigcommerce/bigcommerce-for-wordpress/compare/4.26.0...4.26.1
17431749
[4.26.0]: https://github.com/bigcommerce/bigcommerce-for-wordpress/compare/4.25.0...4.26.0

bigcommerce.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
Plugin Name: BigCommerce for WordPress
44
Description: Scale your ecommerce business with WordPress on the front-end and BigCommerce on the back end. Free up server resources from things like catalog management, processing payments, and managing fulfillment logistics.
55
Author: BigCommerce
6-
Version: 4.27.0
6+
Version: 4.27.1
77
Author URI: https://www.bigcommerce.com/wordpress
88
Requires PHP: 7.4.0
99
Text Domain: bigcommerce

build-timestamp.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
<?php
2-
define('BIGCOMMERCE_ASSETS_BUILD_TIMESTAMP', '4.46.04.18.2022');
2+
define('BIGCOMMERCE_ASSETS_BUILD_TIMESTAMP', '7.48.04.19.2022');

readme.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ Contributors: bigcommerce, moderntribe, jbrinley, becomevocal, vincentlistrani,
33
Tags: ecommerce, online store, sell online, storefront, retail, online shop, bigcommerce, big commerce, e-commerce, physical products, buy buttons, commerce, shopping cart, checkout, cart, shop, headless commerce, shipping, payments, fulfillment
44
Requires at least: 5.2
55
Tested up to: 5.9.2
6-
Stable tag: 4.27.0
6+
Stable tag: 4.27.1
77
Requires PHP: 7.4.0
88
License: GPLv2 or later
99
License URI: https://www.gnu.org/licenses/gpl-2.0.html

src/BigCommerce/Import/Processors/Product_Data_Fetcher.php

+8-4
Original file line numberDiff line numberDiff line change
@@ -83,11 +83,15 @@ public function run() {
8383
do_action( 'bigcommerce/log', Error_Log::DEBUG, $e->getTraceAsString(), [] );
8484

8585
return;
86-
} catch ( \InvalidArgumentException $e ) {
86+
} catch ( \Exception $e ) {
8787
do_action( 'bigcommerce/import/error', $e->getMessage(), [] );
8888
do_action( 'bigcommerce/log', Error_Log::DEBUG, $e->getTraceAsString(), [] );
89+
do_action( 'bigcommerce/log', Error_Log::DEBUG, __( 'Chunk failed. Finish chunk processing and move to next chunk', 'bigcommerce' ), [
90+
'limit' => $this->limit,
91+
'ids' => $product_ids,
92+
] );
8993

90-
$this->fetch_end( $next, $status );
94+
$this->fetch_end( $next, $status, $chunks );
9195

9296
return;
9397
}
@@ -168,10 +172,10 @@ public function run() {
168172
*/
169173
do_action( 'bigcommerce/import/fetched_products', $count, $products_response );
170174

171-
$this->fetch_end( $next, $status );
175+
$this->fetch_end( $next, $status, $chunks );
172176
}
173177

174-
private function fetch_end( $next, $status ) {
178+
private function fetch_end( $next, $status, $chunks ) {
175179
$next ++;
176180
if ( ! empty( $chunks[ $next ] ) ) {
177181
do_action( 'bigcommerce/log', Error_Log::DEBUG, __( 'Ready for next page of products', 'bigcommerce' ), [

src/BigCommerce/Plugin.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
namespace BigCommerce;
55

66
class Plugin {
7-
const VERSION = '4.27.0';
7+
const VERSION = '4.27.1';
88

99
protected static $_instance;
1010

vendor/autoload.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,4 @@
44

55
require_once __DIR__ . '/composer/autoload_real.php';
66

7-
return ComposerAutoloaderInit20bda62d8c74d68a256c8b8253530c0b::getLoader();
7+
return ComposerAutoloaderInita17f01c806497ab3b4c001c6cdee5a72::getLoader();

vendor/composer/autoload_real.php

+7-7
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
// autoload_real.php @generated by Composer
44

5-
class ComposerAutoloaderInit20bda62d8c74d68a256c8b8253530c0b
5+
class ComposerAutoloaderInita17f01c806497ab3b4c001c6cdee5a72
66
{
77
private static $loader;
88

@@ -19,15 +19,15 @@ public static function getLoader()
1919
return self::$loader;
2020
}
2121

22-
spl_autoload_register(array('ComposerAutoloaderInit20bda62d8c74d68a256c8b8253530c0b', 'loadClassLoader'), true, true);
22+
spl_autoload_register(array('ComposerAutoloaderInita17f01c806497ab3b4c001c6cdee5a72', 'loadClassLoader'), true, true);
2323
self::$loader = $loader = new \Composer\Autoload\ClassLoader();
24-
spl_autoload_unregister(array('ComposerAutoloaderInit20bda62d8c74d68a256c8b8253530c0b', 'loadClassLoader'));
24+
spl_autoload_unregister(array('ComposerAutoloaderInita17f01c806497ab3b4c001c6cdee5a72', 'loadClassLoader'));
2525

2626
$useStaticLoader = PHP_VERSION_ID >= 50600 && !defined('HHVM_VERSION') && (!function_exists('zend_loader_file_encoded') || !zend_loader_file_encoded());
2727
if ($useStaticLoader) {
2828
require_once __DIR__ . '/autoload_static.php';
2929

30-
call_user_func(\Composer\Autoload\ComposerStaticInit20bda62d8c74d68a256c8b8253530c0b::getInitializer($loader));
30+
call_user_func(\Composer\Autoload\ComposerStaticInita17f01c806497ab3b4c001c6cdee5a72::getInitializer($loader));
3131
} else {
3232
$classMap = require __DIR__ . '/autoload_classmap.php';
3333
if ($classMap) {
@@ -39,19 +39,19 @@ public static function getLoader()
3939
$loader->register(true);
4040

4141
if ($useStaticLoader) {
42-
$includeFiles = Composer\Autoload\ComposerStaticInit20bda62d8c74d68a256c8b8253530c0b::$files;
42+
$includeFiles = Composer\Autoload\ComposerStaticInita17f01c806497ab3b4c001c6cdee5a72::$files;
4343
} else {
4444
$includeFiles = require __DIR__ . '/autoload_files.php';
4545
}
4646
foreach ($includeFiles as $fileIdentifier => $file) {
47-
composerRequire20bda62d8c74d68a256c8b8253530c0b($fileIdentifier, $file);
47+
composerRequirea17f01c806497ab3b4c001c6cdee5a72($fileIdentifier, $file);
4848
}
4949

5050
return $loader;
5151
}
5252
}
5353

54-
function composerRequire20bda62d8c74d68a256c8b8253530c0b($fileIdentifier, $file)
54+
function composerRequirea17f01c806497ab3b4c001c6cdee5a72($fileIdentifier, $file)
5555
{
5656
if (empty($GLOBALS['__composer_autoload_files'][$fileIdentifier])) {
5757
require $file;

vendor/composer/autoload_static.php

+5-5
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
namespace Composer\Autoload;
66

7-
class ComposerStaticInit20bda62d8c74d68a256c8b8253530c0b
7+
class ComposerStaticInita17f01c806497ab3b4c001c6cdee5a72
88
{
99
public static $files = array (
1010
'5255c38a0faeba867671b61dfda6d864' => __DIR__ . '/..' . '/paragonie/random_compat/lib/random.php',
@@ -1139,10 +1139,10 @@ class ComposerStaticInit20bda62d8c74d68a256c8b8253530c0b
11391139
public static function getInitializer(ClassLoader $loader)
11401140
{
11411141
return \Closure::bind(function () use ($loader) {
1142-
$loader->prefixLengthsPsr4 = ComposerStaticInit20bda62d8c74d68a256c8b8253530c0b::$prefixLengthsPsr4;
1143-
$loader->prefixDirsPsr4 = ComposerStaticInit20bda62d8c74d68a256c8b8253530c0b::$prefixDirsPsr4;
1144-
$loader->prefixesPsr0 = ComposerStaticInit20bda62d8c74d68a256c8b8253530c0b::$prefixesPsr0;
1145-
$loader->classMap = ComposerStaticInit20bda62d8c74d68a256c8b8253530c0b::$classMap;
1142+
$loader->prefixLengthsPsr4 = ComposerStaticInita17f01c806497ab3b4c001c6cdee5a72::$prefixLengthsPsr4;
1143+
$loader->prefixDirsPsr4 = ComposerStaticInita17f01c806497ab3b4c001c6cdee5a72::$prefixDirsPsr4;
1144+
$loader->prefixesPsr0 = ComposerStaticInita17f01c806497ab3b4c001c6cdee5a72::$prefixesPsr0;
1145+
$loader->classMap = ComposerStaticInita17f01c806497ab3b4c001c6cdee5a72::$classMap;
11461146

11471147
}, null, ClassLoader::class);
11481148
}

0 commit comments

Comments
 (0)