Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix delete role issue on transform #10417

Merged
merged 4 commits into from
Nov 23, 2020
Merged

Conversation

chelshaw
Copy link
Contributor

Adding and then removing roles on a transformation when no roles have been created causes an error when removing them, which means they don't actually get removed from the model.

GIF of issue:
transform-bug

… when no other roles have been created causes an error
@chelshaw chelshaw added ui bug Used to indicate a potential bug labels Nov 18, 2020
Copy link
Contributor

@Monkeychip Monkeychip left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Small test failure, but I tried to break this and couldn't. Nice fix.

@@ -0,0 +1,4 @@
```release-note:bug
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nice. good idea to include changelog in the pr record. I'll start doing this as well.

@chelshaw chelshaw merged commit a4fc031 into master Nov 23, 2020
@chelshaw chelshaw deleted the ui/fix-remove-transform-roles branch November 23, 2020 16:38
@chelshaw chelshaw added this to the 1.6.1 milestone Nov 23, 2020
chelshaw added a commit that referenced this pull request Dec 11, 2020
* Fix bug where adding and then removing a new role on a transformation when no other roles have been created causes an error

* Update test on search-select to reflect new behavior which does not add created options to list on delete

* Add changelog
chelshaw added a commit that referenced this pull request Dec 14, 2020
* Fix bug where adding and then removing a new role on a transformation when no other roles have been created causes an error

* Update test on search-select to reflect new behavior which does not add created options to list on delete

* Add changelog
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Used to indicate a potential bug ui
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants