[jira] [Commented] (ISIS-1572) RestfulObjects viewer - Service members empty

2017-10-26 Thread ASF subversion and git services (JIRA)

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

ASF subversion and git services commented on ISIS-1572:
---

Commit 0b7f44552d81ac7aa0172b1c6cad6d24778db518 in isis's branch 
refs/heads/dev/2.0.0/ISIS-1742-remove-deprecations from [~danhaywood]
[ https://gitbox.apache.org/repos/asf?p=isis.git;h=0b7f445 ]

ISIS-1572: adds outline docs for MenuBarsService


> RestfulObjects viewer - Service members empty
> -
>
> Key: ISIS-1572
> URL: https://issues.apache.org/jira/browse/ISIS-1572
> Project: Isis
>  Issue Type: Bug
>  Components: Core: Viewer: RestfulObjects
>Affects Versions: 1.13.0
> Environment: Web.xml is patched according to 
> https://github.com/danhaywood/isis-angularjs-simpleapp in order to cope with 
> CORS issues.
>Reporter: Jörg Rade
> Fix For: 1.15.0
>
>
> _Sometimes_ the members section of the response to 
> http://localhost:9090/restful/services/Applications/ is empty - sometimes it 
> is not:
> {code|language=javascript}
> {
>   "links" : [ {
> "rel" : "self",
> "href" : "http://localhost:9090/restful/services/Applications";,
> "method" : "GET",
> "type" : 
> "application/json;profile=\"urn:org.restfulobjects:repr-types/object\"",
> "title" : "Applications"
>   }, {
> "rel" : "describedby",
> "href" : 
> "http://localhost:9090/restful/domain-types/ife.dep.Applications";,
> "method" : "GET",
> "type" : 
> "application/json;profile=\"urn:org.restfulobjects:repr-types/domain-type\""
>   }, {
> "rel" : "up",
> "href" : "http://localhost:9090/restful/services";,
> "method" : "GET",
> "type" : 
> "application/json;profile=\"urn:org.restfulobjects:repr-types/list\""
>   } ],
>   "extensions" : {
> "oid" : "ife.dep.Applications:1",
> "isService" : true,
> "isPersistent" : true
>   },
>   "title" : "Applications",
>   "serviceId" : "Applications",
>   "members" : { }
> }
> {code}
> After some time the app was  accessed via the wicket viewer. It first 
> delivered the homepage and then I invoked the listAll operation via the 
> respective menu item.
> Invoking  http://localhost:9090/restful/services/Applications/ afterwards 
> showed the expected response including the members.
> In another case there was a difference between:
> * http://localhost:9090/restful/services/Applications/ (with members) and
> * http://localhost:9090/restful/services/Applications (without members)
> In yet another case both URL's delivered a result without 'members' filled, 
> even after the 'workaround' described above.
> https://github.com/joerg-rade/isis-app-todoapp shows the same behavior:
> * http://localhost:/restful/services/todo.ToDoItems/ whereas
> * http://localhost:/restful/domain-types/todoapp.dom.todoitem.ToDoItems 
> shows the members



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)


[jira] [Commented] (ISIS-1572) RestfulObjects viewer - Service members empty

2017-10-25 Thread ASF subversion and git services (JIRA)

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

ASF subversion and git services commented on ISIS-1572:
---

Commit 0b7f44552d81ac7aa0172b1c6cad6d24778db518 in isis's branch 
refs/heads/master from [~danhaywood]
[ https://gitbox.apache.org/repos/asf?p=isis.git;h=0b7f445 ]

ISIS-1572: adds outline docs for MenuBarsService


> RestfulObjects viewer - Service members empty
> -
>
> Key: ISIS-1572
> URL: https://issues.apache.org/jira/browse/ISIS-1572
> Project: Isis
>  Issue Type: Bug
>  Components: Core: Viewer: RestfulObjects
>Affects Versions: 1.13.0
> Environment: Web.xml is patched according to 
> https://github.com/danhaywood/isis-angularjs-simpleapp in order to cope with 
> CORS issues.
>Reporter: Jörg Rade
> Fix For: 1.15.0
>
>
> _Sometimes_ the members section of the response to 
> http://localhost:9090/restful/services/Applications/ is empty - sometimes it 
> is not:
> {code|language=javascript}
> {
>   "links" : [ {
> "rel" : "self",
> "href" : "http://localhost:9090/restful/services/Applications";,
> "method" : "GET",
> "type" : 
> "application/json;profile=\"urn:org.restfulobjects:repr-types/object\"",
> "title" : "Applications"
>   }, {
> "rel" : "describedby",
> "href" : 
> "http://localhost:9090/restful/domain-types/ife.dep.Applications";,
> "method" : "GET",
> "type" : 
> "application/json;profile=\"urn:org.restfulobjects:repr-types/domain-type\""
>   }, {
> "rel" : "up",
> "href" : "http://localhost:9090/restful/services";,
> "method" : "GET",
> "type" : 
> "application/json;profile=\"urn:org.restfulobjects:repr-types/list\""
>   } ],
>   "extensions" : {
> "oid" : "ife.dep.Applications:1",
> "isService" : true,
> "isPersistent" : true
>   },
>   "title" : "Applications",
>   "serviceId" : "Applications",
>   "members" : { }
> }
> {code}
> After some time the app was  accessed via the wicket viewer. It first 
> delivered the homepage and then I invoked the listAll operation via the 
> respective menu item.
> Invoking  http://localhost:9090/restful/services/Applications/ afterwards 
> showed the expected response including the members.
> In another case there was a difference between:
> * http://localhost:9090/restful/services/Applications/ (with members) and
> * http://localhost:9090/restful/services/Applications (without members)
> In yet another case both URL's delivered a result without 'members' filled, 
> even after the 'workaround' described above.
> https://github.com/joerg-rade/isis-app-todoapp shows the same behavior:
> * http://localhost:/restful/services/todo.ToDoItems/ whereas
> * http://localhost:/restful/domain-types/todoapp.dom.todoitem.ToDoItems 
> shows the members



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)


[jira] [Commented] (ISIS-1572) RestfulObjects viewer - Service members empty

2017-06-30 Thread JIRA

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

Jörg Rade commented on ISIS-1572:
-

Maybe update https://github.com/danhaywood/isis-angularjs-simpleapp ?

> RestfulObjects viewer - Service members empty
> -
>
> Key: ISIS-1572
> URL: https://issues.apache.org/jira/browse/ISIS-1572
> Project: Isis
>  Issue Type: Bug
>  Components: Core: Viewer: RestfulObjects
>Affects Versions: 1.13.0
> Environment: Web.xml is patched according to 
> https://github.com/danhaywood/isis-angularjs-simpleapp in order to cope with 
> CORS issues.
>Reporter: Jörg Rade
> Fix For: 1.15.0
>
>
> _Sometimes_ the members section of the response to 
> http://localhost:9090/restful/services/Applications/ is empty - sometimes it 
> is not:
> {code|language=javascript}
> {
>   "links" : [ {
> "rel" : "self",
> "href" : "http://localhost:9090/restful/services/Applications";,
> "method" : "GET",
> "type" : 
> "application/json;profile=\"urn:org.restfulobjects:repr-types/object\"",
> "title" : "Applications"
>   }, {
> "rel" : "describedby",
> "href" : 
> "http://localhost:9090/restful/domain-types/ife.dep.Applications";,
> "method" : "GET",
> "type" : 
> "application/json;profile=\"urn:org.restfulobjects:repr-types/domain-type\""
>   }, {
> "rel" : "up",
> "href" : "http://localhost:9090/restful/services";,
> "method" : "GET",
> "type" : 
> "application/json;profile=\"urn:org.restfulobjects:repr-types/list\""
>   } ],
>   "extensions" : {
> "oid" : "ife.dep.Applications:1",
> "isService" : true,
> "isPersistent" : true
>   },
>   "title" : "Applications",
>   "serviceId" : "Applications",
>   "members" : { }
> }
> {code}
> After some time the app was  accessed via the wicket viewer. It first 
> delivered the homepage and then I invoked the listAll operation via the 
> respective menu item.
> Invoking  http://localhost:9090/restful/services/Applications/ afterwards 
> showed the expected response including the members.
> In another case there was a difference between:
> * http://localhost:9090/restful/services/Applications/ (with members) and
> * http://localhost:9090/restful/services/Applications (without members)
> In yet another case both URL's delivered a result without 'members' filled, 
> even after the 'workaround' described above.
> https://github.com/joerg-rade/isis-app-todoapp shows the same behavior:
> * http://localhost:/restful/services/todo.ToDoItems/ whereas
> * http://localhost:/restful/domain-types/todoapp.dom.todoitem.ToDoItems 
> shows the members



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)


