Closed (fixed)
Project:
Drupal core
Version:
8.3.x-dev
Component:
rest.module
Priority:
Normal
Category:
Task
Assigned:
Issue tags:
Reporter:
Created:
16 Jan 2017 at 06:10 UTC
Updated:
29 Apr 2017 at 09:20 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #3
wim leersAs one of the maintainers of the REST module, I figured I'd take this one on :)
Comment #5
wim leersComment #6
tedbowCopy and paste error?
Copy/paste error? Also need description.
I don't understand why these expected dependencies pass? dblog? why not REST itself?
Comment #7
wim leersdblog@RestResourceplugin :)dblogbecause\Drupal\Tests\rest\Functional\EntityResource\RestResourceConfig\RestResourceConfigResourceTestBase::createEntity()creates a REST resource config entity that uses thedblog@RestResourceplugin.serializationbecause this uses thejsonserialization format, which is provided by theserializationmoduleuserbecause this uses thecookieauthentication mechanism, which is provided by theusermoduleComment #8
tedbow@Wim Leers ok thanks
That only leaves my question in the last part of #6.3
Why would REST module also not be a dependency. I figure it has something to do with my lack of understanding of configuration management but it seems the config entity type is declared by the REST module so you would need it.
Comment #9
wim leersI see what you're saying now. I can see why you come to that conclusion, but that's indeed not how the config system works.
The
rest_resource_configconfig entity type is declared by therestmodule. Without therestmodule, therest_resource_configentity type simply does not exist. (And then this configuration would simply be ignored: it'd be a meaningless blob of data.)See for example
filter.format.basic_html. It also doesn't list thefiltermodule. Ortaxonomy.vocabulary.tags, which also doesn't list thetaxonomymodule.Comment #10
tedbow@Wim Leers ok thanks for the explanation.
RTBC then!
Comment #12
Anonymous (not verified) commentedNice!) Back to RTBC because a random fail.
Comment #14
wim leersDrupalCI infra fail.
Comment #15
alexpottCommitted and pushed c522c8f to 8.4.x and 09787b9 to 8.3.x. Thanks!
Backported to 8.3.x because its tests only.