Skip to content

Commit 2d4d7d6

Browse files
committed
Merge remote-tracking branch 'origin/ACP2E-4119' into PR_2025_09_08_muntianu
2 parents 1cf357b + d70d5f9 commit 2d4d7d6

File tree

2 files changed

+11
-4
lines changed

2 files changed

+11
-4
lines changed

app/code/Magento/CatalogImportExport/Test/Unit/Model/Import/Product/ValidatorTest.php

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -256,7 +256,14 @@ public static function attributeValidationProvider()
256256
false,
257257
'unique_attribute',
258258
false
259-
]
259+
],
260+
[
261+
'any_behavior',
262+
['type' => 'text', 'is_required' => false],
263+
['product_type' => 'any', 'text_attribute' => str_repeat('a', 65536)],
264+
true,
265+
'text_attribute',
266+
],
260267
];
261268
}
262269

app/code/Magento/ImportExport/Model/Import/Entity/AbstractEntity.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<?php
22
/**
3-
* Copyright © Magento, Inc. All rights reserved.
4-
* See COPYING.txt for license details.
3+
* Copyright 2013 Adobe
4+
* All Rights Reserved.
55
*/
66
namespace Magento\ImportExport\Model\Import\Entity;
77

@@ -37,7 +37,7 @@ abstract class AbstractEntity implements EntityInterface
3737

3838
public const DB_MAX_VARCHAR_LENGTH = 256;
3939

40-
public const DB_MAX_TEXT_LENGTH = 65536;
40+
public const DB_MAX_TEXT_LENGTH = 16_777_215;
4141

4242
public const ERROR_CODE_SYSTEM_EXCEPTION = 'systemException';
4343
public const ERROR_CODE_COLUMN_NOT_FOUND = 'columnNotFound';

0 commit comments

Comments
 (0)