Uploaded image for project: 'Felix'
  1. Felix
  2. FELIX-5345

Incorrect encoding in metatype props file

    XMLWordPrintableJSON

    Details

      Description

      maven-scr-plugin generates metatype properties file in incorrect encoding.

      Steps to reproduce:

      1. Create component with non-ascii label

      import org.apache.felix.scr.annotations.Component;
      
      @Component(
          metatype = true,
          label = "Какие-то буквы",
          description = "Какие-то буквы")
      public class Reproduce {
          //
      }
      

      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

        Attachments

        1. pom.xml
          4 kB
          Sergey B.
        2. MetaTypeIO.patch
          1.0 kB
          Sergey B.

          Activity

            People

            • Assignee:
              cziegeler Carsten Ziegeler
              Reporter:
              sergey-b Sergey B.
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: