You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Sagar Miglani (Jira)" <ji...@apache.org> on 2021/09/16 07:40:00 UTC
[jira] [Commented] (SLING-8777) Sling activation bundle overrides
default CommandMap with wrong type
[ https://issues.apache.org/jira/browse/SLING-8777?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17415939#comment-17415939 ]
Sagar Miglani commented on SLING-8777:
--------------------------------------
HiĀ [~karlpauls],
Raised a PR: https://github.com/apache/sling-org-apache-sling-javax-activation/pull/5 please have a look.
Sonar quality checks are failing but you can review and let me know if it goes in the right direction.
Thanks
> Sling activation bundle overrides default CommandMap with wrong type
> --------------------------------------------------------------------
>
> Key: SLING-8777
> URL: https://issues.apache.org/jira/browse/SLING-8777
> Project: Sling
> Issue Type: Improvement
> Components: Commons
> Affects Versions: javax.activation 0.1.0
> Reporter: Ashok Kumar
> Priority: Major
> Fix For: javax.activation 0.2.2
>
> Attachments: SLING-8777.patch
>
> Time Spent: 20m
> Remaining Estimate: 0h
>
> The root cause of the issue is that the bundle org.apache.sling.javax.activation 0.1.0 overrides the Default javax.activation.CommandMap extending directly from CommandMap instead of MailcapCommandMap:
> [https://github.com/apache/sling-org-apache-sling-javax-activation/blob/master/src/main/java/org/apache/sling/javax/activation/internal/OsgiMailcapCommandMap.java#L50]
> The call fails due to this, here:
> [https://github.com/samskivert/ikvm-openjdk/blob/master/build/linux-amd64/impsrc/com/sun/xml/internal/messaging/saaj/soap/AttachmentPartImpl.java#L112]
--
This message was sent by Atlassian Jira
(v8.3.4#803005)