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

Warn the developer when listeners are incorrectly registered

    XMLWordPrintable

    Details

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

      Description

      Listeners may be synchronous or asynchronous (as defined in the XML registering them), but the actual behavior is defined by the class they implement (EventListener or PostCommitEventListener).

      At the very least a warning should be emitted when the registration is inconsistent with the class.

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:

                  Time Tracking

                  Estimated:
                  Original Estimate - 2 hours
                  2h
                  Remaining:
                  Remaining Estimate - 2 hours
                  2h
                  Logged:
                  Time Spent - Not Specified
                  Not Specified