LinkComponent with bad keypart #177

Closed
sbordes opened this Issue Oct 1, 2015 · 1 comment

Comments

Projects
None yet
1 participant
@sbordes
Member

sbordes commented Oct 1, 2015

When the annotation @LinkComponent is used, by default it retrieved the component by using an empty string as keypart (default value of the annotation).

Thus this will not retrieved the same component instance than getComponent(Component.class) but getComponent(Component.class, "")

Empty value shall be considered as null (= no key part)

@sbordes sbordes added the bug label Oct 1, 2015

@sbordes sbordes self-assigned this Oct 1, 2015

@sbordes sbordes added this to the 8.0.4 milestone Oct 1, 2015

@sbordes

This comment has been minimized.

Show comment
Hide comment
@sbordes

sbordes Oct 1, 2015

Member

Fixed by 3c569e7

Member

sbordes commented Oct 1, 2015

Fixed by 3c569e7

@sbordes sbordes closed this Oct 1, 2015

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment