[JBoss JIRA] (FORGE-2776) jpa-new-field does not process --relationship-type if wizard isn't used
by Christoph Schulz (JIRA)
[ https://issues.jboss.org/browse/FORGE-2776?page=com.atlassian.jira.plugin... ]
Christoph Schulz updated FORGE-2776:
------------------------------------
Description:
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.
was:
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.
> 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)
6 years, 11 months
[JBoss JIRA] (FORGE-2776) jpa-new-field does not process --relationship-type if wizard isn't used
by Christoph Schulz (JIRA)
[ https://issues.jboss.org/browse/FORGE-2776?page=com.atlassian.jira.plugin... ]
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)
6 years, 11 months
[JBoss JIRA] (FORGE-2776) jpa-new-field does not process --relationship-type if wizard isn't used
by Christoph Schulz (JIRA)
[ https://issues.jboss.org/browse/FORGE-2776?page=com.atlassian.jira.plugin... ]
Christoph Schulz updated FORGE-2776:
------------------------------------
Description:
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.
was:
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.
> 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)
6 years, 11 months
[JBoss JIRA] (FORGE-2776) jpa-new-field does not process --relationship-type if wizard isn't used
by Christoph Schulz (JIRA)
Christoph Schulz created FORGE-2776:
---------------------------------------
Summary: 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)
6 years, 11 months