You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@isis.apache.org by "ASF subversion and git services (JIRA)" <ji...@apache.org> on 2016/03/09 09:18:40 UTC

[jira] [Commented] (ISIS-1317) Allow single domain object class to be invalidated through a mixin.

    [ https://issues.apache.org/jira/browse/ISIS-1317?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15186737#comment-15186737 ] 

ASF subversion and git services commented on ISIS-1317:
-------------------------------------------------------

Commit 4241b4a521646143060bd20e089c527525d599b0 in isis's branch refs/heads/master from [~danhaywood]
[ 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.


> Allow single domain object class to be invalidated through a mixin.
> -------------------------------------------------------------------
>
>                 Key: ISIS-1317
>                 URL: https://issues.apache.org/jira/browse/ISIS-1317
>             Project: Isis
>          Issue Type: New Feature
>          Components: Core
>    Affects Versions: 1.11.1
>            Reporter: Dan Haywood
>            Assignee: Dan Haywood
>            Priority: Minor
>             Fix For: 1.12.0
>
>
> 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".



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)