[jira] [Commented] (ISIS-1572) RestfulObjects viewer - Service members empty

2017-06-30 Thread JIRA

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

Jörg Rade commented on ISIS-1572:
-

In [1] a different CORS filter and configuration 
(org.ebaysf.web.cors.CORSFilter) is suggested. 

Seems to solve the issue.

[1] https://qnalist.com/questions/6453447/problems-with-isis-rest


> RestfulObjects viewer - Service members empty
> -
>
> Key: ISIS-1572
> URL: https://issues.apache.org/jira/browse/ISIS-1572
> Project: Isis
>  Issue Type: Bug
>  Components: Core: Viewer: RestfulObjects
>Affects Versions: 1.13.0
> Environment: Web.xml is patched according to 
> https://github.com/danhaywood/isis-angularjs-simpleapp in order to cope with 
> CORS issues.
>Reporter: Jörg Rade
> Fix For: 1.15.0
>
>
> _Sometimes_ the members section of the response to 
> http://localhost:9090/restful/services/Applications/ is empty - sometimes it 
> is not:
> {code|language=javascript}
> {
>   "links" : [ {
> "rel" : "self",
> "href" : "http://localhost:9090/restful/services/Applications";,
> "method" : "GET",
> "type" : 
> "application/json;profile=\"urn:org.restfulobjects:repr-types/object\"",
> "title" : "Applications"
>   }, {
> "rel" : "describedby",
> "href" : 
> "http://localhost:9090/restful/domain-types/ife.dep.Applications";,
> "method" : "GET",
> "type" : 
> "application/json;profile=\"urn:org.restfulobjects:repr-types/domain-type\""
>   }, {
> "rel" : "up",
> "href" : "http://localhost:9090/restful/services";,
> "method" : "GET",
> "type" : 
> "application/json;profile=\"urn:org.restfulobjects:repr-types/list\""
>   } ],
>   "extensions" : {
> "oid" : "ife.dep.Applications:1",
> "isService" : true,
> "isPersistent" : true
>   },
>   "title" : "Applications",
>   "serviceId" : "Applications",
>   "members" : { }
> }
> {code}
> After some time the app was  accessed via the wicket viewer. It first 
> delivered the homepage and then I invoked the listAll operation via the 
> respective menu item.
> Invoking  http://localhost:9090/restful/services/Applications/ afterwards 
> showed the expected response including the members.
> In another case there was a difference between:
> * http://localhost:9090/restful/services/Applications/ (with members) and
> * http://localhost:9090/restful/services/Applications (without members)
> In yet another case both URL's delivered a result without 'members' filled, 
> even after the 'workaround' described above.
> https://github.com/joerg-rade/isis-app-todoapp shows the same behavior:
> * http://localhost:/restful/services/todo.ToDoItems/ whereas
> * http://localhost:/restful/domain-types/todoapp.dom.todoitem.ToDoItems 
> shows the members



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)


[jira] [Commented] (ISIS-1572) RestfulObjects viewer - Service members empty

2017-06-07 Thread JIRA

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

Jörg Rade commented on ISIS-1572:
-

Update of the example app and README will take some more time.

I tried setting 
{code} isis.viewer.restfulobjects.objectPropertyValuesOnly=false {code}
and it appears to have the following effect:

On the first invocation members are empty and CrossOriginFilter is not passed - 
at least according to log output.
The next incocation includes the members as expected and the CrossOrigin filter 
is passed  with output, e.g.
{code}
12:52:53,239  [CrossOriginFilterqtp974747823-32 DEBUG]  Cross-origin 
request to /restful/services/isisApplib.ConfigurationServiceMenu is a simple 
cross-origin request
12:52:53,244  [i18n qtp974747823-32 DEBUG]  RESTEASY002315: 
PathInfo: /services/isisApplib.ConfigurationServiceMenu
{code}


> RestfulObjects viewer - Service members empty
> -
>
> Key: ISIS-1572
> URL: https://issues.apache.org/jira/browse/ISIS-1572
> Project: Isis
>  Issue Type: Bug
>  Components: Core: Viewer: RestfulObjects
>Affects Versions: 1.13.0
> Environment: Web.xml is patched according to 
> https://github.com/danhaywood/isis-angularjs-simpleapp in order to cope with 
> CORS issues.
>Reporter: Jörg Rade
> Fix For: 1.15.0
>
>
> _Sometimes_ the members section of the response to 
> http://localhost:9090/restful/services/Applications/ is empty - sometimes it 
> is not:
> {code|language=javascript}
> {
>   "links" : [ {
> "rel" : "self",
> "href" : "http://localhost:9090/restful/services/Applications";,
> "method" : "GET",
> "type" : 
> "application/json;profile=\"urn:org.restfulobjects:repr-types/object\"",
> "title" : "Applications"
>   }, {
> "rel" : "describedby",
> "href" : 
> "http://localhost:9090/restful/domain-types/ife.dep.Applications";,
> "method" : "GET",
> "type" : 
> "application/json;profile=\"urn:org.restfulobjects:repr-types/domain-type\""
>   }, {
> "rel" : "up",
> "href" : "http://localhost:9090/restful/services";,
> "method" : "GET",
> "type" : 
> "application/json;profile=\"urn:org.restfulobjects:repr-types/list\""
>   } ],
>   "extensions" : {
> "oid" : "ife.dep.Applications:1",
> "isService" : true,
> "isPersistent" : true
>   },
>   "title" : "Applications",
>   "serviceId" : "Applications",
>   "members" : { }
> }
> {code}
> After some time the app was  accessed via the wicket viewer. It first 
> delivered the homepage and then I invoked the listAll operation via the 
> respective menu item.
> Invoking  http://localhost:9090/restful/services/Applications/ afterwards 
> showed the expected response including the members.
> In another case there was a difference between:
> * http://localhost:9090/restful/services/Applications/ (with members) and
> * http://localhost:9090/restful/services/Applications (without members)
> In yet another case both URL's delivered a result without 'members' filled, 
> even after the 'workaround' described above.
> https://github.com/joerg-rade/isis-app-todoapp shows the same behavior:
> * http://localhost:/restful/services/todo.ToDoItems/ whereas
> * http://localhost:/restful/domain-types/todoapp.dom.todoitem.ToDoItems 
> shows the members



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)


[jira] [Commented] (ISIS-1572) RestfulObjects viewer - Service members empty

2017-06-02 Thread JIRA

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

Jörg Rade commented on ISIS-1572:
-

If I recall correctly, I could reproduce it with 
https://github.com/joerg-rade/isis-app-todoapp 

Cheers -j

> RestfulObjects viewer - Service members empty
> -
>
> Key: ISIS-1572
> URL: https://issues.apache.org/jira/browse/ISIS-1572
> Project: Isis
>  Issue Type: Bug
>  Components: Core: Viewer: RestfulObjects
>Affects Versions: 1.13.0
> Environment: Web.xml is patched according to 
> https://github.com/danhaywood/isis-angularjs-simpleapp in order to cope with 
> CORS issues.
>Reporter: Jörg Rade
> Fix For: 1.15.0
>
>
> _Sometimes_ the members section of the response to 
> http://localhost:9090/restful/services/Applications/ is empty - sometimes it 
> is not:
> {code|language=javascript}
> {
>   "links" : [ {
> "rel" : "self",
> "href" : "http://localhost:9090/restful/services/Applications";,
> "method" : "GET",
> "type" : 
> "application/json;profile=\"urn:org.restfulobjects:repr-types/object\"",
> "title" : "Applications"
>   }, {
> "rel" : "describedby",
> "href" : 
> "http://localhost:9090/restful/domain-types/ife.dep.Applications";,
> "method" : "GET",
> "type" : 
> "application/json;profile=\"urn:org.restfulobjects:repr-types/domain-type\""
>   }, {
> "rel" : "up",
> "href" : "http://localhost:9090/restful/services";,
> "method" : "GET",
> "type" : 
> "application/json;profile=\"urn:org.restfulobjects:repr-types/list\""
>   } ],
>   "extensions" : {
> "oid" : "ife.dep.Applications:1",
> "isService" : true,
> "isPersistent" : true
>   },
>   "title" : "Applications",
>   "serviceId" : "Applications",
>   "members" : { }
> }
> {code}
> After some time the app was  accessed via the wicket viewer. It first 
> delivered the homepage and then I invoked the listAll operation via the 
> respective menu item.
> Invoking  http://localhost:9090/restful/services/Applications/ afterwards 
> showed the expected response including the members.
> In another case there was a difference between:
> * http://localhost:9090/restful/services/Applications/ (with members) and
> * http://localhost:9090/restful/services/Applications (without members)
> In yet another case both URL's delivered a result without 'members' filled, 
> even after the 'workaround' described above.
> https://github.com/joerg-rade/isis-app-todoapp shows the same behavior:
> * http://localhost:/restful/services/todo.ToDoItems/ whereas
> * http://localhost:/restful/domain-types/todoapp.dom.todoitem.ToDoItems 
> shows the members



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)


