Commit f697fd47 authored by Andreas Jung's avatar Andreas Jung

- Collector #373: content_type property for Image objects

        are no longer deletable to prevent malfunction.
parent 84c1576e
...@@ -164,6 +164,9 @@ Zope Changes ...@@ -164,6 +164,9 @@ Zope Changes
- Collector #325: adding a new TextIndex to an existing Catalog - Collector #325: adding a new TextIndex to an existing Catalog
cleared the standard Vocabulary. cleared the standard Vocabulary.
- Collector #373: content_type property for Image objects
are no longer deletable to prevent malfunction.
Zope 2.5.1 beta 1 Zope 2.5.1 beta 1
Bugs Fixed Bugs Fixed
......
...@@ -12,7 +12,7 @@ ...@@ -12,7 +12,7 @@
############################################################################## ##############################################################################
"""Image object""" """Image object"""
__version__='$Revision: 1.135 $'[11:-2] __version__='$Revision: 1.136 $'[11:-2]
import Globals, struct import Globals, struct
from OFS.content_types import guess_content_type from OFS.content_types import guess_content_type
...@@ -657,7 +657,7 @@ class Image(File): ...@@ -657,7 +657,7 @@ class Image(File):
) )
_properties=({'id':'title', 'type': 'string'}, _properties=({'id':'title', 'type': 'string'},
{'id':'content_type', 'type':'string'}, {'id':'content_type', 'type':'string','mode':'w'},
{'id':'height', 'type':'string'}, {'id':'height', 'type':'string'},
{'id':'width', 'type':'string'}, {'id':'width', 'type':'string'},
) )
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment