Uploaded image for project: 'XWiki Commons'
  1. XWiki Commons
  2. XCOMMONS-636

Observation manager does not fully overwrite existing event listener

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 6.1
    • Fix Version/s: 6.2-rc-1, 5.4.6
    • Component/s: Observation
    • Labels:
      None
    • Environment:
      MacBookPro local (Mavericks)
    • Documentation:
      N/A
    • Documentation in Release Notes:
      N/A
    • Similar issues:

      Description

      When I edit a XWiki.ComponentMethodClass, I need to restart xwiki to make if effective, otherwise it will use the old code and not the new one I wrote.

      LOGS:

      [http://127.0.0.1:8080/xwiki/bin/save/Manage+Projects/WebHome] WARN  .o.i.DefaultObservationManager - The [com.sun.proxy.$Proxy53] listener has overwritten a previously registered listener [com.sun.proxy.$Proxy53] since they both are registered under the same id [mytestbuddy2]. In the future consider removing a Listener first if you really want to register it again.
      

        Attachments

          Activity

            People

            • Assignee:
              tmortagne Thomas Mortagne
              Reporter:
              aroger Antoine Roger
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Date of First Response: