You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Henry Kuijpers (Jira)" <ji...@apache.org> on 2020/09/19 23:39:00 UTC

[jira] [Created] (SLING-9750) ServiceInfo#getId returns int 0 on string id-value

Henry Kuijpers created SLING-9750:
-------------------------------------

             Summary: ServiceInfo#getId returns int 0 on string id-value
                 Key: SLING-9750
                 URL: https://issues.apache.org/jira/browse/SLING-9750
             Project: Sling
          Issue Type: New Feature
          Components: Apache Sling Testing Clients
    Affects Versions: Apache Sling Testing Clients 2.0.2
            Reporter: Henry Kuijpers


In the OSGi server I'm using, [http://localhost:63597/system/console/services.json] will return a list of services, listing their ID as a string.

Due to that, the node that is retrieved is a TextNode, instead of a IntNode, causing the default 0 to be returned, instead of the numeric value.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)