[jira] [Commented] (SLING-12254) jcr:data node missing for file resources generated in binaries index defintions

2024-02-19 Thread Abhishek Garg (Jira)


[ 
https://issues.apache.org/jira/browse/SLING-12254?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17818659#comment-17818659
 ] 

Abhishek Garg commented on SLING-12254:
---

PR:[https://github.com/apache/sling-org-apache-sling-feature-cpconverter/pull/175]

> jcr:data node missing for file resources generated in binaries index 
> defintions
> ---
>
> Key: SLING-12254
> URL: https://issues.apache.org/jira/browse/SLING-12254
> Project: Sling
>  Issue Type: Bug
>  Components: Content-Package to Feature Model Converter
>Affects Versions: Content-Package to Feature Model Converter 1.3.4
>Reporter: Abhishek Garg
>Priority: Major
>
> The index definition files generated by the cpcconvertor are missing 
> mandatory jcr:data nodes.
> How the resource should look:
> {code:java}
>     "tika": {
>             "jcr:primaryType": "nam:nt:unstructured",
>             "config.xml": {
>                 "jcr:primaryType": "nam:nt:file",
>                 "jcr:content": {
>                     "jcr:primaryType": "nam:nt:unstructured",
>                     "jcr:mimeType": "text/xml"
>                 }
>             }
>         } 
> {code}
>  
> How it looks like now:
> {code:java}
>       "tika": {
>             "jcr:primaryType": "nam:nt:unstructured",
>             "config.xml": {
>                 "jcr:primaryType": "nam:nt:file",
> 
>                 "jcr:content": {
>                     "jcr:primaryType": "nam:nt:unstructured",
>                     "jcr:mimeType": "text/xml",
>                     "jcr:data": ""
>                 }
>             }
>         } {code}
> There is no `jcr:data` node present
> This happens when node structure is like:
> {code:java}
>       
>             
>                                          jcr:primaryType="nt:unstructured"
>                         jcr:mimeType="text/xml"/>
>             
>           {code}



--
This message was sent by Atlassian Jira
(v8.20.10#820010)


Re: [PR] SLING-12254 handling jcr:data node missing for file resources generated in binaries index defintions [sling-org-apache-sling-feature-cpconverter]

2024-02-19 Thread via GitHub


sonarcloud[bot] commented on PR #175:
URL: 
https://github.com/apache/sling-org-apache-sling-feature-cpconverter/pull/175#issuecomment-1953545504

   ## [![Quality Gate 
Passed](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/checks/QualityGateBadge/qg-passed-20px.png
 'Quality Gate 
Passed')](https://sonarcloud.io/dashboard?id=apache_sling-org-apache-sling-feature-cpconverter=175)
 **Quality Gate passed**  
   Issues  
   
![](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/common/passed-16px.png
 '') [0 New 
issues](https://sonarcloud.io/project/issues?id=apache_sling-org-apache-sling-feature-cpconverter=175=false=true)
   
   Measures  
   
![](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/common/passed-16px.png
 '') [0 Security 
Hotspots](https://sonarcloud.io/project/security_hotspots?id=apache_sling-org-apache-sling-feature-cpconverter=175=false=true)
  
   
![](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/common/passed-16px.png
 '') [100.0% Coverage on New 
Code](https://sonarcloud.io/component_measures?id=apache_sling-org-apache-sling-feature-cpconverter=175=new_coverage=list)
  
   
![](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/common/passed-16px.png
 '') [0.0% Duplication on New 
Code](https://sonarcloud.io/component_measures?id=apache_sling-org-apache-sling-feature-cpconverter=175=new_duplicated_lines_density=list)
  
 
   [See analysis details on 
SonarCloud](https://sonarcloud.io/dashboard?id=apache_sling-org-apache-sling-feature-cpconverter=175)
   
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscr...@sling.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



[PR] SLING-12254 handling jcr:data node missing for file resources generated in binaries index defintions [sling-org-apache-sling-feature-cpconverter]

2024-02-19 Thread via GitHub


abhishekgarg18 opened a new pull request, #175:
URL: 
https://github.com/apache/sling-org-apache-sling-feature-cpconverter/pull/175

   (no comment)


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscr...@sling.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



[jira] [Updated] (SLING-12254) jcr:data node missing for file resources generated in binaries index defintions

2024-02-19 Thread Abhishek Garg (Jira)


 [ 
https://issues.apache.org/jira/browse/SLING-12254?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Abhishek Garg updated SLING-12254:
--
Description: 
The index definition files generated by the cpcconvertor are missing mandatory 
jcr:data nodes.

How the resource should look:
{code:java}
    "tika": {
            "jcr:primaryType": "nam:nt:unstructured",
            "config.xml": {
                "jcr:primaryType": "nam:nt:file",
                "jcr:content": {
                    "jcr:primaryType": "nam:nt:unstructured",
                    "jcr:mimeType": "text/xml"
                }
            }
        } 
{code}
 

How it looks like now:
{code:java}
      "tika": {
            "jcr:primaryType": "nam:nt:unstructured",
            "config.xml": {
                "jcr:primaryType": "nam:nt:file",

                "jcr:content": {
                    "jcr:primaryType": "nam:nt:unstructured",
                    "jcr:mimeType": "text/xml",
                    "jcr:data": ""

                }
            }
        } {code}
There is no `jcr:data` node present

This happens when node structure is like:
{code:java}
      
            
                
            
          {code}

  was:
The index definition files generated by the cpcconvertor are missing mandatory 
jcr:data nodes.

How the resource should look:
{code:java}
    "tika": {
            "jcr:primaryType": "nam:nt:unstructured",
            "config.xml": {
                "jcr:primaryType": "nam:nt:file",
                "jcr:content": {
                    "jcr:primaryType": "nam:nt:unstructured",
                    "jcr:mimeType": "text/xml"
                }
            }
        } 
{code}
 

How it looks like now:
{code:java}
      "tika": {
            "jcr:primaryType": "nam:nt:unstructured",
            "config.xml": {
                "jcr:primaryType": "nam:nt:file",
"jcr:data": ""
                "jcr:content": {
                    "jcr:primaryType": "nam:nt:unstructured",
                    "jcr:mimeType": "text/xml"
                }
            }
        } {code}
There is no `jcr:data` node present

This happens when node structure is like:
{code:java}
      
            
                
            
          {code}


> jcr:data node missing for file resources generated in binaries index 
> defintions
> ---
>
> Key: SLING-12254
> URL: https://issues.apache.org/jira/browse/SLING-12254
> Project: Sling
>  Issue Type: Bug
>  Components: Content-Package to Feature Model Converter
>Affects Versions: Content-Package to Feature Model Converter 1.3.4
>Reporter: Abhishek Garg
>Priority: Major
>
> The index definition files generated by the cpcconvertor are missing 
> mandatory jcr:data nodes.
> How the resource should look:
> {code:java}
>     "tika": {
>             "jcr:primaryType": "nam:nt:unstructured",
>             "config.xml": {
>                 "jcr:primaryType": "nam:nt:file",
>                 "jcr:content": {
>                     "jcr:primaryType": "nam:nt:unstructured",
>                     "jcr:mimeType": "text/xml"
>                 }
>             }
>         } 
> {code}
>  
> How it looks like now:
> {code:java}
>       "tika": {
>             "jcr:primaryType": "nam:nt:unstructured",
>             "config.xml": {
>                 "jcr:primaryType": "nam:nt:file",
> 
>                 "jcr:content": {
>                     "jcr:primaryType": "nam:nt:unstructured",
>                     "jcr:mimeType": "text/xml",
>                     "jcr:data": ""
>                 }
>             }
>         } {code}
> There is no `jcr:data` node present
> This happens when node structure is like:
> {code:java}
>       
>             
>                                          jcr:primaryType="nt:unstructured"
>                         jcr:mimeType="text/xml"/>
>             
>           {code}



--
This message was sent by Atlassian Jira
(v8.20.10#820010)


[jira] [Created] (SLING-12254) jcr:data node missing for file resources generated in binaries index defintions

2024-02-19 Thread Abhishek Garg (Jira)
Abhishek Garg created SLING-12254:
-

 Summary: jcr:data node missing for file resources generated in 
binaries index defintions
 Key: SLING-12254
 URL: https://issues.apache.org/jira/browse/SLING-12254
 Project: Sling
  Issue Type: Bug
  Components: Content-Package to Feature Model Converter
Affects Versions: Content-Package to Feature Model Converter 1.3.4
Reporter: Abhishek Garg


The index definition files generated by the cpcconvertor are missing mandatory 
jcr:data nodes.

How the resource should look:
{code:java}
    "tika": {
            "jcr:primaryType": "nam:nt:unstructured",
            "config.xml": {
                "jcr:primaryType": "nam:nt:file",
                "jcr:content": {
                    "jcr:primaryType": "nam:nt:unstructured",
                    "jcr:mimeType": "text/xml"
                }
            }
        } 
{code}
 

How it looks like now:
{code:java}
      "tika": {
            "jcr:primaryType": "nam:nt:unstructured",
            "config.xml": {
                "jcr:primaryType": "nam:nt:file",
"jcr:data": ""
                "jcr:content": {
                    "jcr:primaryType": "nam:nt:unstructured",
                    "jcr:mimeType": "text/xml"
                }
            }
        } {code}
There is no `jcr:data` node present

This happens when node structure is like:
{code:java}
      
            
                
            
          {code}



--
This message was sent by Atlassian Jira
(v8.20.10#820010)


[Jenkins] Sling » Modules » sling-org-apache-sling-starter » master #1267 is FIXED

2024-02-19 Thread Apache Jenkins Server
Please see 
https://ci-builds.apache.org/job/Sling/job/modules/job/sling-org-apache-sling-starter/job/master/1267/
 for details.

No further emails will be sent until the status of the build is changed.

[jira] [Updated] (SLING-12253) ConcurrentModificationException in AbstractResourceCollector

2024-02-19 Thread Joerg Hoh (Jira)


 [ 
https://issues.apache.org/jira/browse/SLING-12253?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Joerg Hoh updated SLING-12253:
--
Description: 
{noformat}
[[::1] [1705550745690] GET /content/foobar.html HTTP/1.1] 
org.apache.sling.engine.impl.SlingRequestProcessorImpl service: Uncaught 
Throwable
java.util.ConcurrentModificationException: null
at 
java.base/java.util.ArrayList$Itr.checkForComodification(ArrayList.java:1043)
at java.base/java.util.ArrayList$Itr.next(ArrayList.java:997)
at 
org.apache.sling.servlets.resolver.internal.helper.ResourceCollector.getWeightedResources(ResourceCollector.java:232)
 [org.apache.sling.servlets.resolver:2.9.14]
at 
org.apache.sling.servlets.resolver.internal.helper.AbstractResourceCollector.lambda$getServlets$1(AbstractResourceCollector.java:117)
 [org.apache.sling.servlets.resolver:2.9.14]
at java.base/java.util.ArrayList.forEach(ArrayList.java:1541)
at 
org.apache.sling.servlets.resolver.internal.helper.AbstractResourceCollector.getServlets(AbstractResourceCollector.java:117)
 [org.apache.sling.servlets.resolver:2.9.14]
at 
org.apache.sling.servlets.resolver.internal.SlingServletResolver.getServletInternal(SlingServletResolver.java:528)
 [org.apache.sling.servlets.resolver:2.9.14]
at 
org.apache.sling.servlets.resolver.internal.SlingServletResolver.resolveServletInternal(SlingServletResolver.java:489)
 [org.apache.sling.servlets.resolver:2.9.14]
...
{noformat}

  was:

{noformat}
org.apache.sling.engine.impl.SlingRequestProcessorImpl service: Uncaught 
Throwable
java.util.ConcurrentModificationException: null
at 
java.base/java.util.ArrayList$Itr.checkForComodification(ArrayList.java:1043)
at java.base/java.util.ArrayList$Itr.next(ArrayList.java:997)
at 
org.apache.sling.servlets.resolver.internal.helper.ResourceCollector.getWeightedResources(ResourceCollector.java:232)
 [org.apache.sling.servlets.resolver:2.9.14]
at 
org.apache.sling.servlets.resolver.internal.helper.AbstractResourceCollector.lambda$getServlets$1(AbstractResourceCollector.java:117)
 [org.apache.sling.servlets.resolver:2.9.14]
at java.base/java.util.ArrayList.forEach(ArrayList.java:1541)
at 
org.apache.sling.servlets.resolver.internal.helper.AbstractResourceCollector.getServlets(AbstractResourceCollector.java:117)
 [org.apache.sling.servlets.resolver:2.9.14]
at 
org.apache.sling.servlets.resolver.internal.SlingServletResolver.getServletInternal(SlingServletResolver.java:528)
 [org.apache.sling.servlets.resolver:2.9.14]
at 
org.apache.sling.servlets.resolver.internal.SlingServletResolver.resolveServletInternal(SlingServletResolver.java:489)
 [org.apache.sling.servlets.resolver:2.9.14]
...
{noformat}


> ConcurrentModificationException in AbstractResourceCollector
> 
>
> Key: SLING-12253
> URL: https://issues.apache.org/jira/browse/SLING-12253
> Project: Sling
>  Issue Type: Task
>Affects Versions: Servlets Resolver 2.9.14
>Reporter: Joerg Hoh
>Priority: Major
>
> {noformat}
> [[::1] [1705550745690] GET /content/foobar.html HTTP/1.1] 
> org.apache.sling.engine.impl.SlingRequestProcessorImpl service: Uncaught 
> Throwable
> java.util.ConcurrentModificationException: null
>   at 
> java.base/java.util.ArrayList$Itr.checkForComodification(ArrayList.java:1043)
>   at java.base/java.util.ArrayList$Itr.next(ArrayList.java:997)
>   at 
> org.apache.sling.servlets.resolver.internal.helper.ResourceCollector.getWeightedResources(ResourceCollector.java:232)
>  [org.apache.sling.servlets.resolver:2.9.14]
>   at 
> org.apache.sling.servlets.resolver.internal.helper.AbstractResourceCollector.lambda$getServlets$1(AbstractResourceCollector.java:117)
>  [org.apache.sling.servlets.resolver:2.9.14]
>   at java.base/java.util.ArrayList.forEach(ArrayList.java:1541)
>   at 
> org.apache.sling.servlets.resolver.internal.helper.AbstractResourceCollector.getServlets(AbstractResourceCollector.java:117)
>  [org.apache.sling.servlets.resolver:2.9.14]
>   at 
> org.apache.sling.servlets.resolver.internal.SlingServletResolver.getServletInternal(SlingServletResolver.java:528)
>  [org.apache.sling.servlets.resolver:2.9.14]
>   at 
> org.apache.sling.servlets.resolver.internal.SlingServletResolver.resolveServletInternal(SlingServletResolver.java:489)
>  [org.apache.sling.servlets.resolver:2.9.14]
> ...
> {noformat}



--
This message was sent by Atlassian Jira
(v8.20.10#820010)


[jira] [Created] (SLING-12253) ConcurrentModificationException in AbstractResourceCollector

2024-02-19 Thread Joerg Hoh (Jira)
Joerg Hoh created SLING-12253:
-

 Summary: ConcurrentModificationException in 
AbstractResourceCollector
 Key: SLING-12253
 URL: https://issues.apache.org/jira/browse/SLING-12253
 Project: Sling
  Issue Type: Task
Affects Versions: Servlets Resolver 2.9.14
Reporter: Joerg Hoh



{noformat}
org.apache.sling.engine.impl.SlingRequestProcessorImpl service: Uncaught 
Throwable
java.util.ConcurrentModificationException: null
at 
java.base/java.util.ArrayList$Itr.checkForComodification(ArrayList.java:1043)
at java.base/java.util.ArrayList$Itr.next(ArrayList.java:997)
at 
org.apache.sling.servlets.resolver.internal.helper.ResourceCollector.getWeightedResources(ResourceCollector.java:232)
 [org.apache.sling.servlets.resolver:2.9.14]
at 
org.apache.sling.servlets.resolver.internal.helper.AbstractResourceCollector.lambda$getServlets$1(AbstractResourceCollector.java:117)
 [org.apache.sling.servlets.resolver:2.9.14]
at java.base/java.util.ArrayList.forEach(ArrayList.java:1541)
at 
org.apache.sling.servlets.resolver.internal.helper.AbstractResourceCollector.getServlets(AbstractResourceCollector.java:117)
 [org.apache.sling.servlets.resolver:2.9.14]
at 
org.apache.sling.servlets.resolver.internal.SlingServletResolver.getServletInternal(SlingServletResolver.java:528)
 [org.apache.sling.servlets.resolver:2.9.14]
at 
org.apache.sling.servlets.resolver.internal.SlingServletResolver.resolveServletInternal(SlingServletResolver.java:489)
 [org.apache.sling.servlets.resolver:2.9.14]
...
{noformat}



--
This message was sent by Atlassian Jira
(v8.20.10#820010)


adaptTo() 2024: Call for Papers, Early Bird Tickets

2024-02-19 Thread Stefan Seifert
Dear adaptTo() Community,

adaptTo() is returning to the vibrant Kulturbrauerei in Berlin from September 
23rd to 25th 2024, for another edition of Europe's leading AEM Developer 
Conference.
https://adapt.to/

The adaptTo() is a community event. Therefore we encourage everyone to 
participate. By covering various facets of the overall topics Adobe Experience 
Manager, Adobe Experience Cloud, and the underlying OSS projects Apache Sling, 
Apache Felix, and Apache Jackrabbit Oak, we set starting points for the 
community to discuss and interact.

The Call for Papers has officially opened and you have now the chance to shape 
adaptTo(). Submissions are being accepted until 15th of April 2024.
https://adapt.to/cfp

Early Bird Tickets for the on-site adaptTo() 2024 are available now! We also 
offer a special Loyalty Discount for previous attendees.
https://adapt.to/tickets

Your adaptTo() Conference Team