CMFCore.DirectoryView.DirectoryViewSurrogate _objects instead of _tree?

Bug #893661 reported by Alexandru Plugaru
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Zope CMF buildout
Invalid
Undecided
Unassigned

Bug Description

I've run into this problem while upgrading to Plone 4.0.9.

When I execute the migration scripts from plone.app.folder (401 script to be more specific) which moves _objects attribute BTreeFolders to _tree attribute. However DirectoryViewSurrogate still uses _objects which is rather inconsistent.

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

Can you describe why this is a problem? Do you see specific errors or tracebacks? If yes, please include them here.

Revision history for this message
Tres Seaver (tseaver) wrote : Re: [Bug 893661] [NEW] CMFCore.DirectoryView.DirectoryViewSurrogate _objects instead of _tree?

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

 status invalid

DirectoryViewSurrogate is not a persistent object, and doesn't have a
BTree in it. Its '_objects' attribute is not part of a public API that
should be touched by that script.

Tres.
- --
===================================================================
Tres Seaver +1 540-429-0999 <email address hidden>
Palladion Software "Excellence by Design" http://palladion.com
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk7L0ZIACgkQ+gerLs4ltQ4CzgCgxRp7UXFnH+P3xwgvP1rbHy6O
h1UAoNMlmKAxCXCymZ7Vve4MgrJGM/M7
=M3rz
-----END PGP SIGNATURE-----

Changed in zope-cmf:
status: New → Invalid
Revision history for this message
Alexandru Plugaru (alexandru-plugaru) wrote :

I'll post the traceback and everything else into the plone trac since there is a section there specifically for migration issues.

Thank you Tres and Jens,

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.