At the moment the module doesn't work with Drupal 8.3.x because of the serialization format errors related to the endpoints formats.

Uncaught PHP Exception Symfony\Component\Serializer\Exception\UnexpectedValueException: "Serialization for the format  is not supported" at .../vendor/symfony/serializer/Serializer.php line 97

Comments

jeqq created an issue. See original summary.

samerali’s picture

Anyone has solution for this issue? it's certainly blocking the whole module from working at D8.3

samerali’s picture

Priority: Normal » Critical
jeqq’s picture

Priority: Critical » Normal
Status: Active » Postponed

Here is the fix: https://github.com/relaxedws/drupal-relaxed/pull/82. It will be merged and pushed on d.o when Drupal 8.3.0 will be released.

samerali’s picture

Thanks alot @jeqq.. I'm going to try it it

samerali’s picture

Looks like the pull request does work for me and the error is now gone.. for anyone want to use patch Relaxed 8.1 dev. You could use this for now: https://gist.github.com/sameronline/407c2fc115e9bbc0d53898d3a788398c

samerali’s picture

@jeqq Do you mind looking at: https://www.drupal.org/node/2850649#comment-11987860

I'm using the above patch + drupal/replication latest dev version which throws this error on drush cr:

'Drupal\Component\Plugin\Exception\PluginNotFoundException' with
message 'The "relaxed:all_dbs" plugin does not exist.' in
/var/www/html/web/core/lib/Drupal/Component/Plugin/Discovery/DiscoveryTrait.
php:52

that's probably drupal/replication and not drupal/relaxed?

samerali’s picture

I was able to resolve this error by uninstalling the relaxed module and installing it again.

The 8.3 patch contained some changes that to the configs on installation and it does not seem to pick up these new changes unless module is disabled and enabled again... see https://github.com/relaxedws/drupal-relaxed/pull/82/files#diff-f4b48fdd8...

samerali’s picture

@jeqq don't we need some kind of hook_update @ relaxed.install to avoid this from happening?

jeqq’s picture

@samerali Thank you for testing and debugging this. I've added an update function that should load the new config.

samerali’s picture

@jeqq Thankyou, I have been following your commits on github! thanks for including the test suites as well appreciated.

  • jeqq authored d90591b on 8.x-1.x
    Issue #2849068 by jeqq: Make RELAXed Web Services module compatible with...
jeqq’s picture

Status: Postponed » Fixed

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.

papagrande’s picture

Issue summary: View changes

I updated the issue summary to help search engines.

(This update worked for me. Thanks.)