[JBoss JIRA] (FORGE-1399) Cannot create a relationship between two entities
by Antonio Goncalves (JIRA)
[ https://issues.jboss.org/browse/FORGE-1399?page=com.atlassian.jira.plugin... ]
Antonio Goncalves commented on FORGE-1399:
------------------------------------------
I still can't create a relationship between two entities. If I type {{command-list}} I can see the following command but I can't use it.
{code}
Java EE/JPA > jpa-new-field-relationship - Setup the relationship for this field
{code}
> Cannot create a relationship between two entities
> -------------------------------------------------
>
> Key: FORGE-1399
> URL: https://issues.jboss.org/browse/FORGE-1399
> Project: Forge
> Issue Type: Sub-task
> Components: UI - Shell
> Affects Versions: 2.0.0.CR2
> Reporter: Antonio Goncalves
> Priority: Critical
> Fix For: 2.x Future
>
>
> I've created a {{Country}} entity and then a {{Customer}}. When I create a relationship between both, I have an error :
> {code}
> [Customer.java]$ jpa-new-field --named country --entity org.agoncal.application.petstore.model.Country --relationshipType Many-to-One
> ***ERROR*** No Facet of type [interface org.jboss.forge.addon.javaee.jpa.JPAFacet] is installed.
> [Customer.java]$ jpa-setup
> ***ERROR*** No Facet of type [interface org.jboss.forge.addon.javaee.jpa.JPAFacet] is installed.
> {code}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
12 years, 2 months
[JBoss JIRA] (FORGE-1399) Cannot create a relationship between two entities
by Antonio Goncalves (JIRA)
[ https://issues.jboss.org/browse/FORGE-1399?page=com.atlassian.jira.plugin... ]
Antonio Goncalves updated FORGE-1399:
-------------------------------------
Affects Version/s: 2.0.0.CR2
(was: 2.0.0.CR1)
> Cannot create a relationship between two entities
> -------------------------------------------------
>
> Key: FORGE-1399
> URL: https://issues.jboss.org/browse/FORGE-1399
> Project: Forge
> Issue Type: Sub-task
> Components: UI - Shell
> Affects Versions: 2.0.0.CR2
> Reporter: Antonio Goncalves
> Priority: Critical
> Fix For: 2.x Future
>
>
> I've created a {{Country}} entity and then a {{Customer}}. When I create a relationship between both, I have an error :
> {code}
> [Customer.java]$ jpa-new-field --named country --entity org.agoncal.application.petstore.model.Country --relationshipType Many-to-One
> ***ERROR*** No Facet of type [interface org.jboss.forge.addon.javaee.jpa.JPAFacet] is installed.
> [Customer.java]$ jpa-setup
> ***ERROR*** No Facet of type [interface org.jboss.forge.addon.javaee.jpa.JPAFacet] is installed.
> {code}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
12 years, 2 months
[JBoss JIRA] (FORGE-1399) Cannot create a relationship between two entities
by Antonio Goncalves (JIRA)
[ https://issues.jboss.org/browse/FORGE-1399?page=com.atlassian.jira.plugin... ]
Antonio Goncalves updated FORGE-1399:
-------------------------------------
Parent Issue: FORGE-1505 (was: FORGE-1387)
> Cannot create a relationship between two entities
> -------------------------------------------------
>
> Key: FORGE-1399
> URL: https://issues.jboss.org/browse/FORGE-1399
> Project: Forge
> Issue Type: Sub-task
> Components: UI - Shell
> Affects Versions: 2.0.0.CR1
> Reporter: Antonio Goncalves
> Priority: Critical
> Fix For: 2.x Future
>
>
> I've created a {{Country}} entity and then a {{Customer}}. When I create a relationship between both, I have an error :
> {code}
> [Customer.java]$ jpa-new-field --named country --entity org.agoncal.application.petstore.model.Country --relationshipType Many-to-One
> ***ERROR*** No Facet of type [interface org.jboss.forge.addon.javaee.jpa.JPAFacet] is installed.
> [Customer.java]$ jpa-setup
> ***ERROR*** No Facet of type [interface org.jboss.forge.addon.javaee.jpa.JPAFacet] is installed.
> {code}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
12 years, 2 months
[JBoss JIRA] (FORGE-1480) Mulitple --value parameters for Min constraint
by George Gastaldi (JIRA)
[ https://issues.jboss.org/browse/FORGE-1480?page=com.atlassian.jira.plugin... ]
George Gastaldi commented on FORGE-1480:
----------------------------------------
This is an Aesh issue, and it affects all commands
> Mulitple --value parameters for Min constraint
> ----------------------------------------------
>
> Key: FORGE-1480
> URL: https://issues.jboss.org/browse/FORGE-1480
> Project: Forge
> Issue Type: Sub-task
> Components: UI - Shell
> Affects Versions: 2.0.0.CR2
> Reporter: Antonio Goncalves
> Fix For: 2.x Future
>
>
> When you create a {{Min}} constraint (it's ok for {{Max}}), you can add as many {{--value}} attributes you want. You should only have *one* {{--value}} :
> {code}
> [Item.java]$ constraint-add --onProperty description --constraint Min --
> --message --onAccessor --value --payload --groups
> [Item.java]$ constraint-add --onProperty description --constraint Min --value --
> --message --value --payload --groups
> [Item.java]$ constraint-add --onProperty description --constraint Min --value --
> --message --value --payload --groups
> [Item.java]$ constraint-add --onProperty description --constraint Min --value 12 --value 13 --
> --message --payload --groups
> [Item.java]$ constraint-add --onProperty description --constraint Min --value 12 --value 13 --
> {code}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
12 years, 2 months
[JBoss JIRA] (FORGE-1507) Mapped super classes are not generated under the model package
by George Gastaldi (JIRA)
[ https://issues.jboss.org/browse/FORGE-1507?page=com.atlassian.jira.plugin... ]
George Gastaldi closed FORGE-1507.
----------------------------------
Assignee: George Gastaldi
Fix Version/s: 2.0.0.Final
(was: 2.x Future)
Resolution: Done
> Mapped super classes are not generated under the model package
> --------------------------------------------------------------
>
> Key: FORGE-1507
> URL: https://issues.jboss.org/browse/FORGE-1507
> Project: Forge
> Issue Type: Sub-task
> Components: UI - Shell
> Affects Versions: 2.0.0.CR2
> Reporter: Antonio Goncalves
> Assignee: George Gastaldi
> Fix For: 2.0.0.Final
>
>
> When creating a Mapped Superclass, it goes to the root package instead of the {{model}} subpackage (like any entity) :
> {code}
> jpa-new-mapped-superclass --named Person
> {code}
> Gives
> {code}
> package com.pluralsight.persistence.module07;
> import javax.persistence.MappedSuperclass;
> @MappedSuperclass
> public class Person
> {
> }
> {code}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
12 years, 2 months
[JBoss JIRA] (FORGE-1480) Mulitple --value parameters for Min constraint
by Antonio Goncalves (JIRA)
[ https://issues.jboss.org/browse/FORGE-1480?page=com.atlassian.jira.plugin... ]
Antonio Goncalves updated FORGE-1480:
-------------------------------------
Affects Version/s: 2.0.0.CR2
(was: 2.0.0.CR1)
> Mulitple --value parameters for Min constraint
> ----------------------------------------------
>
> Key: FORGE-1480
> URL: https://issues.jboss.org/browse/FORGE-1480
> Project: Forge
> Issue Type: Sub-task
> Components: UI - Shell
> Affects Versions: 2.0.0.CR2
> Reporter: Antonio Goncalves
> Fix For: 2.x Future
>
>
> When you create a {{Min}} constraint (it's ok for {{Max}}), you can add as many {{--value}} attributes you want. You should only have *one* {{--value}} :
> {code}
> [Item.java]$ constraint-add --onProperty description --constraint Min --
> --message --onAccessor --value --payload --groups
> [Item.java]$ constraint-add --onProperty description --constraint Min --value --
> --message --value --payload --groups
> [Item.java]$ constraint-add --onProperty description --constraint Min --value --
> --message --value --payload --groups
> [Item.java]$ constraint-add --onProperty description --constraint Min --value 12 --value 13 --
> --message --payload --groups
> [Item.java]$ constraint-add --onProperty description --constraint Min --value 12 --value 13 --
> {code}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
12 years, 2 months
[JBoss JIRA] (FORGE-1480) Mulitple --value parameters for Min constraint
by Antonio Goncalves (JIRA)
[ https://issues.jboss.org/browse/FORGE-1480?page=com.atlassian.jira.plugin... ]
Antonio Goncalves updated FORGE-1480:
-------------------------------------
Parent Issue: FORGE-1505 (was: FORGE-1387)
> Mulitple --value parameters for Min constraint
> ----------------------------------------------
>
> Key: FORGE-1480
> URL: https://issues.jboss.org/browse/FORGE-1480
> Project: Forge
> Issue Type: Sub-task
> Components: UI - Shell
> Affects Versions: 2.0.0.CR1
> Reporter: Antonio Goncalves
> Fix For: 2.x Future
>
>
> When you create a {{Min}} constraint (it's ok for {{Max}}), you can add as many {{--value}} attributes you want. You should only have *one* {{--value}} :
> {code}
> [Item.java]$ constraint-add --onProperty description --constraint Min --
> --message --onAccessor --value --payload --groups
> [Item.java]$ constraint-add --onProperty description --constraint Min --value --
> --message --value --payload --groups
> [Item.java]$ constraint-add --onProperty description --constraint Min --value --
> --message --value --payload --groups
> [Item.java]$ constraint-add --onProperty description --constraint Min --value 12 --value 13 --
> --message --payload --groups
> [Item.java]$ constraint-add --onProperty description --constraint Min --value 12 --value 13 --
> {code}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
12 years, 2 months
[JBoss JIRA] (FORGE-1449) Copy/pasting several line in the Forge only pastes and executes the 1st line
by Antonio Goncalves (JIRA)
[ https://issues.jboss.org/browse/FORGE-1449?page=com.atlassian.jira.plugin... ]
Antonio Goncalves updated FORGE-1449:
-------------------------------------
Parent Issue: FORGE-1505 (was: FORGE-1387)
> Copy/pasting several line in the Forge only pastes and executes the 1st line
> ----------------------------------------------------------------------------
>
> Key: FORGE-1449
> URL: https://issues.jboss.org/browse/FORGE-1449
> Project: Forge
> Issue Type: Sub-task
> Components: UI - Shell
> Affects Versions: 2.0.0.CR1
> Environment: OS X Mavericks (10.9.1).
> JDK version "1.7.0_51"
> Reporter: Antonio Goncalves
> Fix For: 2.x Future
>
>
> I have a few commands in a text file :
> {code}
> jpa-new-entity --named Book ;
> jpa-new-field --named isbn ;
> jpa-new-field --named title ;
> jpa-new-field --named author ;
> jpa-new-field --named description --length 2000 ;
> {code}
> When I copy paste these 5 lines in the Forge shell I get :
> {code}
> [Book.java]$ jpa-new-field --named isbn ;
> ***SUCCESS*** Field isbn created
> [Book.java]$
> {code}
> Only the first line is pasted and executed (the other lines are ignored)
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
12 years, 2 months
[JBoss JIRA] (FORGE-1449) Copy/pasting several line in the Forge only pastes and executes the 1st line
by Antonio Goncalves (JIRA)
[ https://issues.jboss.org/browse/FORGE-1449?page=com.atlassian.jira.plugin... ]
Antonio Goncalves updated FORGE-1449:
-------------------------------------
Affects Version/s: 2.0.0.CR2
(was: 2.0.0.CR1)
> Copy/pasting several line in the Forge only pastes and executes the 1st line
> ----------------------------------------------------------------------------
>
> Key: FORGE-1449
> URL: https://issues.jboss.org/browse/FORGE-1449
> Project: Forge
> Issue Type: Sub-task
> Components: UI - Shell
> Affects Versions: 2.0.0.CR2
> Environment: OS X Mavericks (10.9.1).
> JDK version "1.7.0_51"
> Reporter: Antonio Goncalves
> Fix For: 2.x Future
>
>
> I have a few commands in a text file :
> {code}
> jpa-new-entity --named Book ;
> jpa-new-field --named isbn ;
> jpa-new-field --named title ;
> jpa-new-field --named author ;
> jpa-new-field --named description --length 2000 ;
> {code}
> When I copy paste these 5 lines in the Forge shell I get :
> {code}
> [Book.java]$ jpa-new-field --named isbn ;
> ***SUCCESS*** Field isbn created
> [Book.java]$
> {code}
> Only the first line is pasted and executed (the other lines are ignored)
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
12 years, 2 months
[JBoss JIRA] (FORGE-1506) Cannot create a field on a Mapped Superclass
by George Gastaldi (JIRA)
[ https://issues.jboss.org/browse/FORGE-1506?page=com.atlassian.jira.plugin... ]
George Gastaldi closed FORGE-1506.
----------------------------------
Fix Version/s: 2.0.0.Final
(was: 2.x Future)
Resolution: Done
> Cannot create a field on a Mapped Superclass
> --------------------------------------------
>
> Key: FORGE-1506
> URL: https://issues.jboss.org/browse/FORGE-1506
> Project: Forge
> Issue Type: Sub-task
> Components: UI - Shell
> Affects Versions: 2.0.0.CR2
> Reporter: Antonio Goncalves
> Assignee: George Gastaldi
> Fix For: 2.0.0.Final
>
>
> I create a Mapped Superclass, try to add a field, and get a {{Entity must be specified}} :
> {code}
> [pluralsight-persistence]$ jpa-new-mapped-superclass --named Person
> Modified /Users/antoniombp/Documents/Code/temp/Forge/pluralsight-persistence/src/main/java
> Created /Users/antoniombp/Documents/Code/temp/Forge/pluralsight-persistence/src/main/java/com
> Created /Users/antoniombp/Documents/Code/temp/Forge/pluralsight-persistence/src/main/java/com/pluralsight
> Created /Users/antoniombp/Documents/Code/temp/Forge/pluralsight-persistence/src/main/java/com/pluralsight/persistence
> Created /Users/antoniombp/Documents/Code/temp/Forge/pluralsight-persistence/src/main/java/com/pluralsight/persistence/module07
> Created /Users/antoniombp/Documents/Code/temp/Forge/pluralsight-persistence/src/main/java/com/pluralsight/persistence/module07/Person.java
> ***SUCCESS*** Mapped Superclass com.pluralsight.persistence.module07.Person was created
> [Person.java]$ jpa-new-field --named firstname --length 50
> Entity must be specified.
> {code}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
12 years, 2 months