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

CLONE - Observation manager does not fully overwrite existing event listener

    XMLWordPrintable

Details

    • Bug
    • Resolution: Invalid
    • Trivial
    • None
    • None
    • Observation
    • None
    • WIN Server 2012 R2, Jetty 9.4.8.v20171121, PostgreSQL 9.6.11, Waffle 1.9.0
    • 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:

      2019-04-24 15:38:59,670 [http://intranet.mysite.de:8080/bin/save/XWiki/EventListeners/DocumentUpdateListener/WebHome] WARN  .o.i.DefaultObservationManager - The [com.sun.proxy.$Proxy92] listener is overwritting a previously registered listener [com.sun.proxy.$Proxy92] since they both are registered under the same id [mytest]. In the future consider removing a Listener first if you really want to register it again. 
      

      Attachments

        Activity

          People

            mflorea Marius Dumitru Florea
            Pako Patrick Koska
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: