ember.js: currentWhen.split is not a function

Upgrading from 1.12 to 1.13.9 I’m seeing a an issue using the current-when argument on a link-to helper resulting in an error Uncaught TypeError: currentWhen.split is not a function. This twiddle demonstrates the problem which seems to occur regardless of if currentWhen is defined or not.

Note that the problem doesn’t persist if I set current-when directly to a string in the template, but we need to be able to set this dynamically.

About this issue

  • Original URL
  • State: closed
  • Created 9 years ago
  • Comments: 16 (15 by maintainers)

Commits related to this issue

Most upvoted comments

I’m seeing this again in current canary, not sure when it regressed