[ 
https://issues.apache.org/jira/browse/ISIS-2034?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16690393#comment-16690393
 ] 

Andi Huber commented on ISIS-2034:
----------------------------------

Hi Brian,
can you confirm, that once you create at least a single SimpleObject, the REST 
endpoint '/service/simple.SimpleObjectMenu/actions/listAll/invoke' also does 
return this SimpleObject? At least, that's what I found. 

Following your steps to reproduce does not include a step, where you would 
create any SimpleObject, hence the 'listAll' is empty.

In case, you wonder why: The simple-app defaults to an in memory DB, which on 
every fresh start of the app is empty.

Cheers, Andi!

> REST operations return empty response
> -------------------------------------
>
>                 Key: ISIS-2034
>                 URL: https://issues.apache.org/jira/browse/ISIS-2034
>             Project: Isis
>          Issue Type: Bug
>          Components: Core: Viewer: RestfulObjects
>    Affects Versions: 2.0.0-M2
>         Environment: Windows 7
>            Reporter: Brian Kalbfus
>            Assignee: Andi Huber
>            Priority: Major
>
> to reproduce:
>  # checkout HEAD of v2 branch
>  # mvn clean install
>  # cd to isis/example/application/simpleapp/webapp
>  # set PROTOTYPING=true
>  # mvn jetty:run
>  # open web browser to localhost:8080/wicket, sign in as sven/pass
>  # from prototyping menu, open swagger-ui
>  # reload private spec
>  # select simple - /service/simple.SimpleObjectMenu/actions/listAll/invoke
>  # click "Try it out"
> expected:  Response body should have some output - some json with metadata or 
> something
> actual: Reponse body says "no content"



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to