Error in JS console on machine network tab

Bug #1859622 reported by Alberto Donato
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
MAAS
Fix Released
High
Anthony Dillon

Bug Description

I'm seeing the following error every time I click on the "Network" tab from the machine details page (specifically it's a VM from a KVM POD):

Error: [$parse:lexerr] Lexer Error: Unterminated quote at columns 88-90 [')] in expression [showCreatePhysical(); sendAnalyticsEvent('Machine details, 'Add interface', 'Network tab')].
https://errors.angularjs.org/1.7.9/$parse/lexerr?p0=Unterminated%20quote&p1…alyticsEvent('Machine%20details%2C%20'Add%20interface'%2C%20'Network%20tab')
    at maas.3f4f187….bundle.js:26
    at Sa.throwError (maas.3f4f187….bundle.js:26)
    at Sa.readString (maas.3f4f187….bundle.js:26)
    at Sa.lex (maas.3f4f187….bundle.js:26)
    at xa.ast (maas.3f4f187….bundle.js:26)
    at Ra.getAst (maas.3f4f187….bundle.js:26)
    at Ra.parse (maas.3f4f187….bundle.js:26)
    at o (maas.3f4f187….bundle.js:26)
    at Object.compile (maas.3f4f187….bundle.js:26)
    at be (maas.3f4f187….bundle.js:26) "<button class="p-button--neutral" data-ng-disabled="selectedMode !== null" data-ng-click="showCreatePhysical(); sendAnalyticsEvent('Machine details, 'Add interface', 'Network tab')">"
(anonymous) @ maas.3f4f187….bundle.js:26
(anonymous) @ maas.3f4f187….bundle.js:26
be @ maas.3f4f187….bundle.js:26
se @ maas.3f4f187….bundle.js:26
se @ maas.3f4f187….bundle.js:26
se @ maas.3f4f187….bundle.js:26
re @ maas.3f4f187….bundle.js:26
(anonymous) @ maas.3f4f187….bundle.js:26
a @ maas.3f4f187….bundle.js:26
v @ maas.3f4f187….bundle.js:26
(anonymous) @ maas.3f4f187….bundle.js:26
$digest @ maas.3f4f187….bundle.js:26
$apply @ maas.3f4f187….bundle.js:26
value @ maas.3f4f187….bundle.js:98
value @ maas.3f4f187….bundle.js:98
websocket.onmessage @ maas.3f4f187….bundle.js:98

The tab still loads correctly.

Tags: ui
Changed in maas:
status: New → Triaged
Changed in maas:
importance: Undecided → High
Revision history for this message
Anthony Dillon (ya-bo-ng) wrote :

This issue has been proposed to the UI: https://github.com/canonical-web-and-design/maas-ui/pull/657

Changed in maas:
assignee: nobody → Anthony Dillon (ya-bo-ng)
importance: High → Undecided
status: Triaged → Fix Committed
Changed in maas:
importance: Undecided → High
Changed in maas:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.