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:14:21 UTC

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

Sergey B. created FELIX-5345:
--------------------------------

             Summary: 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.


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)