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

Allow single domain object class to be invalidated through a mixin.

    Details

    • Type: New Feature
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 1.11.1
    • Fix Version/s: 1.12.0
    • Component/s: Core
    • Labels:
      None

      Description

      This feature is useful because the new layout support (ISIS-993) - because of the way it pushes derives facets from the grid layout - can sometimes leave "stale" metadata if the grid is changed.

      For example, if an action is moved from a fieldset to some other area such as a column, then the action will appear more than once. That is because the action in its original location causes facets to be derived on the corresponding ObjectAction, and these aren't removed. Meanwhile, when the column to which the action layout is moved is rendered, it doesn't use facets, simply renders what's defined directly the grid.

      In the grander scheme of things this sort of thing isn't that big a deal, but it would be nice to invalidate the Isis metamodel (ObjectSpecification) from within the UI to get to a "clean slate".

        Activity

        Hide
        jira-bot ASF subversion and git services added a comment -

        Commit 4241b4a521646143060bd20e089c527525d599b0 in isis's branch refs/heads/master from Dan Haywood
        [ https://git-wip-us.apache.org/repos/asf?p=isis.git;h=4241b4a ]

        ISIS-1317: Object_rebuildMetamodel mixin; also changes to supporting services.

        Specifically:

        • GridService (and GridLoaderService), to remove grid for a domain class
        • MetaModelService, to invalidate and recreate an ObjectSpecification

        In addition:

        • in GridService/GridLoaderService, introduced supportsReloading() rather than using deploymentCategory#isProduction() directly. This will make it easier to be overridden in application code.

        Also updated docs.

        Show
        jira-bot ASF subversion and git services added a comment - Commit 4241b4a521646143060bd20e089c527525d599b0 in isis's branch refs/heads/master from Dan Haywood [ https://git-wip-us.apache.org/repos/asf?p=isis.git;h=4241b4a ] ISIS-1317 : Object_rebuildMetamodel mixin; also changes to supporting services. Specifically: GridService (and GridLoaderService), to remove grid for a domain class MetaModelService, to invalidate and recreate an ObjectSpecification In addition: in GridService/GridLoaderService, introduced supportsReloading() rather than using deploymentCategory#isProduction() directly. This will make it easier to be overridden in application code. Also updated docs.

          People

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

            Dates

            • Created:
              Updated:
              Resolved:

              Development