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 2021/10/06 16:06:00 UTC
[jira] [Commented] (ISIS-2876) DomainModelValidator validation
fails on IsisModuleSubdomainsExcelApplib
[ https://issues.apache.org/jira/browse/ISIS-2876?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17425059#comment-17425059 ]
ASF subversion and git services commented on ISIS-2876:
-------------------------------------------------------
Commit fb3bfa63eb3cdd7acbf277276b17a6997a95f8cd in isis's branch refs/heads/master from ppjdeenen
[ https://gitbox.apache.org/repos/asf?p=isis.git;h=fb3bfa6 ]
ISIS-2876 By default ISIS assumes that every public method is an action; when this is not desirable, for example with collections which require choices or autocomplete helper methods, one has two options; either add @Programmatic or disable ISIS default behaviour. Because from a framework perspective we don't want to restrict the developer to specific policies, the methods in the submodule are extended with the annotation @Programmatic.
> DomainModelValidator validation fails on IsisModuleSubdomainsExcelApplib
> ------------------------------------------------------------------------
>
> Key: ISIS-2876
> URL: https://issues.apache.org/jira/browse/ISIS-2876
> Project: Isis
> Issue Type: Bug
> Components: Isis Subdomains
> Affects Versions: 2.0.0-M6
> Reporter: Patrick Deenen
> Priority: Major
> Fix For: 2.0.0-M7
>
>
> When assertValid is called on the class DomainModelValidator and one has included the module IsisModuleSubdomainsExcelApplib, then the following error is raised:
> Collection action parameter found without supporting choices or autoComplete facet. Class: org.apache.isis.subdomains.excel.applib.dom.WorksheetSpec$Sequencer action: sequence parameter 0
>
> Hence the Excel module should adhere to the (changed) validation rules.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)