Sulu Release 1.6.37 & 2.1.5 & 2.2.1
Unfortunately we have introduced a bug in Sulu 2.2.0 that seems to have caused regressions in quite a few projects. To be exact, the regression is happening if you are using a Smart Content for media in a webspace that does not use our new website security feature. For this reason we released a new bugfix release a few days later. But it also contains a few more bug fixes, that will be explained in this blog post.
As already mentioned in the previous blog post, the 2.0.x series is not maintained anymore, and therefore is not receiving this and future improvements anymore.
Release 1.6.37
In this release there is a single bug fix, which should correct links created using our “sulu-link” tag that target a page in a different webspace. That includes all links that are created in text editors. Thank you Jaimy Broere for raising the issue and fixing it!
Release 2.1.5
The 2.1 bugfix release contains a improvements:
- A proper error message in the administration UI is shown when the upload of a media fails for some reason
- The missing “single_snippet_selection” field type has been added in this release
- Default values for content types within blocks work now as expected
- The name of the title of a contact is now available in a serialized contact
- Multiple logouts in the same browser session does not cause an error anymore
- Our select components can now also be controlled using the keyboard
- The update-build command now also returns an exit code as Symfony expects
- Using “false” as a value for the visibleCondition now works as expected
Release 2.2.1
This release fixes the regression mentioned at the start of this blog post. The SmartContent DataProvider for media elements did not work without security having been configured on the website. This caused an error message like:
Argument 6 passed to Sulu\Component\Media\SmartContent\MediaDataProvider::__construct() must be an instance of Symfony\Component\Security\Core\Security, null given
Thankfully, the fix was quite easy, and starting with this version the error should disappear.
Conclusion
We are really sorry about the inconvenience the regression in Sulu 2.2.0 might have caused you. Fortunately, we were able to fix the error in a rather short time.
Please get in touch with us on Slack or create an issue on GitHub if you encounter any more issues like that. We promise to try to solve the problem and provide you with a bugfix release as soon as possible.