[forge-issues] [JBoss JIRA] (FORGE-2141) rest-generate-endpoints-from-entities selector does not select correct entity

Tom Van den Bulck (JIRA) issues at jboss.org
Wed Nov 12 03:01:06 EST 2014


     [ https://issues.jboss.org/browse/FORGE-2141?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Tom Van den Bulck updated FORGE-2141:
-------------------------------------
    Attachment: jboss forge error.jpg


Attached is a screenshot of the sequence.

It did not create the author endpoint after pressing 0 (for the 1st time)
It created the book endpoint after pressing 0 for the second time.

For the author endpoint I had to select first 1 as an option and then 0 again.


> rest-generate-endpoints-from-entities selector does not select correct entity
> -----------------------------------------------------------------------------
>
>                 Key: FORGE-2141
>                 URL: https://issues.jboss.org/browse/FORGE-2141
>             Project: Forge
>          Issue Type: Bug
>    Affects Versions: 2.12.2.Final
>            Reporter: Tom Van den Bulck
>            Priority: Minor
>         Attachments: jboss forge error.jpg
>
>
> When executing the command rest-generate-endpoints-from-entities --target  org.cdbookstore.model.*
> It provides a selector 
> [0] - org.bookstore.model.Author
> [1] - org.bookstore.model.Book
> Target: [0-1]: 0
> This gives the following result
> [0] - org.bookstore.model.Book (which was selection 1)
> And vice versa, pressing 1 gives the Author object to select



--
This message was sent by Atlassian JIRA
(v6.3.8#6338)


More information about the forge-issues mailing list