maps-plus icon indicating copy to clipboard operation
maps-plus copied to clipboard

Maps+ Error

Open wpierbattisti opened this issue 7 months ago • 2 comments

Dear Team, We are running Splunk Enterprise 9.4.2 with Maps+ 4.6.3 and have hit an issue that prevents us from configuring the visualization through the GUI. When clicking the "Format Visualization" button, Splunk displays a generic JavaScript error banner. Opening the browser console makes the cause clear: Sizzle, the CSS selector engine bundled with jQuery, fails to parse the dynamically generated panel ID because it contains a literal parenthesis (, which is a reserved character in CSS selector syntax. This triggers an unhandled exception that completely blocks the configuration panel from loading. The practical impact is that Maps+ cannot be configured through the GUI at all — the only option is to edit the dashboard XML source directly. We have found no similar reports on any online community or forum.

Best regards, Walter Pierbattisti

Image

wpierbattisti avatar Apr 28 '26 14:04 wpierbattisti

Hi @wpierbattisti — thanks for the detailed report, this is very helpful.

I'm actively triaging the issue. The Sizzle selector failure on panel IDs containing ( is a known CSS selector syntax conflict and I have a hypothesis on the affected code path.

To confirm the exact crash site before shipping a fix, could you share the full browser console stack trace from when the error occurs? Specifically:

  1. Open your browser's developer tools (F12)
  2. Go to the Console tab
  3. Click "Format Visualization" to trigger the error
  4. Copy the full stack trace from the red error entry and paste it here

This will help confirm I'm fixing the right location and that there are no additional affected sites. I'll proceed with investigation in parallel — a fix is likely coming in the next patch release.

sghaskell avatar Apr 30 '26 22:04 sghaskell

Fixed in v4.6.4 (released 2026-04-30), validated on Splunk 9.4 and 10.x.

Root cause: The jQuery/Sizzle selectors in _setFullScreenMode and _setDefaultHeight concatenated the panel's data-cid attribute value directly into an unquoted CSS attribute selector — e.g. div[data-cid=foo(bar)]. Sizzle treats ( as the start of a pseudo-class argument and throws a parse error, blocking the Format Visualization panel from opening.

Fix: Quoted the attribute value in all three selector sites: div[data-cid='foo(bar)'].

Upgrade to v4.6.4 from Splunkbase.

@wpierbattisti - Please test and validate on your end. Feel free to re-open the issue if it's still not resolved for you.

sghaskell avatar Apr 30 '26 23:04 sghaskell