Uploaded image for project: 'XWiki Platform'
  1. XWiki Platform
  2. XWIKI-8082

Can't inject reference based resolver using the old role/hint

    XMLWordPrintable

Details

    • Unit
    • Unknown
    • N/A
    • N/A

    Description

      A member declared with

          @Inject
          @Named("current/reference")
          protected DocumentReferenceResolver<EntityReference> currentDocumentEntityReferenceResolver;
      

      works on 3.5.1, doesn't work anymore on 4.0; exception is:

      Caused by: org.xwiki.component.manager.ComponentLookupException: Can't find descriptor for the component [role = [org.xwiki.model.reference.DocumentReferenceResolver<org.xwiki.model.reference.EntityReference>] hint = [current/reference]]
      

      Attachments

        Issue Links

          Activity

            People

              tmortagne Thomas Mortagne
              lucaa Anca Luca
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: