DeprecationWarning

by Alex Limi last modified Dec 30, 2008 03:08 PM
Example: DeprecationWarning: The XYZ parameter of XYZ is deprecated and will be ignored in CMF X.Y: XYZ

Deprecation warnings are not errors — they are warnings to the product authors that a certain functionality will disappear sometime in the future, and that they should update their code to use the new structures.

In general, Plone will always show a fair amount of DeprecationWarnings, since we often support several generations of the underlying infrastructure. For example, Plone 2.1 runs on both Zope 2.7.x and 2.8.x, and things that are deprecated in Zope 2.8 can't be removed from our code base since we still have to support Zope 2.7.

Again, DeprecationWarnings are totally harmless, and nothing to worry about — they are simply reminders to the programmers that they will need to update their code in the future.