[jira] [Updated] (SLING-7115) JsonUtil.unbox generates a NPE with null values in object

2017-09-07 Thread Nicolas Peltier (JIRA)
[ https://issues.apache.org/jira/browse/SLING-7115?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Nicolas Peltier updated SLING-7115: --- Summary: JsonUtil.unbox generates a NPE with null values in object (was: CLONE - JsonUtil.unb

[jira] [Updated] (SLING-7115) CLONE - JsonUtil.unbox generates a NPE with null values in object

2017-09-07 Thread Nicolas Peltier (JIRA)
[ https://issues.apache.org/jira/browse/SLING-7115?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Nicolas Peltier updated SLING-7115: --- Component/s: (was: Content Distribution Integration Tests) Extensions > C

[jira] [Updated] (SLING-7115) CLONE - JsonUtil.unbox generates a NPE with null values in object

2017-09-07 Thread Nicolas Peltier (JIRA)
[ https://issues.apache.org/jira/browse/SLING-7115?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Nicolas Peltier updated SLING-7115: --- Affects Version/s: (was: Content Distribution Core 0.2.8) Pipes 1.0.

[jira] [Updated] (SLING-7115) CLONE - JsonUtil.unbox generates a NPE with null values in object

2017-09-07 Thread Nicolas Peltier (JIRA)
[ https://issues.apache.org/jira/browse/SLING-7115?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Nicolas Peltier updated SLING-7115: --- Description: org.apache.sling.pipes.internal.JsonUtil.unbox fails in case of a null value in

[jira] [Created] (SLING-7115) CLONE - JsonUtil.unbox generates a NPE with null values in object

2017-09-07 Thread Nicolas Peltier (JIRA)
Nicolas Peltier created SLING-7115: -- Summary: CLONE - JsonUtil.unbox generates a NPE with null values in object Key: SLING-7115 URL: https://issues.apache.org/jira/browse/SLING-7115 Project: Sling

[jira] [Updated] (SLING-7114) JsonUtil.unbox generates a NPE with null values in object

2017-09-07 Thread Nicolas Peltier (JIRA)
[ https://issues.apache.org/jira/browse/SLING-7114?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Nicolas Peltier updated SLING-7114: --- Affects Version/s: (was: Launchpad Integration Tests 1.0.2) Content

[jira] [Updated] (SLING-7114) JsonUtil.unbox generates a NPE with null values in object

2017-09-07 Thread Nicolas Peltier (JIRA)
[ https://issues.apache.org/jira/browse/SLING-7114?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Nicolas Peltier updated SLING-7114: --- Component/s: (was: Launchpad) Content Distribution Integration Tests > Js

[jira] [Updated] (SLING-7114) JsonUtil.unbox generates a NPE with null values in object

2017-09-07 Thread Nicolas Peltier (JIRA)
[ https://issues.apache.org/jira/browse/SLING-7114?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Nicolas Peltier updated SLING-7114: --- Description: org.apache.sling.distribution.it.JsonUtil.unbox fails in case of a null value in

[jira] [Created] (SLING-7114) JsonUtil.unbox generates a NPE with null values in object

2017-09-07 Thread Nicolas Peltier (JIRA)
Nicolas Peltier created SLING-7114: -- Summary: JsonUtil.unbox generates a NPE with null values in object Key: SLING-7114 URL: https://issues.apache.org/jira/browse/SLING-7114 Project: Sling I

[jira] [Created] (SLING-7113) JsonUtil.unbox generates a NPE with null values in object

2017-09-07 Thread Nicolas Peltier (JIRA)
Nicolas Peltier created SLING-7113: -- Summary: JsonUtil.unbox generates a NPE with null values in object Key: SLING-7113 URL: https://issues.apache.org/jira/browse/SLING-7113 Project: Sling I

[jira] [Commented] (SLING-6868) Initial content should be migrated to bundle resources

2017-09-07 Thread Carsten Ziegeler (JIRA)
[ https://issues.apache.org/jira/browse/SLING-6868?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16158137#comment-16158137 ] Carsten Ziegeler commented on SLING-6868: - With the new bundle resource implementa

[jira] [Commented] (SLING-6878) Bundle resource provider: support mounting of JSON files

2017-09-07 Thread Carsten Ziegeler (JIRA)
[ https://issues.apache.org/jira/browse/SLING-6878?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16158131#comment-16158131 ] Carsten Ziegeler commented on SLING-6878: - [~andrei.dulvac] I'll add some info in

[jira] [Comment Edited] (SLING-6878) Bundle resource provider: support mounting of JSON files

2017-09-07 Thread Carsten Ziegeler (JIRA)
[ https://issues.apache.org/jira/browse/SLING-6878?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16143094#comment-16143094 ] Carsten Ziegeler edited comment on SLING-6878 at 9/8/17 5:00 AM: ---

[jira] [Commented] (SLING-7087) Add extender provide capability

2017-09-07 Thread Carsten Ziegeler (JIRA)
[ https://issues.apache.org/jira/browse/SLING-7087?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16158124#comment-16158124 ] Carsten Ziegeler commented on SLING-7087: - The provided capability gets version 1.

[jira] [Commented] (SLING-6868) Initial content should be migrated to bundle resources

2017-09-07 Thread Carsten Ziegeler (JIRA)
[ https://issues.apache.org/jira/browse/SLING-6868?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16158122#comment-16158122 ] Carsten Ziegeler commented on SLING-6868: - [~andrei.dulvac] The currently released

Re: JsonUtil.unbox with null values

2017-09-07 Thread Karl Pauls
Yes, it looks like collect doesn't like null values. Granted, I'm not sure your patch does the right thing as it will filter out the complete mapping - we'll have to see if that is what we want in all places (probably but we need to double check). Can you create issues for this please? regards, K

Re: JsonUtil.unbox with null values

2017-09-07 Thread Nicolas Peltier
so [1] fixes it. i see it as well in org.apache.sling.launchpad.webapp.integrationtest.util.JsonUtil org.apache.sling.distribution.it.JsonUtil guess fixing it there won't hurt [1] diff --git a/contrib/extensions/sling-pipes/src/main/java/org/apache/sling/pipes/internal/JsonUtil.java b/contrib/

JsonUtil.unbox with null values

2017-09-07 Thread Nicolas Peltier
Hey Karl, have some weird NPE [0] in sling pipes' JsonUtil when "unboxing" null values, but lambda make it hard to debug really :-/ i'm happy to fix it, but should i just create & fix a pipes bug in that project, i saw several static unbox in sling project? is there a plan to have one more centr

[jira] [Comment Edited] (SLING-6878) Bundle resource provider: support mounting of JSON files

2017-09-07 Thread Andrei Dulvac (JIRA)
[ https://issues.apache.org/jira/browse/SLING-6878?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16157239#comment-16157239 ] Andrei Dulvac edited comment on SLING-6878 at 9/7/17 5:06 PM: --

[jira] [Commented] (SLING-6878) Bundle resource provider: support mounting of JSON files

2017-09-07 Thread Andrei Dulvac (JIRA)
[ https://issues.apache.org/jira/browse/SLING-6878?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16157239#comment-16157239 ] Andrei Dulvac commented on SLING-6878: -- [~cziegeler], could you provide an example of

[jira] [Comment Edited] (SLING-6868) Initial content should be migrated to bundle resources

2017-09-07 Thread Andrei Dulvac (JIRA)
[ https://issues.apache.org/jira/browse/SLING-6868?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16157144#comment-16157144 ] Andrei Dulvac edited comment on SLING-6868 at 9/7/17 4:09 PM: --

[jira] [Commented] (SLING-6868) Initial content should be migrated to bundle resources

2017-09-07 Thread Andrei Dulvac (JIRA)
[ https://issues.apache.org/jira/browse/SLING-6868?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16157144#comment-16157144 ] Andrei Dulvac commented on SLING-6868: -- [~cziegeler], I now see why you wrote the fi

[jira] [Commented] (SLING-6868) Initial content should be migrated to bundle resources

2017-09-07 Thread Carsten Ziegeler (JIRA)
[ https://issues.apache.org/jira/browse/SLING-6868?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16157110#comment-16157110 ] Carsten Ziegeler commented on SLING-6868: - [~andrei.dulvac] I think it would be go

[jira] [Comment Edited] (SLING-6868) Initial content should be migrated to bundle resources

2017-09-07 Thread Andrei Dulvac (JIRA)
[ https://issues.apache.org/jira/browse/SLING-6868?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16156967#comment-16156967 ] Andrei Dulvac edited comment on SLING-6868 at 9/7/17 1:59 PM: --

[jira] [Comment Edited] (SLING-6868) Initial content should be migrated to bundle resources

2017-09-07 Thread Andrei Dulvac (JIRA)
[ https://issues.apache.org/jira/browse/SLING-6868?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16156967#comment-16156967 ] Andrei Dulvac edited comment on SLING-6868 at 9/7/17 1:47 PM: --

[jira] [Commented] (SLING-6868) Initial content should be migrated to bundle resources

2017-09-07 Thread Andrei Dulvac (JIRA)
[ https://issues.apache.org/jira/browse/SLING-6868?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16156967#comment-16156967 ] Andrei Dulvac commented on SLING-6868: -- [~cziegeler], Thanks! Can we have a release o

Re: Sling Testing Client's ComponentsInfo class findBy() method does not work

2017-09-07 Thread Andrei Dulvac
Hi. Yeah, that's a bug... As Robert said, a patch would be best! Otherwise I could tackle this, but it will take a bit longer. - Andrei On Thu, Sep 7, 2017 at 2:50 PM Robert Munteanu wrote: > Hi Andy. > > On Fri, 2017-09-01 at 12:43 -0700, Andreas Schaefer wrote: > > Hi > > > > I just noticed

Re: Sling Testing Client's ComponentsInfo class findBy() method does not work

2017-09-07 Thread Robert Munteanu
Hi Andy. On Fri, 2017-09-01 at 12:43 -0700, Andreas Schaefer wrote: > Hi > > I just noticed that the > org.apache.sling.testing.clients.osgi.ComponentsInfo.findBy() does > not honor the value parameter and just returns the first value found. > > It works in BundleInfo though. I am not familiar