question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

hasMany relationship broken with changeset-validations@1.2.10

See original GitHub issue

Upgraded ember-changeset and ember-changeset-validations to the latests versions (1.4.2-beta.0 and 1.2.10) and now every time i access a hasMany relationship i get this weird error:

"Error: Assertion Failed: content must be present.…(http://localhost:4200/assets/vendor.js:39848:18)"

and also this:

Uncaught Error: a glimmer transaction was begun, but one already exists. You may have a nested transaction
    at debugAssert (util.js:62)
    at Environment.begin (runtime.js:6380)
    at Environment.begin (environment.js:252)
    at InteractiveRenderer._renderRoots (renderer.js:270)
    at InteractiveRenderer._renderRootsTransaction (renderer.js:323)
    at InteractiveRenderer._revalidate (renderer.js:360)
    at invoke (backburner.js:258)
    at Queue.flush (backburner.js:151)
    at DeferredActionQueues.flush (backburner.js:329)
    at Backburner.end (backburner.js:462)

Line 39848 in my vendor.js is https://github.com/emberjs/ember.js/blob/bdc2c3e3a15d13d8bb1951d44b1a28ee1c6a36cb/packages/ember-metal/lib/property_get.js#L67

After downgraded ember-changeset-validations to 1.2.8 again everything works. I only get this error when my model that has a hasMany relationship is new and unsaved.

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:32 (5 by maintainers)

github_iconTop GitHub Comments

4reactions
snewcomercommented, Jan 8, 2019

Just to notify everyone, 2.0.0-beta.0 has been published for ember-changeset and ember-changeset-validations. Give it a shot! @abobwhite

3reactions
lougreenwoodcommented, Nov 4, 2018

I’m also getting this, have downgraded back to EC 1.3.0 to resolve

Read more comments on GitHub >

github_iconTop Results From Across the Web

Automatic Generation of Upgrade Campaign Specifications
relationships among these entities, manual calculation of various steps of an upgrade campaign specification is time consuming and error prone.
Read more >
Hibernate Developer Guide - Red Hat on GitHub
You can configure database connections using a properties file, an XML deployment descriptor, programmatically. Example 1.1. hibernate.properties for a c3p0 ...
Read more >
ember-changeset-validations - npm
Start using ember-changeset-validations in your project by running ... 33 other projects in the npm registry using ember-changeset-validations.
Read more >
OPERATIONS MANAGEMENT TINKER AIR FORCE BASE, OK
validation is not required at initial input, but actual equipment UID is ... customer notification and coordination processes, find and fix ...
Read more >
The Eilmer3 Code: User Guide and Example Book. - UQ eSpace
This model is based on the Bender p-v-T relationship. ... Validation of hypersonic chemical equilibrium flow calculations.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found