[JBoss JIRA] (FORGE-1393) constraint commands are missing
by George Gastaldi (JIRA)
[ https://issues.jboss.org/browse/FORGE-1393?page=com.atlassian.jira.plugin... ]
George Gastaldi closed FORGE-1393.
----------------------------------
Assignee: George Gastaldi
Fix Version/s: 2.0.0.Final
(was: 2.x Future)
Resolution: Done
Renamed the AddConstraintWizard name to constraint-add
> constraint commands are missing
> -------------------------------
>
> Key: FORGE-1393
> URL: https://issues.jboss.org/browse/FORGE-1393
> Project: Forge
> Issue Type: Sub-task
> Components: UI - Shell
> Affects Versions: 2.0.0.Beta4
> Reporter: Antonio Goncalves
> Assignee: George Gastaldi
> Fix For: 2.0.0.Final
>
>
> On Forge 1.x you could add constraints to a specific field with
> {code}
> constraint NotNull --onProperty login ;
> {code}
> The {{constraint}} commands are missing. If we follow the new naming convention, we should have, at least, one command to create new custom constraints (that could go into a default {{constraint}} package for example :
> {code}
> constraint-new MyOwnConstraint ;
> {code}
> And a command to add a constraint to a property :
> {code}
> constraint-add NotNull --onProperty login ;
> constraint-add MyOwnConstraint --onProperty lastname ;
> {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
11 years, 9 months
[JBoss JIRA] (FORGE-1400) java command is missing
by George Gastaldi (JIRA)
[ https://issues.jboss.org/browse/FORGE-1400?page=com.atlassian.jira.plugin... ]
George Gastaldi closed FORGE-1400.
----------------------------------
Assignee: George Gastaldi
Fix Version/s: 2.0.0.Final
(was: 2.x Future)
Resolution: Done
> java command is missing
> -----------------------
>
> Key: FORGE-1400
> URL: https://issues.jboss.org/browse/FORGE-1400
> Project: Forge
> Issue Type: Sub-task
> Components: UI - Shell
> Affects Versions: 2.0.0.Beta4
> Reporter: Antonio Goncalves
> Assignee: George Gastaldi
> Fix For: 2.0.0.Final
>
>
> I need to create an enum and the {{java}} command is missing. With the new syntax in Forge 2.x, what I need to do is :
> {code}
> java-new-enum --named CreditCardType --package org.agoncal.application.petstore.model ;
> java-new-enum-const VISA ;
> java-new-enum-const AMERICAN_EXPRESS ;
> java-new-enum-const MASTER_CARD ;
> {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
11 years, 9 months
[JBoss JIRA] (FORGE-1415) Target Unreachable, 'entityName' returned null after Bean Validation failure
by Esteve Aviles (JIRA)
Esteve Aviles created FORGE-1415:
------------------------------------
Summary: Target Unreachable, 'entityName' returned null after Bean Validation failure
Key: FORGE-1415
URL: https://issues.jboss.org/browse/FORGE-1415
Project: Forge
Issue Type: Bug
Affects Versions: 1.4.3.Final
Environment: JBossAS7.1
Reporter: Esteve Aviles
Hi,
When you want to persist a new entity through create.xhtml page and the information produces a server side error then the error is show and when you fix it and try to summit again an Exception occurs:
{noformat}
/view/operacio/inventariMobilePos/create.xhtml @50,58 value="#{inventariMobilePosBean.inventariMobilePos.codiTmb}": Target Unreachable, 'inventariMobilePos' returned null
{noformat}
--
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
11 years, 9 months
[JBoss JIRA] (FORGE-1400) java command is missing
by Antonio Goncalves (JIRA)
[ https://issues.jboss.org/browse/FORGE-1400?page=com.atlassian.jira.plugin... ]
Antonio Goncalves updated FORGE-1400:
-------------------------------------
Fix Version/s: 2.x Future
> java command is missing
> -----------------------
>
> Key: FORGE-1400
> URL: https://issues.jboss.org/browse/FORGE-1400
> Project: Forge
> Issue Type: Sub-task
> Components: UI - Shell
> Affects Versions: 2.0.0.Beta4
> Reporter: Antonio Goncalves
> Fix For: 2.x Future
>
>
> I need to create an enum and the {{java}} command is missing. With the new syntax in Forge 2.x, what I need to do is :
> {code}
> java-new-enum --named CreditCardType --package org.agoncal.application.petstore.model ;
> java-new-enum-const VISA ;
> java-new-enum-const AMERICAN_EXPRESS ;
> java-new-enum-const MASTER_CARD ;
> {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
11 years, 9 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:
-------------------------------------
Fix Version/s: 2.x Future
> 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.Beta4
> Reporter: Antonio Goncalves
> 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
11 years, 9 months
[JBoss JIRA] (FORGE-1398) Being able to create embeddables
by Antonio Goncalves (JIRA)
[ https://issues.jboss.org/browse/FORGE-1398?page=com.atlassian.jira.plugin... ]
Antonio Goncalves updated FORGE-1398:
-------------------------------------
Fix Version/s: 2.x Future
> Being able to create embeddables
> --------------------------------
>
> Key: FORGE-1398
> URL: https://issues.jboss.org/browse/FORGE-1398
> Project: Forge
> Issue Type: Sub-task
> Components: UI - Shell
> Affects Versions: 2.0.0.Beta4
> Reporter: Antonio Goncalves
> Fix For: 2.x Future
>
>
> As per [FORGE-797] it would be good to have a new command to create an embeddable :
> {code}
> jpa-new-embeddable --named Address ;
> jpa-new-field --named street1 --length 50 ;
> jpa-new-field --named street2 ;
> jpa-new-field --named city --length 50 ;
> jpa-new-field --named state ;
> {code}
> Then, how do we embed it into a entity ? We could have a new {{--relationshipType}} :
> {code}
> jpa-new-entity --named Customer ;
> jpa-new-field --named address --entity org.agoncal.application.petstore.model.Address --relationshipType Embedded ;
> {code}
> Except {{Address}} is not an entity. So having {{--entity}} pointing to an embeddable looks strange
--
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
11 years, 9 months