Skip to content

[JENKINS-8789] Apostrophe in view name causes the LOADING mask to never go away #15628

Description

@jenkins-infra-bot

Steps to reproduce:
1. Create a view with an apostrophe in the name. (Make sure it is not the default view.)
2. Add a job to this view
3. Configure the job using Chrome or IE web browser.

You'll notice the loading mask never disappears, despite the page fully loading. If the view is the default view, then it works just fine.

Here is the JS error captured in Chrome:
Uncaught SyntaxError: Unexpected identifier
e.targetUrl hudson-behavior.js:338
registerValidator hudson-behavior.js:343
Object.extend._each prototype.js:676
(anonymous function) behavior.js:61
Object.extend._each prototype.js:676
Behaviour.applySubtree behavior.js:58
Behaviour.apply behavior.js:54
(anonymous function) behavior.js:49

Here is the error in IE:
User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1; Trident/4.0; .NET CLR 1.1.4322; .NET CLR 2.0.50727; InfoPath.2; MS-RTC LM 8; MS-RTC EA 2; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729)
Timestamp: Mon, 14 Feb 2011 16:33:23 UTC

Message: Expected ';'
Line: 338
Char: 9
Code: 0
URI: http://ah-bart:2100/hudson/static/2e8191e3/scripts/hudson-behavior.js

Assigning to Alan Harder due to his familiarity on similar issues.


Originally reported by mrobinet, imported from: Apostrophe in view name causes the LOADING mask to never go away
  • assignee: mindless
  • status: Resolved
  • priority: Minor
  • component(s): core
  • resolution: Fixed
  • resolved: 2011-02-15T06:34:48+00:00
  • votes: 0
  • watchers: 0
  • imported: 2025-11-24
Raw content of original issue

Steps to reproduce: 1. Create a view with an apostrophe in the name. (Make sure it is not the default view.) 2. Add a job to this view 3. Configure the job using Chrome or IE web browser.

You'll notice the loading mask never disappears, despite the page fully loading. If the view is the default view, then it works just fine.

Here is the JS error captured in Chrome: Uncaught SyntaxError: Unexpected identifier e.targetUrl hudson-behavior.js:338 registerValidator hudson-behavior.js:343 Object.extend._each prototype.js:676 (anonymous function) behavior.js:61 Object.extend._each prototype.js:676 Behaviour.applySubtree behavior.js:58 Behaviour.apply behavior.js:54 (anonymous function) behavior.js:49

Here is the error in IE: User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1; Trident/4.0; .NET CLR 1.1.4322; .NET CLR 2.0.50727; InfoPath.2; MS-RTC LM 8; MS-RTC EA 2; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729) Timestamp: Mon, 14 Feb 2011 16:33:23 UTC

Message: Expected ';' Line: 338 Char: 9 Code: 0 URI: http://ah-bart:2100/hudson/static/2e8191e3/scripts/hudson-behavior.js

Assigning to Alan Harder due to his familiarity on similar issues.

environment
Affects Chrome and Internet Explorer.  Works fine in Firefox.<br/>
Hudson Version 1.385

No activity

Activity on this issue will appear here.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions