Problem/Motivation
Drupal 8.2.x uses the "symfony/psr-http-message-bridge" component to offer compatibility with PSR-7.
This component converts Symfony requests to PSR-7 request objects.
Problem: the version used in composer is v0.2.
This version is full of nasty bugs. For instance, it will crash if you submit a form with an empty <input type="file"> field.
Proposed resolution
Simply update the dependency to v1.0.
There are no breaking change in the API, unit tests are still running fine.
| Comment | File | Size | Author |
|---|---|---|---|
| #3 | symphony__psr-http-message-bridge.png | 46.75 KB | rreiss |
| updating_psr-http-message-bridge.patch | 2.43 KB | moufmouf |
Comments
Comment #3
rreiss commentedIt seems like it was already update on 8.3.1, but I have a composer dependencies issue when trying to update from 8.2.x to 8.3.1 .
See https://drupal.stackexchange.com/questions/234321/updating-core-from-8-2... .
I had to delete /core, /vendor and /composer.lock to be able to upgrade to 8.3.1.
Comment #4
jlbellidoFollowing, same error.
Comment #5
dawehnerThis sounds like you missed to include
composer update width-dependenciesNevertheless, this issue is fixed now.
Comment #7
hamrant commented@rreiss I have the same problem (update from 8.2.x to 8.3.2)
deleting of vendor directory is fixed issue