Project

General

Profile

Actions

Bug #3128

closed

EC2 images listing when creating a new host broken in 1.3 RC1

Added by Alejandro Falcon over 10 years ago. Updated over 10 years ago.

Status:
Closed
Priority:
Urgent
Category:
Compute resources
Target version:
Difficulty:
Triaged:
Fixed in Releases:
Found in Releases:

Description

Upgraded to 1.3 RC1 and found that this commit breaks EC2 images listing when creating a new host or editing.

https://github.com/theforeman/foreman/commit/76e5dd41bd575f7e6df7c7422660510216a9b964

Just changed back the following in app/controllers/images_controller.rb and it started working again.

from this:

@images = @compute_resource.images.search_for(params[:search], :order => params[:order]).paginate :page => params[:page]

to this:

respond_to do |format|
format.html { @images = values.paginate :page => params[:page] }
format.json { render :json => values }
end


Related issues 1 (0 open1 closed)

Has duplicate Foreman - Bug #3153: Failing to create ec2 VPC instancesDuplicate09/26/2013Actions
Actions #1

Updated by Dominic Cleal over 10 years ago

  • Priority changed from Immediate to Urgent
Actions #2

Updated by Greg Sutcliffe over 10 years ago

  • Status changed from New to Ready For Testing
  • Assignee set to Greg Sutcliffe
Actions #3

Updated by Dominic Cleal over 10 years ago

  • Has duplicate Bug #3153: Failing to create ec2 VPC instances added
Actions #4

Updated by Greg Sutcliffe over 10 years ago

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

Updated by Lukas Zapletal over 10 years ago

  • Related to Tracker #3112: [TRACKER] Issues to be released in 1.3 RC or final added
Actions #6

Updated by Lukas Zapletal over 10 years ago

  • Related to deleted (Tracker #3112: [TRACKER] Issues to be released in 1.3 RC or final)
Actions

Also available in: Atom PDF