Menu

#287 Display getattribute result missing <pre></pre> in output

Release 3.0.2
open
nobody
None
5
2009-08-24
2009-08-24
Anonymous
No

Invoking getattribute page to browse a Map attribute does not add the <pre></pre> tags to the attribute value. They are generated in the output of the main mbean browse page. However drilling in to a Map causes the output to not get formatted correct (e.g. line breaks).

Incorrect:

<tr class="clearline">
<td class="aggregationrow">MyAttrKey</td><td class="aggregationrow">java.lang.String</td><td class="aggregationrow">MyValue</td><td class="aggregationrow">java.lang.String</td>
</tr>

Correct:

<tr class="clearline">
<td class="mbean_row">QueryCount</td><td class="mbean_row"></td><td class="mbean_row">int</td><td align="left" class="mbean_row">
<pre>0</pre>
</td><td align="right" class="mbean_row">Read-only attribute</td>
</tr>

Discussion


Log in to post a comment.

MongoDB Logo MongoDB