[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 05:03:00 EST 2018
[ https://issues.jboss.org/browse/FORGE-2776?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Christoph Schulz updated FORGE-2776:
------------------------------------
Steps to Reproduce:
{code}
project-new --named reproduce
jpa-setup
jpa-new-entity --named Bank
jpa-new-entity --named Customer
jpa-new-field --named bank --type org.reproduce.model.Bank --relationship-type Many-To-One
{code}
was:
project-new --named reproduce
jpa-setup
jpa-new-entity --named Bank
jpa-new-entity --named Customer
jpa-new-field --named bank --type org.reproduce.model.Bank --relationship-type Many-To-One
> 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
> 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