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

Support for generic type bounded methods that are not overwritten using explicit types.

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Resolved
    • None
    • 2.0.0-RC3
    • Core
    • None

    Description

      this has been introduced somewhere between 20230826 and 20230912.

      for example:

      and

      resulting in validation errors:

       
      // [1] org.estatio.module.asset.dom.classification.ClassificationForProperty._classify#choices0Act(): is public, but orphaned (was not picked up by the framework); reporting orphans, because the class is setup for member introspection, without enforcing annotations
      // [2] org.estatio.module.asset.dom.classification.ClassificationForProperty._classify#default1Act(org.incode.module.classification.dom.impl.category.taxonomy.Taxonomy): is public, but orphaned (was not picked up by the framework); reporting orphans, because the class is setup for member introspection, without enforcing annotations
      // [3] org.estatio.module.asset.dom.classification.ClassificationForProperty._classify#choices1Act(org.incode.module.classification.dom.impl.category.taxonomy.Taxonomy): is public, but orphaned (was not picked up by the framework); reporting orphans, because the class is setup for member introspection, without enforcing annotations
      // [4] org.estatio.module.asset.dom.classification.ClassificationForProperty._classify#default0Act(): is public, but orphaned (was not picked up by the framework); reporting orphans, because the class is setup for member introspection, without enforcing annotations
      // [5] Mixin org.estatio.module.asset.dom.classification.ClassificationForProperty$_classify could not be identified as action, property or collection.
      the workaround is to add a redundant override:

      Attachments

        1. image-2023-09-12-12-13-26-793.png
          40 kB
          Daniel Keir Haywood
        2. image-2023-09-12-12-12-18-332.png
          26 kB
          Daniel Keir Haywood
        3. image-2023-09-12-12-11-42-553.png
          102 kB
          Daniel Keir Haywood

        Issue Links

          Activity

            People

              hobrom Andi Huber
              danhaywood Daniel Keir Haywood
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: