-
Type: Bug Report
-
Status: Closed
-
Priority: Minor
-
Resolution: Fixed
-
Affects Version/s: 5.2.1-RC1
-
Fix Version/s: 5.2.1
-
Component/s: Data Management
-
Labels:None
-
Change Log Group:Fixed
-
Change Log Message:The category item thumbnail image was never update during CSV import, when "image alt" was empty.
-
Copy Issue Key:
-
Patch Instructions:
In-Portal has such code which used during category item CSV-import process ("restorePrimaryImage" method of "kCatDBEventHandler" class:
core/kernel/db/cat_event_handler.php:2020
$has_image_info = $object->GetDBField('ImageAlt') && ($object->GetDBField('ThumbnailImage') || $object->GetDBField('FullImage')); if ( !$has_image_info ) { return ; }
As we see, if there are no ImageAlt column in file than image field ('ThumbnailImage' or 'FullImage') used for creation or update this image's information is ignored.
Attached patch fixes this problem by removing check on 'ImageAlt' from condition rule.
- mentioned in
-
Page Loading...