You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I specify computed value in dom-repeat, it doesn't work.
In the console, following warning is shown: Polymer::Attributes: couldn't decode Array as JSON, but actually this message is wrong.
When I add throw x; in deserialize function, correct error message is shown: SyntaxError: JSON.parse: unexpected character at line 1 column 1 of the JSON data.
This occurs because string csvFieldNames(_relations) is given to JSON.parse as an argument, although JSON string should be given.
When I specify computed value in
dom-repeat
, it doesn't work.In the console, following warning is shown:
Polymer::Attributes: couldn't decode Array as JSON
, but actually this message is wrong.When I add
throw x;
indeserialize
function, correct error message is shown:SyntaxError: JSON.parse: unexpected character at line 1 column 1 of the JSON data
.This occurs because string
csvFieldNames(_relations)
is given toJSON.parse
as an argument, although JSON string should be given.Following is the example to reproduce this bug:
The text was updated successfully, but these errors were encountered: