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

ObjectMemberAbstract#isAlwaysHidden() does not honour where=Where.EVERYWHERE.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • core-1.6.0
    • core-1.7.0
    • Core
    • None

    Description

      in ApplicationFeatures

      protected boolean isHidden(ObjectSpecification spec)

      { final HiddenFacet facet = spec.getFacet(HiddenFacet.class); return facet != null && !facet.isNoop() && (facet.where() == Where.EVERYWHERE || facet.where() == Where.ANYWHERE) && facet.when() == When.ALWAYS; }

      in ObjectMemberAbstract

      @Override
      public boolean isAlwaysHidden()

      { final HiddenFacet hiddenFacet = getFacet(HiddenFacet.class); return hiddenFacet != null && hiddenFacet.when() == When.ALWAYS && hiddenFacet.where() == Where.ANYWHERE; }

      Attachments

        Activity

          People

            Unassigned Unassigned
            danhaywood Daniel Keir Haywood
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: