Uploaded image for project: 'Causeway'
  1. Causeway
  2. CAUSEWAY-2440

AsciiDoc: value facets not registered properly

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 2.0.0-M4
    • None
    • None

    Description

      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.

      (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
      

      (child means contributed facet)
      That's the reason for the EncodableFacet not showing up when the metamodel is fully populated. (edited)

      Attachments

        Activity

          People

            hobrom Andi Huber
            hobrom Andi Huber
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: