[Zope-CMF] Re: Properties tab for files missing in ZMI - CMF

Tres Seaver tseaver at palladion.com
Fri Dec 28 11:46:52 EST 2007



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

roel wrote:
> Hello there,
> 
> first of all, I hereby present to all of you my best wishes for 2008.
> 
> That said, I have problems accessing the properties of file objects (pdf,
> images, ... ) added to a CMF site. All I get is the 'Dublin Core' page. When I
> hit the 'Edit' tab, I get errors like:
> 
> Traceback (innermost last):
>   Module ZPublisher.Publish, line 119, in publish
>   Module ZPublisher.mapply, line 83, in mapply
>   Module ZPublisher.Publish, line 47, in missing_name
>   Module ZPublisher.HTTPResponse, line 694, in badRequestError
> 
> There seems to be missing (meta)data, but I have no (direct) way to edit these
> entries.
> I got to the point where I can access these properties by creating a custom
> url out of the location-url/filename/manage_propertiesForm and pasting this in
> a browser.
> 
> In the early days (Zope 2.5.1 & CMF 1.3) there was a 'Properties' tab when
> accessing a file object in a CMF site trough the ZMI. We've recently installed
> Zope 2.10.4 & CMF 2.1.0. When I create a file object outside a CMF site, the
> 'Properties' tab is displayed as I'm used to ...
> 
> How can I (re)enable the 'Properties' tab for files in CMF 2.1.0?

I have reproduced the problem:  the attached patch should fix it.
Please report the problem to the CMF launchpad:

  https://launchpad.net/zope-cmf/+filebug

If it works for you, go ahead and attach the patch (made against the 2.1
branch).



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

iD8DBQFHdSh8+gerLs4ltQ4RAjCMAKCAh6OkaW522fTVg/k2mQq2CjLAhACfcxTD
6FE1dFjEbFvPFa0P2wV9rts=
=Kt59
-----END PGP SIGNATURE-----



More information about the Zope-CMF mailing list