Description of problem: When going to a system's View File Comparison page (https://host.name/rhn/systems/details/configuration/ViewDiffResult.do) from a System History Event for Last Spacewalk and System Comparison, the Diff results are not displayed in a fixed font (pre-formatted). Version-Release number of selected component (if applicable): Spacewalk 0.7 How reproducible: Always Steps to Reproduce: 1. Make a local change to a Spacewalk manage configuration file. 2. Let the nightly system config comparison run. 3. Click Systems -> System Name -> Configuration 4. Under the "Last Spacewalk and System Comparison" section, click on "View Details". 5. Click on "Differences exist" beside the changed file. Actual results: The unified diff is viewed as one continuous line / paragraph. Expected results: The unified diff to be displayed as fixed font / pre-formated. Additional info:
Added something similar to how kickstarts are displayed. 3c3daed9bf1bb70d9a6a9cf91f91cd922d468c5f Thanks for the bz!
I tried testing this change by modifying /var/lib/tomcat5/webapps/rhn/WEB-INF/pages/configuration/sdc/viewdiffresult.jsp on my Spacewalk server and restarting Spacewalk, but I'm not seeing it. What else do I need to do to test it? Thanks, Jeremy
Hi Jeremy, I think you need to apply this patch to your /etc/tomcat5/web.xml file and then just bounce tomcat. --- web.xml 2007-06-12 16:55:38.000000000 -0400 +++ web.xml.work 2007-06-12 16:55:25.000000000 -0400 @@ -194,6 +194,10 @@ <param-name>xpoweredBy</param-name> <param-value>false</param-value> </init-param> + <init-param> + <param-name>development</param-name> + <param-value>true</param-value> + </init-param> <load-on-startup>3</load-on-startup> </servlet>
Spacewalk 0.8 has been released