2742: Unable to determine correct form fields when adding a new repository from the admin

krleu*****@gmai***** (Google Code) (Is this you? Claim this profile.)
Sept. 22, 2012
What version are you running?
1.7 beta 1

What's the URL of the page containing the problem?
On a development server running the default bundled contrib/internal/devserver.py
http://localhost:8080/admin/db/scmtools/repository/add/

What steps will reproduce the problem?
1. Log into an administrator account
2. Visit http://localhost:8080/admin/db/scmtools/repository/add/
3. Select GitHub as the Hosting Service from the drop down (under Repository Hosting)

What is the expected output? What do you see instead?
Selecting a hosting service should show only the options that apply to that hosting service under Repository Hosting. Instead, all options are displayed, regardless of the selected hosting service.

What operating system are you using? What browser?
Mac OS X 10.8.2, Google Chrome 21.0.1180.89

Please provide any additional information below.
Opening a JavaScript console reveals an "Uncaught TypeError: Property '$' of object [object Window] is not a function". Problem appears to have been introduced by commit 27dca3b.
#1 krleu*****@gmai***** (Google Code) (Is this you? Claim this profile.)
I'll work on resolving this issue.
mconley
#2 mconley
Patch went up here: http://reviews.reviewboard.org/r/3334/
Fix committed as aa349175.
  • +Fixed