Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-60822

can't parse argument number: changelog.url

    Details

    • Type: Bug
    • Status: Resolved (View Workflow)
    • Priority: Critical
    • Resolution: Fixed
    • Component/s: core
    • Labels:
    • Environment:
      Jenkins version 2.214
      Linux VM (Ubuntu 16.04.6 LTS)
    • Similar Issues:
    • Released As:
      2.217

      Description

      Hello,

      since the update of our jenkins to version 2.214 we encounter problems when being logged in as an administrative user (using the german language requested by the browser, this ist important).

      The update indicator (showing jenkins update) produces an error:

       

      org.apache.commons.jelly.JellyTagException: jar:file:/usr/local/jenkins/jenkins-home/war/WEB-INF/lib/jenkins-core-2.214.jar!/hudson/model/UpdateCenter/CoreUpdateMonitor/message.jelly:53:20: <j:otherwise> can't parse argument number: changelog.url
      {{ at org.apache.commons.jelly.impl.TagScript.handleException(TagScript.java:726)}}
      {{ at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:281)}}
      {{ at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95)}}

       

      My guess is, that the following commit is the reason for this:

      https://github.com/jenkinsci/jenkins/commit/0ba0ea93d5fc36f1ecb2183cfdbcbec1f93b33ac#diff-98cf1bef361bc3e72fed2160bf895f40

       

      Maybe, all message properties should be changed to use "{2}" instead of "${changelog.url}" ?

      The standard properties file contains the following message pattern:
      {{NewVersionAvailable=<strong>New version of Jenkins ({0}) is available</strong> for <a href="{1}">download</a> }}
      {{ (<a href="{2}">changelog</a>).}}

      The german properties file producing the error contains the following pattern instead:

      NewVersionAvailable=Eine neue Version von Jenkins ({0}) kann <a href="{1}">hier heruntergeladen</a> werden (<a href="${changelog.url}">Was ist neu?</a>).

      As far as I saw there we additional files having the same pattern like the german one. Maybe they produce issues as well?

       

      Best regards,

      Heiko

        Attachments

          Issue Links

            Activity

            webwart H. Feldker created issue -
            jglick Jesse Glick made changes -
            Field Original Value New Value
            Link This issue is duplicated by JENKINS-60824 [ JENKINS-60824 ]
            jglick Jesse Glick made changes -
            Labels regression
            jglick Jesse Glick made changes -
            Assignee Jon Jon [ jon ]
            jglick Jesse Glick made changes -
            Assignee Jon Jon [ jon ] Jon Brohauge [ jnz_topdanmark ]
            jglick Jesse Glick made changes -
            Status Open [ 1 ] In Progress [ 3 ]
            jglick Jesse Glick made changes -
            Status In Progress [ 3 ] In Review [ 10005 ]
            jglick Jesse Glick made changes -
            Priority Major [ 3 ] Critical [ 2 ]
            reinholdfuereder Reinhold Füreder made changes -
            Link This issue is related to JENKINS-54596 [ JENKINS-54596 ]
            jglick Jesse Glick made changes -
            Status In Review [ 10005 ] Fixed but Unreleased [ 10203 ]
            Resolution Fixed [ 1 ]
            Released As 2.216
            markewaite Mark Waite made changes -
            Remote Link This issue links to "PR 4440 Fix localized versions to no longer report argument parsing errors: changelog.url (Web Link)" [ 24319 ]
            oleg_nenashev Oleg Nenashev made changes -
            Status Fixed but Unreleased [ 10203 ] Resolved [ 5 ]
            Released As 2.216 2.217
            markewaite Mark Waite made changes -
            Link This issue is related to JENKINS-60834 [ JENKINS-60834 ]

              People

              • Assignee:
                jnz_topdanmark Jon Brohauge
                Reporter:
                webwart H. Feldker
              • Votes:
                3 Vote for this issue
                Watchers:
                11 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: