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 Forwarding action state in another situation where it was not being forwarded #801

Conversation

ScopeyNZ
Copy link
Contributor

@ScopeyNZ ScopeyNZ commented Jan 11, 2019

This is related to #757 . There's a relatively uncommon way that the new AttributeStore method of passing around GridField action state could fail if you used the React GridFieldActions component but you had one action that was not edit. In this case the dropdown was not rendered, instead there is a single button. When that button was edit it uses a different part of entwine and works correctly but if it's any other action (eg. delete) then the action state is not present and the action fails.

Fixes silverstripe/silverstripe-framework#8675

@robbieaverill
Copy link
Contributor

Behat is broken upstream already

@robbieaverill robbieaverill merged commit 13bb2df into silverstripe:1.3 Jan 11, 2019
@robbieaverill robbieaverill deleted the pulls/1.3/actioning-this-state-again branch January 11, 2019 08:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants