Skip to content

Commit

Permalink
Merge pull request #466 from WildMeOrg/bulk-import-llow-empty-images
Browse files Browse the repository at this point in the history
Makes an empty MediaAsset column a non-blocking validation.
  • Loading branch information
holmbergius authored Apr 13, 2024
2 parents 29a2e51 + c08703f commit 194810d
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1587,8 +1587,8 @@ public MediaAsset getMediaAsset(Row row, int i, AssetStore astore, Shepherd mySh
String fullPath = null;
try {

if (localPath==null||"null".equals(localPath)) {
feedback.logParseError(assetColIndex(i, allColsMap), localPath, row);
if (localPath==null||"null".equals(localPath)||"".equals(localPath.trim())) {
feedback.logParseNoValue(assetColIndex(i, allColsMap));
return null;
}

Expand Down

0 comments on commit 194810d

Please sign in to comment.