You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@isis.apache.org by "ASF subversion and git services (Jira)" <ji...@apache.org> on 2020/09/29 12:06:00 UTC

[jira] [Commented] (ISIS-2440) AsciiDoc: value facets not registered properly

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

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

Commit af162e76733902adad6fb2050e0f5e629cdfac19 in isis's branch refs/heads/master 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)