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
I'm experiencing an issue when overriding a property on a component which is computed + volatile. Here is a minimal example which reproduces the problem. This cropped up when we upgraded our app to from 3.5 to 3.6.
// tests/integration/components/random-number-test.jsimport{module,test}from'qunit';import{setupRenderingTest}from'ember-qunit';import{render}from'@ember/test-helpers';importhbsfrom'htmlbars-inline-precompile';module('Integration | Component | random-number',function(hooks){setupRenderingTest(hooks);test('it renders a random number',asyncfunction(assert){// This throws a `Uncaught RangeError: Maximum call stack size exceeded` error// at descriptorFor (meta.js:683)// at set (metal.js:1992)// at ComputedProperty.clobberSet (metal.js:2412)// at ComputedProperty.set (metal.js:2399)// at set (metal.js:1995)// at ComputedProperty.clobberSet (metal.js:2412)// at ComputedProperty.set (metal.js:2399)// at set (metal.js:1995)// at ComputedProperty.clobberSet (metal.js:2412)// at ComputedProperty.set (metal.js:2399)//awaitrender(hbs`{{random-number randomNumber=1234}}`);assert.dom('.random-number').exists();});});
It only seems to be happening on volatile properties. Any help would be appreciated. 🙏
The text was updated successfully, but these errors were encountered:
jordanbyron
changed the title
Clobbering a volatile computed properties causes 'Maximum call stack size exceeded' in 3.6+
Clobbering a volatile computed property causes 'Maximum call stack size exceeded' in 3.6+
Jan 4, 2019
Hi ya'll,
I'm experiencing an issue when overriding a property on a component which is computed + volatile. Here is a minimal example which reproduces the problem. This cropped up when we upgraded our app to from 3.5 to 3.6.
You can download the full example project here: https://github.com/jordanbyron/ember-3-6-volatile-bug
It only seems to be happening on
volatile
properties. Any help would be appreciated. 🙏The text was updated successfully, but these errors were encountered: