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:
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
- is duplicated by
-
JENKINS-60824 CoreUpdateMonitor results in exception
-
- Resolved
-
- is related to
-
JENKINS-60834 Stacktrace when opening jenkins maintenance page
-
- Closed
-
-
JENKINS-54596 can't parse argument number: changelog.url
-
- Open
-
- links to
Activity
Field | Original Value | New Value |
---|---|---|
Link |
This issue is duplicated by |
Labels | regression |
Assignee | Jon Jon [ jon ] |
Assignee | Jon Jon [ jon ] | Jon Brohauge [ jnz_topdanmark ] |
Status | Open [ 1 ] | In Progress [ 3 ] |
Status | In Progress [ 3 ] | In Review [ 10005 ] |
Priority | Major [ 3 ] | Critical [ 2 ] |
Link | This issue is related to JENKINS-54596 [ JENKINS-54596 ] |
Released As | 2.216 | |
Resolution | Fixed [ 1 ] | |
Status | In Review [ 10005 ] | Fixed but Unreleased [ 10203 ] |
Remote Link | This issue links to "PR 4440 Fix localized versions to no longer report argument parsing errors: changelog.url (Web Link)" [ 24319 ] |
Released As | 2.216 | 2.217 |
Status | Fixed but Unreleased [ 10203 ] | Resolved [ 5 ] |
Link |
This issue is related to |
Assignee | Jon Brohauge [ jnz_topdanmark ] |
Assignee | Jon Brohauge [ jnz_topdanmark ] |