Uploaded image for project: 'Nuxeo Platform'
  1. Nuxeo Platform
  2. NXP-10160

Find a way to prevent listeners from calling themselves

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: 5.6
    • Fix Version/s: QualifiedToSchedule
    • Component/s: Core

      Description

      For example, let's say we have a listener reacting on the documentCreated core event. If ever for some reason this listener makes a call to CoreSession#saveDocument(doc), then the same event will be raised and the listener called again => unless the listener handles this case, we will run into an infinite loop.

        Attachments

          Activity

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated: