#3190 'Add myself to package' button is non-functional in Pkgdb web UI
Closed: Fixed Opened by berrange.

I was attempting to add myself to the spice-gtk package:

https://admin.fedoraproject.org/pkgdb/acls/name/spice-gtk

I am logged in and have a verified csrf token. The 'Add myself to package' link, however, is completely non-functional. Pressing it does nothing.

I have disabled all firefox plugins, and also tried with konqueror, and got verification from another Fedora user.


ok. I think I have tracked this down and applied a hacky fix (until toshio can look at provide a proper one :)

The problem is:

In rhel5:

$ rpm -qli TurboGears-1.0.9-3.el5 | grep MochiKit_1_4.js
/usr/lib/python2.4/site-packages/turbogears/static/js/MochiKit_1_4.js

in rhel6:

rpm -qli TurboGears-1.1.3-2.el6.noarch | grep Moch

/usr/lib/python2.6/site-packages/turbogears/static/js/MochiKit.js

pkgdb is looking for/hardcoded to use "MochiKit_1_4.js".

Note that the version in the TurboGears-1.1.3-2.el6.noarch package is 1.4.2, so thats fine, it's just the name.

As a hacky quick fix I made a link on all the app servers:

ln -s /usr/lib/python2.6/site-packages/turbogears/static/js/MochiKit.js /usr/lib/python2.6/site-packages/turbogears/static/js/MochiKit_1_4.js

We should fix this properly in pkgdb, and remove the link. ;)

Setting this as a bug now, not an outage. ;)

Coding fix committed to 0.5.x and stable branches.

Metadata