non existing 'deprecatedModule' function is still used in zope.app.site.tests

Bug #98535 reported by Baiju Muthukadan
2
Affects Status Importance Assigned to Milestone
Zope 3
Status tracked in 3.4
3.3
Fix Committed
Undecided
Baiju Muthukadan
3.4
Fix Released
Critical
Baiju Muthukadan

Bug Description

zope.deferredimport.deprecatedModule is still used in src/zope/app/site/tests/__init__.py
But 'deprecatedModule' function is no more available from zope.deferredimport

Revision history for this message
Christian Theune (ctheune) wrote :

Hmm. This is untested code as it's only for BBB. I'm fixing the reference.

Changed in zope3:
assignee: nobody → ct-gocept
importance: Undecided → Medium
status: Unconfirmed → In Progress
Revision history for this message
Christian Theune (ctheune) wrote :

Gah. This is more than just a broken reference. The whole API changed and I didn't do any deprecation with that API yet, so I'm unassigning myself. Bumping importance to critical as it's about broken BBB.

Changed in zope3:
assignee: ct-gocept → nobody
importance: Medium → Critical
Revision history for this message
Baiju Muthukadan (baijum) wrote :

I have attached a patch, is it ok?

Revision history for this message
Baiju Muthukadan (baijum) wrote :

In 3.2 'placefulsetup' was a module inside zope.app.site.tests. To show proper deprecation warning using new 'zope.deprecation' module placefulsetup.py should be recreated with warning inside that module.

Revision history for this message
Baiju Muthukadan (baijum) wrote :

fixed in trunk and 3.3 branch (r74318, 74319)

Revision history for this message
Philipp von Weitershausen (philikon) wrote :

We've had two 3.4.0 betas since this fix has been committed, therefore setting status to Fix Released for the 3.4 series.

Revision history for this message
Philipp von Weitershausen (philikon) wrote :

(actually changing the status now)

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.