Re: Why does TinyMCE Upload not notify the Zope event system?

Johannes Raggam <[email protected]>
Newsgroups gmane.comp.web.zope.plone.devel
Message-ID <[email protected]>
I see. Was just wild guessing without checking it.

On Wed, 2015-09-16 at 14:47 -0600, Sean Upton wrote:
> 
> 
> On Wed, Sep 16, 2015 at 1:44 PM, Johannes Raggam <[email protected]>
> wrote:
> > Do you mean Products.TinyMCE or the Plone 5 version? Can you point
> > me
> > to the code, where invokeFactory within the TinyMCE related code is
> > called?
> For Plone 4: Products.TinyMCE's upload does in fact use
> invokeFactory, but invokeFactory (via all FactoryTypeInformation
> subclasses, including Dexterity's) notifies events on content
> construction within container.
>  
> For Plone 5, plone.app.content.browser.file.FileUploadView uses
> plone.dexterity.utils.createContentInContainer(), which does notify
> IObjectCreatedEvent, and via the
> OFS.ObjectManager.ObjectManager._setObject() method IObjectAddedEvent
> is notified.
> 
> Sean

------------------------------------------------------------------------------
Monitor Your Dynamic Infrastructure at Any Scale With Datadog!
Get real-time metrics from all of your servers, apps and tools
in one place.
SourceForge users - Click here to start your Free Trial of Datadog now!
http://pubads.g.doubleclick.net/gampad/clk?id=241902991&iu=/4140

_______________________________________________
Plone-developers mailing list
Plone-developers-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
https://lists.sourceforge.net/lists/listinfo/plone-developers
signature.asc (application/pgp-signature, 181 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iEYEABECAAYFAlX53IIACgkQW4mNMQxDgAfJEwCgizRG2GGjlpQ8pa/d/VQKU2oJ
TBEAoLNNqN6gBjjIgtWovyFoth1rGx2s
=JBe9
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.