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:50:00 UTC
[jira] [Commented] (SLING-9750) ServiceInfo#getId returns int 0 on
string id-value
[ https://issues.apache.org/jira/browse/SLING-9750?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17198844#comment-17198844 ]
Henry Kuijpers commented on SLING-9750:
---------------------------------------
PR: [https://github.com/apache/sling-org-apache-sling-testing-clients/pull/18]
> 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
> Priority: Major
> Time Spent: 20m
> Remaining Estimate: 0h
>
> 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)