Issue #16791 has been updated by Andrew  Parker.

The changes in puppet 3 did remove the symbolize method, but the backport of 
the fixes to 2.7 didn't backport that removal, so it is still there.

Since it is removed in 3, we should include a deprecation warning with the 
symbolize method in 2.7.
----------------------------------------
Bug #16791: Performance improvements make breaking API changes in 2.7.x
https://projects.puppetlabs.com/issues/16791#change-74949

Author: Josh Cooper
Status: Accepted
Priority: Normal
Assignee: Andrew  Parker
Category: API
Target version: 2.7.20
Affected Puppet version: development
Keywords: 
Branch: 


The `Puppet::Util.symbolize` method is used by some modules:

<pre>
puppetlabs-mysql/lib/puppet/provider/database_grant/mysql.rb
118:            privs.collect do |p| symbolize(p[0].downcase) end

puppetlabs-mysql/lib/puppet/type/database_grant.rb
35:      symbolize(v)
</pre>

But was removed in 2.7.x as part of backporting performance fixes. We should 
add the method back in 2.7.x before 2.7.20, and add a deprecation warning.


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