Project

General

Profile

Actions

Bug #14109

closed

incremental import does not work

Added by Chris Duryee about 8 years ago. Updated over 5 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
-
Target version:
Difficulty:
Triaged:
Fixed in Releases:
Found in Releases:

Description

When attempting an incremental import, the following error occurs:

Could not synchronize the repository:
  no implicit conversion of Symbol into Integer

This appears to be related to the patch for #13653, which changed the format of the file list slightly.

A quick patch to incremental_import.rb:

          rpm_filepaths = rpm_files.collect do |filepath|
              {path: filepath, filename: File.basename(filepath)}
          end

Then, passing rpm_filepaths to the UploadFiles action will succeed.

Actions #1

Updated by Chris Duryee about 8 years ago

  • Bugzilla link set to 1315965
Actions #2

Updated by The Foreman Bot about 8 years ago

  • Status changed from Assigned to Ready For Testing
  • Pull request https://github.com/Katello/katello/pull/5865 added
Actions #3

Updated by Chris Duryee about 8 years ago

  • Status changed from Ready For Testing to Closed
  • % Done changed from 0 to 100
Actions

Also available in: Atom PDF