Details
-
Type:
Bug
-
Status: Closed
-
Priority:
Blocker
-
Resolution: Fixed
-
Affects Version/s: 4.0
-
Fix Version/s: 4.1.4, 4.2-milestone-3
-
Component/s: Model
-
Labels:None
-
Difficulty:Unknown
-
Documentation:N/A
-
Documentation in Release Notes:N/A
-
Similar issues:
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]]
Note that this issue is the same issue as XWIKI-8082 but particularized for current/reference. Since XWIKI-8082 was fixed for several hints but not for current/reference hint.
Attachments
Issue Links
- is related to
-
XWIKI-8082 Can't inject reference based resolver using the old role/hint
-
- Closed
-