[jira] [Commented] (ISIS-1572) RestfulObjects viewer - Service members empty

2017-06-02 Thread Dan Haywood (JIRA)

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

Dan Haywood commented on ISIS-1572:
---

could you create an example app on github, along with a README to explain 
exactly how to reproduce?

> RestfulObjects viewer - Service members empty
> -
>
> Key: ISIS-1572
> URL: https://issues.apache.org/jira/browse/ISIS-1572
> Project: Isis
>  Issue Type: Bug
>  Components: Core: Viewer: RestfulObjects
>Affects Versions: 1.13.0
> Environment: Web.xml is patched according to 
> https://github.com/danhaywood/isis-angularjs-simpleapp in order to cope with 
> CORS issues.
>Reporter: Jörg Rade
> Fix For: 1.15.0
>
>
> _Sometimes_ the members section of the response to 
> http://localhost:9090/restful/services/Applications/ is empty - sometimes it 
> is not:
> {code|language=javascript}
> {
>   "links" : [ {
> "rel" : "self",
> "href" : "http://localhost:9090/restful/services/Applications";,
> "method" : "GET",
> "type" : 
> "application/json;profile=\"urn:org.restfulobjects:repr-types/object\"",
> "title" : "Applications"
>   }, {
> "rel" : "describedby",
> "href" : 
> "http://localhost:9090/restful/domain-types/ife.dep.Applications";,
> "method" : "GET",
> "type" : 
> "application/json;profile=\"urn:org.restfulobjects:repr-types/domain-type\""
>   }, {
> "rel" : "up",
> "href" : "http://localhost:9090/restful/services";,
> "method" : "GET",
> "type" : 
> "application/json;profile=\"urn:org.restfulobjects:repr-types/list\""
>   } ],
>   "extensions" : {
> "oid" : "ife.dep.Applications:1",
> "isService" : true,
> "isPersistent" : true
>   },
>   "title" : "Applications",
>   "serviceId" : "Applications",
>   "members" : { }
> }
> {code}
> After some time the app was  accessed via the wicket viewer. It first 
> delivered the homepage and then I invoked the listAll operation via the 
> respective menu item.
> Invoking  http://localhost:9090/restful/services/Applications/ afterwards 
> showed the expected response including the members.
> In another case there was a difference between:
> * http://localhost:9090/restful/services/Applications/ (with members) and
> * http://localhost:9090/restful/services/Applications (without members)
> In yet another case both URL's delivered a result without 'members' filled, 
> even after the 'workaround' described above.
> https://github.com/joerg-rade/isis-app-todoapp shows the same behavior:
> * http://localhost:/restful/services/todo.ToDoItems/ whereas
> * http://localhost:/restful/domain-types/todoapp.dom.todoitem.ToDoItems 
> shows the members



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)


[jira] [Commented] (ISIS-1572) RestfulObjects viewer - Service members empty

2017-04-19 Thread JIRA

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

Jörg Rade commented on ISIS-1572:
-

