Uploaded image for project: 'Isis'
  1. Isis
  2. ISIS-879

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

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: core-1.6.0
    • Fix Version/s: core-1.7.0
    • Component/s: Core
    • Labels:
      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

            • Assignee:
              Unassigned
              Reporter:
              danhaywood Dan Haywood
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: