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

George Gastaldi (JIRA) issues at jboss.org
Tue Nov 11 09:58:11 EST 2014


    [ https://issues.jboss.org/browse/FORGE-2141?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13018980#comment-13018980 ] 

George Gastaldi edited comment on FORGE-2141 at 11/11/14 9:44 AM:
------------------------------------------------------------------

[~teoram],

Is the REST endpoint for the Author entity generated after you select 0? If so, the behavior is correct


was (Author: gastaldi):
[~teoram],

Is the Author entity generated after you select 0? If so, the behavior is correct

> 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
>
> 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