Hi,
Kai Diefenbach <[EMAIL PROTECTED]> wrote:
> Héctor Velarde <[EMAIL PROTECTED]> wrote:
> > 4. import an image using WebDAV
> > 5. the imae is in plone, but as usually, no IPTC parsing was done
>
> Yes same here.
>
> It seems that I have "broken" something concerning WebDAV. I'll take a
> look at it.
After a look on this:
I've tested at the same time with Plone-3.0. With that WebDAV works out
of the box.
With Plone-2.5.2 not. This is due to the fact, that 2.5.2 uses
Archetypes 1.4.2. That in turn doesn't fire up a IObjectModifiedEvent in
the PUT() method of WebDAVSupport.py. Hence iptc is never triggered.
To "fix" this you could just add:
from zope import event
from zope.app.event.objectevent import ObjectModifiedEvent
at the top of WebDAVSupport.py and:
event.notify(ObjectModifiedEvent(self))
inside the PUT() method right before self.reindexObject() (approximately
at line 120)
This should't break anything else, but I'm not totaly sure.
_______________________________________________
Product-Developers mailing list
[email protected]
http://lists.plone.org/mailman/listinfo/product-developers