I saw this specifically when using RSS without first logging in.
The RSS feeds were being accessed as the
TWikiGuest user, which in our system has the COVER = customer setting to disable edit toolbars etc.
However, this pushes the "customer" skin in front of the RSS skin and screws up the XML output.
I fixed it using the following workaround (look for RSS skin anywhere in the skin path and override the skin), but I doubt it is the ideal solution.
Index: View.pm
===================================================================
--- View.pm (revision 99)
+++ View.pm (revision 100)
@@ -165,6 +164,10 @@
my $template = $query->param( 'template' ) ||
$session->{prefs}->getPreferencesValue( 'VIEW_TEMPLATE' ) ||
'view';
+
+ # Remove any covers if using an rss skin
+ if ($skin =~ /\brss/){
+ $skin = 'rss';}
my $tmpl = $session->{templates}->readTemplate( $template, $skin );
if( !$tmpl && $template ne 'view' ) {
This probably needs a re-validation, in light of recent skin and template path improvements.
--
SP
Can not reproduce, no feedback for 9+ months, closing.
--
TWiki:Main.SteffenPoulsen
- 17 Sep 2007