/[smeserver]/rpms/e-smith-manager/sme10/e-smith-manager-2.8.0-bz10448-bugreport.patch
ViewVC logotype

Annotation of /rpms/e-smith-manager/sme10/e-smith-manager-2.8.0-bz10448-bugreport.patch

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.1 - (hide annotations) (download)
Tue Mar 16 20:08:43 2021 UTC (3 years, 7 months ago) by jpp
Branch: MAIN
CVS Tags: e-smith-manager-2_8_0-33_el7_sme
* Tue Mar 16 2021 Jean-Philippe Pialasse <tests@pialasse.com> 2.8.0-33.sme
- fix wrong system mode reported in bugreport [SME: 10448]

1 jpp 1.1 diff -Nur --no-dereference e-smith-manager-2.8.0.old/root/etc/e-smith/locale/en-us/etc/e-smith/web/functions/bugreport e-smith-manager-2.8.0/root/etc/e-smith/locale/en-us/etc/e-smith/web/functions/bugreport
2     --- e-smith-manager-2.8.0.old/root/etc/e-smith/locale/en-us/etc/e-smith/web/functions/bugreport 2021-03-16 16:00:48.953000000 -0400
3     +++ e-smith-manager-2.8.0/root/etc/e-smith/locale/en-us/etc/e-smith/web/functions/bugreport 2021-03-16 16:06:33.150000000 -0400
4     @@ -37,6 +37,10 @@
5     <trans>Server mode</trans>
6     </entry>
7     <entry>
8     + <base>PREVIOUS_SERVER_MODE</base>
9     + <trans>Previous Server mode</trans>
10     + </entry>
11     + <entry>
12     <base>KERNEL_AND_ARCH</base>
13     <trans>Current running kernel version and architecture</trans>
14     </entry>
15     diff -Nur --no-dereference e-smith-manager-2.8.0.old/root/usr/share/perl5/vendor_perl/esmith/FormMagick/Panel/bugreport.pm e-smith-manager-2.8.0/root/usr/share/perl5/vendor_perl/esmith/FormMagick/Panel/bugreport.pm
16     --- e-smith-manager-2.8.0.old/root/usr/share/perl5/vendor_perl/esmith/FormMagick/Panel/bugreport.pm 2021-03-16 16:00:48.952000000 -0400
17     +++ e-smith-manager-2.8.0/root/usr/share/perl5/vendor_perl/esmith/FormMagick/Panel/bugreport.pm 2021-03-16 16:05:14.273000000 -0400
18     @@ -18,7 +18,8 @@
19    
20     # Get some basic info on the current SME install
21     our $sysconfig = $db->get('sysconfig');
22     -our $systemmode = $sysconfig->prop('PreviousSystemMode');
23     +our $systemmode = $sysconfig->prop('SystemMode');
24     +our $previoussystemmode = $sysconfig->prop('PreviousSystemMode');
25     our $releaseversion = $sysconfig->prop('ReleaseVersion');
26    
27     # Prepare some filehandles for templates and reports
28     @@ -56,6 +57,7 @@
29     print "\t<ul>\n";
30     print "\t\t<li>". $self->localise('SME_VERSION') ."</li>\n";
31     print "\t\t<li>". $self->localise('SERVER_MODE') ."</li>\n";
32     + print "\t\t<li>". $self->localise('PREVIOUS_SERVER_MODE') ."</li>\n";
33     print "\t\t<li>". $self->localise('KERNEL_AND_ARCH') ."</li>\n";
34     print "\t\t<li>". $self->localise('INSTALLED_RPMS') ."</li>\n";
35     print "\t\t<li>". $self->localise('ALTERED_TEMPLATES') ."</li>\n";
36     @@ -123,7 +125,8 @@
37     releaseversion => \$releaseversion,
38     curkernel => \$curkernel,
39     systemmode => \$systemmode,
40     - newrpms => \@newrpms,
41     + previoussystemmode => \$previoussystemmode,
42     + newrpms => \@newrpms,
43     templates => \@templates,
44     events => \@events,
45     repositories => \@repositories,

admin@koozali.org
ViewVC Help
Powered by ViewVC 1.2.1 RSS 2.0 feed