Skip to content

Conversation

@robbieaverill
Copy link
Contributor

@robbieaverill
Copy link
Contributor Author

Behat failures look real, investigating

@robbieaverill
Copy link
Contributor Author

Ok the search form wasn't opening. This was caused by a change in Bootstrap: twbs/bootstrap#25806. This means that .collapse.show no longer indicates display: block in Bootstrap 4.1.x like it did in 4.0.x.

The version of Reactstrap (5.0.x) that we're using specifies these classes: https://github.com/reactstrap/reactstrap/blob/5.0.0/src/Collapse.js#L32, so the only real option for B/C support in SilverStripe 4.x is to provide a polyfill, which I'm going to push up now.

@robbieaverill robbieaverill removed their assignment Oct 8, 2018
Copy link
Contributor

@lukereative lukereative left a comment

Choose a reason for hiding this comment

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

Since this is a security fix, this change should be made against x.0 branch so it it can be merged up

Copy link
Contributor

@lukereative lukereative left a comment

Choose a reason for hiding this comment

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

I discussed this with @chillu and we agree that it'll be too risky to upgrade from 4.0.0-beta on the older releases and the risk is low as you have said. So we're just going to merge this into the latest release.

@lukereative lukereative merged commit 0944900 into silverstripe:1 Oct 9, 2018
@robbieaverill robbieaverill deleted the pulls/1.3/upgrade-bootstrap branch October 9, 2018 21:34
@robbieaverill
Copy link
Contributor Author

Sweet, good result all round

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