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.rollback works the first time only

See original GitHub issue

I threw together a sample project for testing nested keys and noticed an issue with the rollback method.

Version

1.5.0-beta.0

Test Case

https://github.com/Mithrilhall/changeset-test-nested.git

Steps to reproduce

yarn install
ember s

Expected Behavior

Clicking the restore button should rollback all values.

Actual Behavior

The restore/rollback button should rollback changeset and appears to work fine on nested keys the first time. Additional attempts to rollback (clicking on the button) do not appear to rollback the nested values.

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:7

github_iconTop GitHub Comments

1reaction
snewcomercommented, Aug 24, 2018

@Mithrilhall Thx for the reproduction! I just put up #310. One of the tests is that rollback twice works. There more to add here, but thought we would start there. I think there is some more assertions to add to fully reproduce your case.

0reactions
snewcomercommented, Nov 28, 2019

I’ll close this for now. I believe this should work in 2.2.4 or the new 3.0 series! Thank you for the issue!

Read more comments on GitHub >

github_iconTop Results From Across the Web

rollback-one-changeset | Liquibase Docs
The rollback-one-changeset command reverts (rolls back) one non-sequential changeset made during a previous change to your database. It is only available ...
Read more >
Understand Rollback Entire changeset in tfs? - Stack Overflow
Yes, the changeset does not change, Rollback entire changeset means rollback the content of the changeset, you will need the changeset to track ......
Read more >
Introduction to Liquibase Rollback - Baeldung
This command executes the database update and then rolls back the changesets to bring the database to the current state. Both future rollback...
Read more >
Liquibase Pro Targeted Rollback - How rollbackOnechangSet ...
Learn how to use Liquibase Pro to rollback one specific changeSet without rolling back any other changeSets.
Read more >
Ivercy - TFS - Rollback Changeset - YouTube
I show you how to rollback a changeset from the history of an controlled Microsoft Access Object in an Team Foundation Server repository ......
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