You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@isis.apache.org by "Brian Kalbfus (JIRA)" <ji...@apache.org> on 2018/11/19 19:43:00 UTC

[jira] [Comment Edited] (ISIS-2034) REST operations return empty response

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

Brian Kalbfus edited comment on ISIS-2034 at 11/19/18 7:42 PM:
---------------------------------------------------------------

Hi Andi,

It gives me the same result if I create SimpleObject instances.  See attached screenshot.  If there are no instances, I'd expect there would be returned an empty list.  I just did 'git pull' and rebuilt the simpleapp; I have the same result.  The HTTP status code (missing from screenshot) is 401.

Thanks,

Brian


was (Author: bkalbfus):
Hi Andi,

It gives me the same result if I create SimpleObject instances.  See attached screenshot.  If there are no instances, I'd expect there would be returned an empty list.  I just did 'git pull' and rebuilt the simpleapp; I have the same result.

Thanks,

Brian

> 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: Minor
>              Labels: not-an-issue
>             Fix For: 2.0.0-M2
>
>         Attachments: simpleappswaggerui.png
>
>
> 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)