Mantis Bugtracker
  

Viewing Issue Simple Details Jump to Notes ] View Advanced ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0003328 [Resin] trivial always 02-08-09 12:03 02-25-09 17:11
Reporter stbu View Status public  
Assigned To ferg
Priority normal Resolution fixed  
Status closed   Product Version 3.1.9
Summary 0003328: Snapshot 3.1.s090206: status.php uses wrong resin:type for lookup of Logging Messages
Description The /resin-admin page status.php is using a wrong resin:type to lookup Logging Messages for section "Recent Messages".

Actually:

350: <?php
351:
352: if ($mbean_server) {
353: $mbean = $mbean_server->lookup("resin:type=LoggingManager");
354: }

The line 353 is wrong. LoggingManager does not exist, but LogService. When it's changed to this name

350: <?php
351:
352: if ($mbean_server) {
353: $mbean = $mbean_server->lookup("resin:type=LogService");
354: }

it will work and show this section when Messages could be found.

Additional Information <?php

if ($mbean_server) {
- $mbean = $mbean_server->lookup("resin:type=LoggingManager");
+ $mbean = $mbean_server->lookup("resin:type=LogService");
}

//
// recent messages
//
Attached Files

- Relationships

- Notes
(0003844)
ferg
02-25-09 17:11

Also, already fixed in 4.0 branch.
 

- Issue History
Date Modified Username Field Change
02-08-09 12:03 stbu New Issue
02-08-09 12:04 stbu Issue Monitored: stbu
02-25-09 17:11 ferg Note Added: 0003844
02-25-09 17:11 ferg Assigned To  => ferg
02-25-09 17:11 ferg Status new => closed
02-25-09 17:11 ferg Resolution open => fixed
02-25-09 17:11 ferg Fixed in Version  => 3.1.9


Mantis 1.0.0rc3[^]
Copyright © 2000 - 2005 Mantis Group
30 total queries executed.
26 unique queries executed.
Powered by Mantis Bugtracker