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

Component Manager pointing to the wrong script service component version after Extension upgrade

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • Major
    • None
    • 7.1.1
    • Extension
    • None
    • Tomcat

    Description

      Use case:

      • Installed AntiSpam Tool version 1.1 on xwiki.org (XWiki 7.1.1)
      • In that version, AntiSpamScriptService had an "@Inject private AntiSpam antispam;"
      • In version 1.2 it was renamed to "@Inject private SpamCleaner spamCleaner"
      • After upgrading to AntiSpam Toll version 1.2 on xwiki.org (still XWiki 7.1.1 but patched for XWIKI-9054) I got the following error:
      org.xwiki.component.manager.ComponentLookupException: Failed to lookup component [org.xwiki.contrib.antispam.script.AntiSpamScriptService] identified by [role = [interface org.xwiki.scr
      ipt.service.ScriptService] hint = [antispam]]
      ...
      Caused by: org.xwiki.component.manager.ComponentLookupException: Can't find descriptor for the component [role = [interface org.xwiki.contrib.antispam.AntiSpam] hint = [default]]
      

      The problem was fixed by restarting xwiki.org.

      Attachments

        Issue Links

          Activity

            People

              tmortagne Thomas Mortagne
              vmassol Vincent Massol
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: