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 2020/02/20 19:59:00 UTC
[jira] [Commented] (ISIS-1970) JAXB view model: setting class-level
editing=enabled not honored
[ https://issues.apache.org/jira/browse/ISIS-1970?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17041271#comment-17041271 ]
ASF subversion and git services commented on ISIS-1970:
-------------------------------------------------------
Commit 688cad9f53ea87b206c77b90c4ad057b2795bb2a in isis's branch refs/heads/master from Andi Huber
[ https://gitbox.apache.org/repos/asf?p=isis.git;h=688cad9 ]
ISIS-1970: adds JUnit test to reproduce the issue
> JAXB view model: setting class-level editing=enabled not honored
> ----------------------------------------------------------------
>
> Key: ISIS-1970
> URL: https://issues.apache.org/jira/browse/ISIS-1970
> Project: Isis
> Issue Type: Bug
> Components: Core
> Affects Versions: 2.0.0-M1
> Reporter: Andi Huber
> Assignee: Andi Huber
> Priority: Major
> Fix For: 2.0.0-M3
>
>
> {code:java}
> @XmlRootElement(name = "Demo")
> @XmlType
> @XmlAccessorType(XmlAccessType.FIELD)
> @DomainObject(nature=Nature.VIEW_MODEL, editing=Editing.ENABLED)
> public class TextDemo {
>
> // -- EDITABLE
>
> @Property(editing=Editing.ENABLED) // this should not be required, as its already defined above
> @XmlElement @Getter @Setter private String string;
> }
> {code}
--
This message was sent by Atlassian Jira
(v8.3.4#803005)