[ 
https://issues.apache.org/jira/browse/ISIS-2440?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17204512#comment-17204512
 ] 

ASF subversion and git services commented on ISIS-2440:
-------------------------------------------------------

Commit af162e76733902adad6fb2050e0f5e629cdfac19 in isis's branch 
refs/heads/ISIS-2222 from Andi Huber
[ https://gitbox.apache.org/repos/asf?p=isis.git;h=af162e7 ]

ISIS-2440: fixes AsciiDoc value facets not registered properly

on AsciiDoc type we use @Value(semanticsProviderName =
"org.apache.isis.valuetypes.asciidoc.metamodel.facets.AsciiDocValueSemanticsProvider")

also ensures for SemanticsProviders, when these implement the Facet
interface, that these also get registered

> AsciiDoc: value facets not registered properly
> ----------------------------------------------
>
>                 Key: ISIS-2440
>                 URL: https://issues.apache.org/jira/browse/ISIS-2440
>             Project: Isis
>          Issue Type: Bug
>          Components: Isis Extensions
>            Reporter: Andi Huber
>            Assignee: Andi Huber
>            Priority: Major
>             Fix For: 2.0.0-M4
>
>
> ValueFacetAnnotation (A) overrules ValueFacetUsingSemanticsProvider (B), 
> while A is provided by the core framework whenever processing a @Value 
> annotation, B is provided by the AsciiDoc extension.
> {noformat}
> (A) ValueFacetAnnotation
>        child 
> org.apache.isis.core.metamodel.facets.object.value.ImmutableFacetViaValueSemantics
>        child 
> org.apache.isis.core.metamodel.facets.object.value.EqualByContentFacetViaValueSemantics
> (B) ValueFacetUsingSemanticsProvider
>        child 
> org.apache.isis.core.metamodel.facets.object.value.ImmutableFacetViaValueSemantics
>        child 
> org.apache.isis.core.metamodel.facets.object.defaults.DefaultedFacetUsingDefaultsProvider
>        child 
> org.apache.isis.core.metamodel.facets.object.value.EqualByContentFacetViaValueSemantics
>        child 
> org.apache.isis.core.metamodel.facets.object.encodeable.encoder.EncodableFacetUsingEncoderDecoder
> {noformat}
> (child means contributed facet)
> That's the reason for the EncodableFacet not showing up when the metamodel is 
> fully populated. (edited) 



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to