Issue #3719 has been updated by Rein Henrichs.

Status changed from Accepted to Ready for Testing
Branch set to feature/master/3719-node_class-pagination 

Paired with Igal, wrote a bunch of tests. Mission accomplished.
----------------------------------------
Bug #3719: Classes search in edit nodes only sees the first 30 classes
http://projects.puppetlabs.com/issues/3719

Author: Stefan Goethals
Status: Ready for Testing
Priority: Normal
Assigned to: 
Category: 
Target version: 1.1
Keywords: 
Branch: feature/master/3719-node_class-pagination 
Affected URL: 


In the latest git version :

commit 68b53fd189e81872be547888b48d8366e34e0a7e
Author: Rein Henrichs <[email protected]>
Date:   Fri Apr 30 16:10:07 2010 -0700

The search for classes when editing a node only finds the first 30 classes. 
Because of this i can not add any of my new classes to a node :-(

This limit clause is absent in the older, working, version i tested.

Processing NodeClassesController#index to json (for 10.0.4.80 at 2010-05-04 
20:59:13) [GET]
  Parameters: {"format"=>"json", "action"=>"index", "tag"=>"pe", 
"controller"=>"node_classes"}
  NodeClass Load (0.7ms)   SELECT * FROM `node_classes` LIMIT 0, 30
  NodeClass Columns (1.6ms)   SHOW FIELDS FROM `node_classes`
  SQL (0.5ms)   SELECT count(*) AS count_all FROM `node_classes` 
Completed in 33ms (View: 18, DB: 0) | 200 OK 
[http://poison/node_classes.json?tag=pe]

I don't have more than 30 groups but it also applies the limit in the groups 
search so i suppose the same problem exists.




-- 
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