Uploaded image for project: 'Isis'
  1. Isis
  2. ISIS-1572

RestfulObjects viewer - Service members empty

    Details

      Description

      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" : { }
      }

      
      

      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:

      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:

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              joerg.rade Jörg Rade
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: