[forge-issues] [JBoss JIRA] (FORGE-2776) jpa-new-field does not process --relationship-type if wizard isn't used
Christoph Schulz (JIRA)
issues at jboss.org
Sun Feb 11 07:07:00 EST 2018
[ https://issues.jboss.org/browse/FORGE-2776?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13531390#comment-13531390 ]
Christoph Schulz commented on FORGE-2776:
-----------------------------------------
If I comment out [the corresponding {{ItemLablelConverter}}|https://github.com/forge/core/blob/master/javaee/impl/src/main/java/org/jboss/forge/addon/javaee/jpa/ui/JPANewFieldWizard.java#L332-L339] for {{\-\-relationship-type}}, the correct relationship is added.
> jpa-new-field does not process --relationship-type if wizard isn't used
> -----------------------------------------------------------------------
>
> Key: FORGE-2776
> URL: https://issues.jboss.org/browse/FORGE-2776
> Project: Forge
> Issue Type: Bug
> Components: Java EE
> Affects Versions: 3.8.1.Final, 3.8.2.Final
> Environment: Debian 9.3 GNU/Linux
> Java 1.8.0_151 (OpenJDK)
> Reporter: Christoph Schulz
> Attachments: reproduce.fsh
>
>
> If you add a field to a JPA Entity using {{jpa-new-field}} and statisfy all inputs ({{\-\-named}}), then instead of the requested relationship ({{\-\-relationship-type}}), a {{BASIC}} relationship is added.
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
More information about the forge-issues
mailing list