I am using content rules and slc.outdated to mark all translations of a
canonical item as outdated when the canonical item is edited (works OK) or
when it is checked in (does not work). IAfterCheckinEvent doesn't seem to be
finding any subscribers, but the checkout events work fine as triggers.

Any tips on how to debug? Perhaps iterate's merged item does not provide the
interfaces it normally would when fetched from the portal? It also seems
like the event dispatch mechanism is encountering a fair bit of recursion.

Here's a bit of my ZCML.

    <interface
      interface="plone.app.iterate.interfaces.ICheckinEvent"
      type="plone.contentrules.rule.interfaces.IRuleEventType"
      name="A working copy will be checked in."
      />

    <interface
      interface="plone.app.iterate.interfaces.IAfterCheckinEvent"
      type="plone.contentrules.rule.interfaces.IRuleEventType"
      name="A working copy has been checked in."
      />

    <interface
      interface="plone.app.iterate.interfaces.IBeforeCheckoutEvent"
      type="plone.contentrules.rule.interfaces.IRuleEventType"
      name="An object will be checked out."
      />

    <interface
      interface="plone.app.iterate.interfaces.ICheckoutEvent"
      type="plone.contentrules.rule.interfaces.IRuleEventType"
      name="An object has been checked out."
      />

I will probably be able to open source this if anyone is interested.

Thanks,

Daniel Holth
_______________________________________________
Product-Developers mailing list
[email protected]
https://lists.plone.org/mailman/listinfo/product-developers

Reply via email to