Bug #6581
closed
Requesting template via AJAX causes stack level too deep error.
Added by Leon Strong almost 11 years ago.
Updated over 5 years ago.
Category:
Compute resources - oVirt
|
Description
Started POST "/compute_resources/[template_id]/template_selected" for 127.0.0.1 at 2014-07-11 20:52:08 +1200
Processing by ComputeResourcesController#template_selected as /*
Parameters: {"template_id"=>"00000000-0000-0000-0000-000000000000", "id"=>"1-oss"}
User Load (0.1ms) SELECT "users". FROM "users" WHERE "users"."id" = ? LIMIT 1 "id", 3
Setting current user thread-local variable to admin
ComputeResource Load (0.1ms) SELECT "compute_resources".* FROM "compute_resources" WHERE "compute_resources"."id" = ? ORDER BY compute_resources.name LIMIT 1 "id", "1-oss"
Completed 500 Internal Server Error in 746.0ms
SystemStackError (stack level too deep):
- Category changed from Templates to Compute resources - oVirt
pretty sure this is related to something in the fog_json gem,
def self.encode(obj)
MultiJson.encode(obj)
rescue => err
raise EncodeError.slurp(err)
end
Seems to be where it's going nutso.. i'm just not entirely sure what to do in order to resolve it as it seems to work fine when not used inside our rails environment - that an i'm not 100% convinced it's not something dumb i've done locally. can someone else confirm it?
- Status changed from New to Closed
I believe this issue is not relevant anymore, there is no such API call
POST "/compute_resources/[template_id]/template_selected"
Also, this bug is open for 5 years already with no fix or any comments, so i'm closing this issue.
Also available in: Atom
PDF