Uploaded image for project: 'Jira Data Center'
  1. Jira Data Center
  2. JRASERVER-42883

Usage of cyrillic letter "И" in atlassian-plugin.xml causes plugin installation error.

    XMLWordPrintable

Details

    • 6.03
    • Severity 3 - Minor
    • Hide
      Atlassian Update – 28 May 2018

      Hi everyone,

      We have recently reviewed this issue and the overall interest in the problem. As the issue hasn't collect votes, watchers, comments, or support cases from many customers during its lifetime, it's very low on our priority list, and will not be fixed in the foreseeable future. That's why we've decided to resolve it as Time Out.

      Although we're aware the issue is still important to those of you who were involved in the conversations around it, we want to be clear in managing your expectations. The Jira team is focusing on issues that have broad impact and high value, reflected by the number of comments, votes, support cases, and customers interested. Please consult the Atlassian Bugfix Policy for more details.

      We understand how disappointing this decision may be, but we hope you'll appreciate our transparent approach and communication.
      Atlassian will continue to watch this issue for further updates, so please feel free to share your thoughts in the comments.

      Thank you,
      Ignat Alexeyenko
      Jira Bugmaster

      Show
      Atlassian Update – 28 May 2018 Hi everyone, We have recently reviewed this issue and the overall interest in the problem. As the issue hasn't collect votes, watchers, comments, or support cases from many customers during its lifetime, it's very low on our priority list, and will not be fixed in the foreseeable future. That's why we've decided to resolve it as Time Out . Although we're aware the issue is still important to those of you who were involved in the conversations around it, we want to be clear in managing your expectations. The Jira team is focusing on issues that have broad impact and high value, reflected by the number of comments, votes, support cases, and customers interested. Please consult the Atlassian Bugfix Policy for more details. We understand how disappointing this decision may be, but we hope you'll appreciate our transparent approach and communication. Atlassian will continue to watch this issue for further updates, so please feel free to share your thoughts in the comments. Thank you, Ignat Alexeyenko Jira Bugmaster

    Description

      Report plugin module.
      When atlassian-plugin.xml looks like that all is OK.

       <property>
                <key>group</key>
                <name>Группа</name>
                <description>Группа пользователей для отображения</description>
                <type>select</type>
                <values class="ru.ertelecom.jira.plugins.reports.GroupsGenerator"/>
              </property>
      

      But when I use letter "И" in name key an error occurs. (in description key too)

       <property>
                <key>group</key>
                <name>Группа И</name>
                <description>Группа пользователей для отображения</description>
                <type>select</type>
                <values class="ru.ertelecom.jira.plugins.reports.GroupsGenerator"/>
              </property>
      

      Development jira console output while I'm using atlas-cli's "pi" command:

      [INFO] [talledLocalContainer] 2015-04-14 17:09:45,482 UpmAsynchronousTaskManager:thread-4 WARN admin 1085x440x1 jov2az 127.0.0.1 /rest/plugins/1.0/ [upm.core.install.DefaultPluginInstallationService] Plugin installation failed: Unable to read atlassian-plugin.xml descriptor
      [INFO] [talledLocalContainer] [Fatal Error] :1:2766: Invalid byte 2 of 2-byte UTF-8 sequence.
      

      atlas-cli's output:

      [INFO] Install Plugin: Uploading 'ertelecom-jira-reports-1.3.jar' to server via UPM: http://localhost:2990/jira
      [ERROR] Unable to complete running command: pi
      java.lang.RuntimeException: org.apache.maven.plugin.MojoExecutionException: Unable to execute mojo
              at org.twdata.maven.cli.commands.ExecuteGoalCommand.run(ExecuteGoalCommand.java:112)
              at org.twdata.maven.cli.commands.ExecuteGoalCommand.run(ExecuteGoalCommand.java:107)
              at org.twdata.maven.cli.CliShell.interpretCommand(CliShell.java:48)
              at org.twdata.maven.cli.CliShell.run(CliShell.java:29)
              at org.twdata.maven.cli.AbstractCliMojo.displayShell(AbstractCliMojo.java:174)
              at org.twdata.maven.cli.AbstractCliMojo.access$000(AbstractCliMojo.java:22)
              at org.twdata.maven.cli.AbstractCliMojo$1.run(AbstractCliMojo.java:123)
      Caused by: org.apache.maven.plugin.MojoExecutionException: Unable to execute mojo
              at org.shaded.mojoexecutor.MojoExecutor.executeMojoImpl(MojoExecutor.java:174)
              at org.shaded.mojoexecutor.MojoExecutor$ExecutionEnvironmentM3.executeMojo(MojoExecutor.java:476)
              at org.shaded.mojoexecutor.MojoExecutor.executeMojo(MojoExecutor.java:75)
              at org.twdata.maven.cli.MojoCall.run(MojoCall.java:33)
              at org.twdata.maven.cli.commands.ExecuteGoalCommand.runMojo(ExecuteGoalCommand.java:126)
              at org.twdata.maven.cli.commands.ExecuteGoalCommand.run(ExecuteGoalCommand.java:109)
              ... 6 more
      Caused by: org.apache.maven.plugin.MojoExecutionException: Unable to execute mojo
              at org.twdata.maven.mojoexecutor.MojoExecutor.executeMojoImpl(MojoExecutor.java:174)
              at org.twdata.maven.mojoexecutor.MojoExecutor$ExecutionEnvironmentM3.executeMojo(MojoExecutor.java:476)
              at org.twdata.maven.mojoexecutor.MojoExecutor.executeMojo(MojoExecutor.java:75)
              at com.atlassian.maven.plugins.amps.MavenGoals.installPlugin(MavenGoals.java:1278)
              at com.atlassian.maven.plugins.amps.pdk.InstallMojo.execute(InstallMojo.java:17)
              at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:133)
              at org.shaded.mojoexecutor.MojoExecutor.executeMojoImpl(MojoExecutor.java:172)
              ... 11 more
      Caused by: org.apache.maven.plugin.MojoExecutionException: Install Plugin : Upload failed --- {"type":"PLUGIN_INSTALL","
      status":{"errorMessage":"An error occurred while installing the add-on. Refer to the logs for more information.","source
      ":"","done":true,"contentType":"application/vnd.atl.plugins.task.install.err+json","statusCode":200},"links":{"self":"/j
      ira/rest/plugins/1.0/pending/480d1b68-4da5-4723-9270-ebe2f1d3dda3"},"timestamp":1429013385412,"userKey":"admin","id":"48
      0d1b68-4da5-4723-9270-ebe2f1d3dda3"}
              at com.atlassian.maven.plugins.pdk.InstallPluginMojo.uploadFile(InstallPluginMojo.java:183)
              at com.atlassian.maven.plugins.pdk.InstallPluginMojo.execute(InstallPluginMojo.java:135)
              at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:133)
              at org.twdata.maven.mojoexecutor.MojoExecutor.executeMojoImpl(MojoExecutor.java:172)
              ... 17 more
      

      Sample code (look at the tag):
      https://bitbucket.org/Edro/timereport-detailed/src/ab70bf2d5b0b99bd75c4ccfbf99deba58418f792/?at=with-bug
      https://bitbucket.org/Edro/timereport-detailed/src/de58725a8031a9114bb51e415f0269976a9b49a4/?at=without-bug

      E:\git\timereport-detailed>atlas-version
      
      ATLAS Version:    5.0.13
      ATLAS Home:       C:\Users\vlasov.ed\atlassian-plugin-sdk
      ATLAS Scripts:    C:\Users\vlasov.ed\atlassian-plugin-sdk\bin
      ATLAS Maven Home: C:\Users\vlasov.ed\atlassian-plugin-sdk\apache-maven-3.2.1
      --------
      Executing: "C:\Users\vlasov.ed\atlassian-plugin-sdk\apache-maven-3.2.1\bin\mvn.bat" --version -gs C:\Users\vlasov.ed\atl
      assian-plugin-sdk\apache-maven-3.2.1/conf/settings.xml
      Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=256M; support was removed in 8.0
      Apache Maven 3.2.1 (ea8b2b07643dbb1b84b6d16e1f08391b666bc1e9; 2014-02-14T23:37:52+05:00)
      Maven home: C:\Users\vlasov.ed\atlassian-plugin-sdk\apache-maven-3.2.1\bin\..
      Java version: 1.8.0_40, vendor: Oracle Corporation
      Java home: C:\Program Files\Java\jdk1.8.0_40\jre
      Default locale: ru_RU, platform encoding: Cp1251
      OS name: "windows 7", version: "6.1", arch: "amd64", family: "dos"
      Текущая кодовая страница: 1251
      

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              ccd8d8126ed8 Eduard Vlasov
              Votes:
              1 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: