You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Eric Norman (Jira)" <ji...@apache.org> on 2020/10/15 01:02:00 UTC
[jira] [Closed] (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:all-tabpanel ]
Eric Norman closed SLING-9750.
------------------------------
Completed with the 2.0.4 release
> 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
> Fix For: Apache Sling Testing Clients 2.0.6
>
> Time Spent: 1h 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)