4

Closed

Css files missing on the dashboard of latest source

description

I get a bunch of notfound exceptions when opening the admin page, missing is e.g. "/OrchardLocal/Themes/TheAdmin/styles/menu.settings-admin.cs", "/OrchardLocal/Themes/TheAdmin/styles/menu.widgets-admin.css" and a lot more.
This is because somehow not the stylesheets for admin menus are not always searched for in the module of the menu (like Widgets) but under TheAdmin theme.
Interesting though that e.g. for Blogs the wrong path is used but for Users the right one.

Update:
I managed to fix it by adding a dependency on Navigation to Users: the stylesheet of Users was the first one correctly included. Actually some of the first non-working modules have a dependency on Navigation and no working one has...

Attached is a patch. I've added a dependency on Navigation to every feature there was an admin menu usage. Not sure whether this shouldn't work without the modifications though.

file attachments

Closed May 7, 2013 at 2:04 AM by sebastienros
It's been a long time since I saw this one, I assume it has been fixed somehow.

comments

sebastienros wrote Oct 11, 2012 at 5:59 PM

Got this one too yesterday, didn't understand why. Thanks for the patch ;)

sebastienros wrote Oct 16, 2012 at 8:25 PM

CAn't repro anymore.

** Closed by sebastienros 10/16/2012 12:25PM

Piedone wrote Oct 31, 2012 at 10:01 PM

I get this here and now, so re-opening it for further investigation. No exact repro yet, I'll include it here when I find one.

Piedone wrote Nov 6, 2012 at 8:45 PM

I pretty much always get this after changing something in a .cs file and reloading an admin page (i.e. after dynamic compilation recompiles something).

MC9000 wrote Jul 8, 2013 at 7:40 AM

how do you "patch" this with the .patch file?