https://mortoray.com/2014/04/09/allowing-unlimited-access-with-cors/ may shed 
some light. 

> RestfulObjects viewer - Service members empty
> -
>
> Key: ISIS-1572
> URL: https://issues.apache.org/jira/browse/ISIS-1572
> Project: Isis
>  Issue Type: Bug
>  Components: Core: Viewer: RestfulObjects
>Affects Versions: 1.13.0
> Environment: Web.xml is patched according to 
> https://github.com/danhaywood/isis-angularjs-simpleapp in order to cope with 
> CORS issues.
>Reporter: Jörg Rade
> Fix For: 1.15.0
>
>
> _Sometimes_ the members section of the response to 
> http://localhost:9090/restful/services/Applications/ is empty - sometimes it 
> is not:
> {code|language=javascript}
> {
>   "links" : [ {
> "rel" : "self",
> "href" : "http://localhost:9090/restful/services/Applications";,
> "method" : "GET",
> "type" : 
> "application/json;profile=\"urn:org.restfulobjects:repr-types/object\"",
> "title" : "Applications"
>   }, {
> "rel" : "describedby",
> "href" : 
> "http://localhost:9090/restful/domain-types/ife.dep.Applications";,
> "method" : "GET",
> "type" : 
> "application/json;profile=\"urn:org.restfulobjects:repr-types/domain-type\""
>   }, {
> "rel" : "up",
> "href" : "http://localhost:9090/restful/services";,
> "method" : "GET",
> "type" : 
> "application/json;profile=\"urn:org.restfulobjects:repr-types/list\""
>   } ],
>   "extensions" : {
> "oid" : "ife.dep.Applications:1",
> "isService" : true,
> "isPersistent" : true
>   },
>   "title" : "Applications",
>   "serviceId" : "Applications",
>   "members" : { }
> }
> {code}
> After some time the app was  accessed via the wicket viewer. It first 
> delivered the homepage and then I invoked the listAll operation via the 
> respective menu item.
> Invoking  http://localhost:9090/restful/services/Applications/ afterwards 
> showed the expected response including the members.
> In another case there was a difference between:
> * http://localhost:9090/restful/services/Applications/ (with members) and
> * http://localhost:9090/restful/services/Applications (without members)
> In yet another case both URL's delivered a result without 'members' filled, 
> even after the 'workaround' described above.
> https://github.com/joerg-rade/isis-app-todoapp shows the same behavior:
> * http://localhost:/restful/services/todo.ToDoItems/ whereas
> * http://localhost:/restful/domain-types/todoapp.dom.todoitem.ToDoItems 
> shows the members



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)


[jira] [Commented] (ISIS-1572) RestfulObjects viewer - Service members empty

2017-02-27 Thread JIRA

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

Jörg Rade commented on ISIS-1572:
-

The unexpected behavior occurs when:
* 
org.apache.isis.viewer.restfulobjects.server.authentication.AuthenticationSessionStrategyTrusted

is used instead of:
* 
org.apache.isis.viewer.restfulobjects.server.authentication.AuthenticationSessionStrategyBasicAuth

