wrong arguments of SimpleTrailblazer._construct

Bug #143439 reported by Victor Safronovich
4
Affects Status Importance Assigned to Milestone
Zope 2
Fix Released
Medium
Unassigned

Bug Description

MountedObject.SimpleTrailblazer._construct receive 4 arguments:
    def _construct(self, context, id, final):

but SimpleTrailblazer.traverseOrConstruct call it with 3 argument:
   # Try to create a container in this place.
   container = self._construct(container, part)

I think the solution is to remove 'final' argument from _construct method because it is redundant.

Note: CustomTrailblazer._construct has correct arguments.

Revision history for this message
Jens Vagelpohl (dataflake-deactivatedaccount-deactivatedaccount) wrote :

Status: Pending => Resolved

DBTab is not compatible with Zope 2.7 and higher, the functionality has moved into the Zope core. You define mounted databases in zope.conf now.

Revision history for this message
Victor Safronovich (suvit) wrote :

the bug in Products.ZODBMountPoint.MountedObject.SimpleTrailblazer

Revision history for this message
Jens Vagelpohl (dataflake-deactivatedaccount-deactivatedaccount) wrote :

Status: Resolved => Pending

You're right, I misunderstood the problem description. Reopening.

Revision history for this message
Victor Safronovich (suvit) wrote :

Uploaded: MountedObject.patch

upload simple patch.

Revision history for this message
Andreas Jung (ajung) wrote :

Status: Pending => Resolved

Fixed on 2.8, 2.9 branches and trunk.

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.