Issue #9182 has been updated by James Turnbull.

Status changed from In Topic Branch Pending Merge to Closed
Target version set to 1.2


----------------------------------------
Bug #9182: You can't add classes or groups to a group when you're creating it, 
or to a node when creating it.
https://projects.puppetlabs.com/issues/9182

Author: Matt Robinson
Status: Closed
Priority: Normal
Assignee: Michael Stahnke
Category: 
Target version: 1.2
Keywords: 
Branch: 
https://github.com/mmrobins/puppet-dashboard/tree/ticket/1.2rc/9182-add_classes_and_groups
Affected URL: 
Affected Dashboard version: 


Trying to do so results in:

    Couldn't find NodeClass with ID=foo
    RAILS_ROOT: /Users/matthewrobinson/work/puppet-dashboard

    Application Trace | Framework Trace | Full Trace
    
/Users/matthewrobinson/work/puppet-dashboard/vendor/rails/activerecord/lib/active_record/base.rb:1620:in
 `find_one'
    
/Users/matthewrobinson/work/puppet-dashboard/vendor/rails/activerecord/lib/active_record/base.rb:1603:in
 `find_from_ids'
    
/Users/matthewrobinson/work/puppet-dashboard/vendor/rails/activerecord/lib/active_record/base.rb:620:in
 `find'
    /Users/matthewrobinson/work/puppet-dashboard/app/models/node_class.rb:35:in 
`find_from_form_ids' 
    /Users/matthewrobinson/work/puppet-dashboard/app/models/node_class.rb:35:in 
`map'
    /Users/matthewrobinson/work/puppet-dashboard/app/models/node_class.rb:35:in 
`find_from_form_ids' 
    /Users/matthewrobinson/work/puppet-dashboard/app/models/node_group.rb:50:in 
`assign_node_classes'

The problem is that there's a tokenize_input_class method that uses javascript 
to map node and class names to ids, and it's not getting the data it needs on 
most pages.


-- 
You have received this notification because you have either subscribed to it, 
or are involved in it.
To change your notification preferences, please click here: 
http://projects.puppetlabs.com/my/account

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Bugs" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/puppet-bugs?hl=en.

Reply via email to