If there are syntax errors in any of our JavaScript files the jammit run during the RPM build will output 0 byte javascript files for the ones containing errors. We discovered that we were using the reserved word: "package" for a variable in promotions.js: promotion.js /home/mmccune/devel/katello/src/public/javascripts/promotion.js(245): SyntaxError: missing name after . operator if( !product.errata.length && !product.package.length && !product.repo.length ){ ...........................................................^ You can see that .package is a reserved word: https://developer.mozilla.org/en/JavaScript/Reference/reserved_words Going to add a jslint run to our unit tests to catch these.
*** Bug 732454 has been marked as a duplicate of this bug. ***
I have seen this work.