Closed (duplicate)
Project:
Drupal core
Version:
8.0.x-dev
Component:
rest.module
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
12 Aug 2013 at 20:27 UTC
Updated:
29 Jul 2014 at 22:46 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
tim.plunkettThis should have test coverage
Comment #2
legolasboDiscussed this issue with Dawehner and tim.plunkett in #drupal-contrib.
Besides the tasks mentioned above, this file should actually be moved to the dblog module because it relies heavily on the dblog module.
Comment #3
legolasboComment #4
henrikakselsen commentedIf I'm not mistaken, we should have use statement for ResourceResponse too.
Comment #5
dawehner@henrikakselsen
See
for the actual way to solve this issue.
Comment #6
klausiI don't think we should move it to dblog.module, because it primarily serves as an example and an additional test case. Not sure if people will ever actually use this.
Comment #7
dawehnerWell in this case we might should move it to a test module?
Comment #8
Crell commentedLet's take care of this novice first. If the code should move that's a separate issue. Please file it as such. (I think it probably should, but that's a new Normal-level task.)
Comment #10
Crell commentedAh, of course, because those are the wrong class names. :-)
Comment #11
liuggio commentedDuring the symfonycon YesCt forces us to work on drupal, we love php.
------
Looking at the patch n.4 we deleted one of the use statements because it was not necessary,
we also ordered namespaces alphabetically.
Next
We(Liuggio DLondero StefanoSala and @YesCT) are working on the test.
Comment #12
dawehnerNice! This certainly at least fixes the actual bug.
Comment #13
liuggio commentedClosed because it is a duplicated of #1875118: Move resource plugins to correct modules, we have talked with @tim.plunkett in IRC and he explains us that this is actually more related to this issue about moving it than he thoughts, because the error in the DBLogResource only occurs if the dblog module is disabled,
There's a already a test coverage using the simple test at Drupal\rest\test\DBLogTest.