You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@felix.apache.org by "Sergey B. (JIRA)" <ji...@apache.org> on 2016/09/14 12:19:20 UTC

[jira] [Updated] (FELIX-5345) Incorrect encoding in metatype props file

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

Sergey B. updated FELIX-5345:
-----------------------------
    Attachment: pom.xml
                MetaTypeIO.patch

Here is my pom.xml and possible patch (not tested).

> Incorrect encoding in metatype props file
> -----------------------------------------
>
>                 Key: FELIX-5345
>                 URL: https://issues.apache.org/jira/browse/FELIX-5345
>             Project: Felix
>          Issue Type: Bug
>          Components: SCR Tooling
>    Affects Versions: scr generator 1.8.0
>            Reporter: Sergey B.
>         Attachments: MetaTypeIO.patch, pom.xml
>
>
> maven-scr-plugin generates metatype properties file in incorrect encoding.
> Steps to reproduce:
> 1. Create component with non-ascii label
> {code:java}
> import org.apache.felix.scr.annotations.Component;
> @Component(
>     metatype = true,
>     label = "Какие-то буквы",
>     description = "Какие-то буквы")
> public class Reproduce {
>     //
> }
> {code}
> 2. Make bundle using maven-scr-plugin 1.14 or higher
> 3. Deploy to Apache Felix
> 4. Go to configuration page of Felix Web Console
> Expected result
> 1. There is component with correct name
> Actual
> 1. Component name is scrumbled



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)