Skip to content

Unhandled JavaScript error causes mapping properties to be unable to load #1016

@kouralex

Description

@kouralex

At which URL did you encounter the problem?

http://dev.finto.fi/juho/en/groups

What steps will reproduce the problem?

  1. Go to URL above
  2. Click any group in the Groups section
  3. See Developer Tools -> Console output

What is the expected output? What do you see instead?

I expect no errors to be raised. Instead, I get the following JS error:
TypeError: $(...)[0] is undefined scripts.js:414:8

It seems like there is an unhandled exception happening at

$('script[type="application/ld+json"]')[0].innerHTML = data.graph;
that causes the mapping properties to be unable to load.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions