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

Observation manager does not fully overwrite existing event listener

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • 6.2-rc-1, 5.4.6
    • 6.1
    • Observation
    • None
    • MacBookPro local (Mavericks)
    • N/A
    • N/A

    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

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

            Dates

              Created:
              Updated:
              Resolved: