HTML views render in error starting Splunk 8.0.1 if a Simple xml view has an empty label

Issue #58 resolved
Guilhem Marchand created an issue

If a simple xml view contains an empty tab label:

<label></label>

The Oops page appears and the following message is logged:

  File "/Applications/splunk/lib/python3.7/site-packages/splunk/appserver/mrsparkle/controllers/view.py", line 806, in buildViewTemplate
    viewList.sort(key=lambda x: x['label'])
TypeError: '&lt;' not supported between instances of 'NoneType' and 'str'

This is a Splunk bug.

Comments (1)

  1. Guilhem Marchand reporter

    V1.0.26:

    CAUTION: For Splunk 7.x and later

    • Issue #57 - Nmon WOW dashboard waiting for input
    • Issue #58 - HTML views render in error starting Splunk 8.0.1 if a Simple xml view has an empty label
    • Issue #59 - M-EXPLORER - Invalid token call in host-prefilter text input causes invalid term and view failure
  2. Log in to comment