I've created many diazo themes before, on 5.0.7. I've run into a problem on 5.2.2. Using 5.2.2, if I create a new theme, it breaks the resource registry. No addons. If I switch back to Barcelona theme, the resource registry starts working again.
I've also noticed, when any new theme is created, even when you set the theme to use the barcelona.xml for editing, in editing a dexterity object, the JS is broken. My guess because the resource registry gets messed up.
Any ideas on why this is happening? I can repeat it on fresh installs.