im having this error in state.js

TypeError: this.name.charAt is not a function

CommentFileSizeAuthor
#1 1967270-states_js.patch679 bytestharna

Comments

tharna’s picture

StatusFileSize
new679 bytes

Here is a patch that adds a check for that. Should fix it for now, but better would be to find the root cause of this (state passed to the states.State seems to be 0).

Stalski’s picture

I had the same problem.
The proposed fix does not fix it, only skipping the incorrect values coming in. Actually the whole states system is broken this way.

Did not find a solution yet.

Stalski’s picture

Priority: Normal » Major

Setting this to at least major as the whole module does not work anymore for jquery 1.7

hefox’s picture

miroslavbanov’s picture

Issue summary: View changes
Status: Active » Fixed

Fixed when this patch was applied.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.