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.

Changeset ignore updates after change and delete the same changes

See original GitHub issue

Version

v3.9.2

Test Case

If you change something in the changeset model, the isDirty flag is set to true and if you remove it again it will set to false and if you try to add new changes it will be ignored

Steps to reproduce

I have a model and this model has a label and type is string

1- Add some letter beside the label and then ember will trigger the isDirty flag to indicate that model has changes 2- Remove the the letter i added beside the label, the isDirty flag set to be false again 3- Try to enter any new changes which called set model, it ignores the changes

The changes ignore inside the _run method in the backburner.js

Expected Behavior

if i add and delete and add, it should trigger the changes and update the model with the new changes

Actual Behavior

it doesn’t update the model with set after add then delete then add again

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Reactions:1
  • Comments:8 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
betocantu93commented, Apr 14, 2021

I just want to comment for anyone else landing here: this bug exists from ember-source 3.16.x to 3.19.x, from 3.20+ works

It’s not related to changeset but to ember itself.

1reaction
snewcomercommented, Mar 12, 2021

Thank you! I’ll see if I can fix tomorrow

Read more comments on GitHub >

github_iconTop Results From Across the Web

Dealing with Changing Changesets | Liquibase Tips & Tricks
Run liquibase rollback-count 1; Fix the misspelling in the changelog file; Run liquibase update. However, if you have already committed that ...
Read more >
migration - Liquibase - ignore old changesets - Stack Overflow
What i want to do is to ignore some changeset if there is some checksum in databasechangelog .
Read more >
Updating stacks using change sets - AWS CloudFormation
Change sets allow you to preview how proposed changes to a stack might impact your running resources, for example, whether your changes will...
Read more >
How to modify a change set in Liquibase - eXo Platform
The main reason to modify a change set is when the change set fails to apply, for whatever reason. For example, because of...
Read more >
Ecto.Changeset — Ecto v3.9.4 - HexDocs
Applies the changeset changes to the changeset data. This operation will return the underlying data with changes regardless if the changeset is valid...
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