emberjs/ember.js — Issue #402: `getPath` should not fall back to global
Author: wagenet
Created: 2012-01-14 18:13:52+00:00
State: open
Labels: cleanup, improvement

That these tests pass is somewhat surprising: https://github.com/emberjs/ember.js/blob/master/packages/ember-metal/tests/accessors/getPath_test.js#L114-140

`getPath` should just get relative paths and not fallback to globals. So that we don't break apps, we should provide a deprecation warning when global fallback occurs instead of immediately removing this behavior.