> RestfulObjects viewer - Service members empty
> -
>
> Key: ISIS-1572
> URL: https://issues.apache.org/jira/browse/ISIS-1572
> Project: Isis
>  Issue Type: Bug
>  Components: Core: Viewer: RestfulObjects
>Affects Versions: 1.13.0
> Environment: Web.xml is patched according to 
> https://github.com/danhaywood/isis-angularjs-simpleapp in order to cope with 
> CORS issues.
>Reporter: Jörg Rade
>
> _Sometimes_ the members section of the response to 
> http://localhost:9090/restful/services/Applications/ is empty - sometimes it 
> is not:
> {code|language=javascript}
> {
>   "links" : [ {
> "rel" : "self",
> "href" : "http://localhost:9090/restful/services/Applications";,
> "method" : "GET",
> "type" : 
> "application/json;profile=\"urn:org.restfulobjects:repr-types/object\"",
> "title" : "Applications"
>   }, {
> "rel" : "describedby",
> "href" : 
> "http://localhost:9090/restful/domain-types/ife.dep.Applications";,
> "method" : "GET",
> "type" : 
> "application/json;profile=\"urn:org.restfulobjects:repr-types/domain-type\""
>   }, {
> "rel" : "up",
> "href" : "http://localhost:9090/restful/services";,
> "method" : "GET",
> "type" : 
> "application/json;profile=\"urn:org.restfulobjects:repr-types/list\""
>   } ],
>   "extensions" : {
> "oid" : "ife.dep.Applications:1",
> "isService" : true,
> "isPersistent" : true
>   },
>   "title" : "Applications",
>   "serviceId" : "Applications",
>   "members" : { }
> }
> {code}
> After some time the app was  accessed via the wicket viewer. It first 
> delivered the homepage and then I invoked the listAll operation via the 
> respective menu item.
> Invoking  http://localhost:9090/restful/services/Applications/ afterwards 
> showed the expected response including the members.
> In another case there was a difference between:
> * http://localhost:9090/restful/services/Applications/ (with members) and
> * http://localhost:9090/restful/services/Applications (without members)
> In yet another case both URL's delivered a result without 'members' filled, 
> even after the 'workaround' described above.
> https://github.com/joerg-rade/isis-app-todoapp shows the same behavior:
> * http://localhost:/restful/services/todo.ToDoItems/ whereas
> * http://localhost:/restful/domain-types/todoapp.dom.todoitem.ToDoItems 
> shows the members



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)


[jira] [Commented] (ISIS-1572) RestfulObjects viewer - Service members empty

2017-01-27 Thread JIRA

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

Jörg Rade commented on ISIS-1572:
-

See eMail thread: 
https://lists.apache.org/api/atom.lua?mid=826e2d8ecfd4218d55e22d6e1983c52f549b5fc5dd5c1dd5ddc615f2@%3Cusers.isis.apache.org%3E

> RestfulObjects viewer - Service members empty
> -
>
> Key: ISIS-1572
> URL: https://issues.apache.org/jira/browse/ISIS-1572
> Project: Isis
>  Issue Type: Bug
>  Components: Core: Viewer: RestfulObjects
>Affects Versions: 1.13.0
> Environment: Web.xml is patched according to 
> https://github.com/danhaywood/isis-angularjs-simpleapp in order to cope with 
> CORS issues.
>Reporter: Jörg Rade
>
> _Sometimes_ the members section of the response to 
> http://localhost:9090/restful/services/Applications/ is empty - sometimes it 
> is not:
> {code|language=javascript}
> {
>   "links" : [ {
> "rel" : "self",
> "href" : "http://localhost:9090/restful/services/Applications";,
> "method" : "GET",
> "type" : 
> "application/json;profile=\"urn:org.restfulobjects:repr-types/object\"",
> "title" : "Applications"
>   }, {
> "rel" : "describedby",
> "href" : 
> "http://localhost:9090/restful/domain-types/ife.dep.Applications";,
> "method" : "GET",
> "type" : 
> "application/json;profile=\"urn:org.restfulobjects:repr-types/domain-type\""
>   }, {
> "rel" : "up",
> "href" : "http://localhost:9090/restful/services";,
> "method" : "GET",
> "type" : 
> "application/json;profile=\"urn:org.restfulobjects:repr-types/list\""
>   } ],
>   "extensions" : {
> "oid" : "ife.dep.Applications:1",
> "isService" : true,
> "isPersistent" : true
>   },
>   "title" : "Applications",
>   "serviceId" : "Applications",
>   "members" : { }
> }
> {code}
> After some time the app was  accessed via the wicket viewer. It first 
> delivered the homepage and then I invoked the listAll operation via the 
> respective menu item.
> Invoking  http://localhost:9090/restful/services/Applications/ afterwards 
> showed the expected response including the members.
> In another case there was a difference between:
> * http://localhost:9090/restful/services/Applications/ (with members) and
> * http://localhost:9090/restful/services/Applications (without members)
> In yet another case both URL's delivered a result without 'members' filled, 
> even after the 'workaround' described above.
> https://github.com/joerg-rade/isis-app-todoapp shows the same behavior:
> * http://localhost:/restful/services/todo.ToDoItems/ whereas
> * http://localhost:/restful/domain-types/todoapp.dom.todoitem.ToDoItems 
> shows the members



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)