このコミットが含まれているのは:
2026-07-12 01:39:31 +09:00
コミット f636d2a177
3個のファイルの変更27行の追加9行の削除
+4 -1
ファイルの表示
@@ -30,7 +30,10 @@ class PostImportRunner
attributes:, provenance: row['provenance'],
tag_sources: row['tag_sources'] }],
fetch_metadata: false).first
return { source_row: row['source_row'], status: 'failed', errors: preview[:errors] } if preview[:errors].present?
if preview[:validation_errors].present?
return { source_row: row['source_row'], status: 'failed',
errors: preview[:validation_errors] }
end
return row.slice('source_row').merge(status: 'skipped') if @existing == 'skip' && preview[:existing]
attributes['tags'] = preview[:attributes]['tags']
attributes['url'] = row['url']