Closed (fixed)
Project:
Drupal core
Version:
8.0.x-dev
Component:
rest.module
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
3 Oct 2014 at 08:58 UTC
Updated:
19 Sep 2015 at 15:24 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
cyberwolf commentedComment #2
cyberwolf commentedComment #3
R.Muilwijk commentedComment #4
alexpottBut there is plenty of occurrences of PUT still in the rest module? Is this really correct?
Comment #5
dawehnerAs far as I understand it is that rest module itself is generic enough to be able to also support PUT, but at least the entity specific plugin,
does not support it at the moment.
Comment #6
jhedstromPerhaps the docs should mention that PUT support is limited rather than remove entirely?
Comment #7
klausiYeah, let's still mention PUT but also add something like "(currently unused by generic entity resources)".
Comment #8
bhavinvora commentedComment added as required in core file.
added a PUT with required comment.
Comment #9
bhavinvora commentedComment #11
Anonymous (not verified) commentedThe patch in #8 removes two files. That is probably unintended.
Furthermore, we do want to document the POST method, so that should be added again.
This line is too long (80 chars max) and also has a trailing space which should be removed.
Comment #12
talhaparacha commentedThis patch might resolve the issue as per the discussion above.
Comment #13
Anonymous (not verified) commentedAlmost there!
This indentation is not correct. See here for more information.
So as I understand it, there actually is support for PUT so we could add it here as well?
Furthermore, the issue summary is no longer is accurate. So we should update that as well.
Added a beta evaluation.
Comment #14
talhaparacha commented@pjonckiere Fixed the indentation. About the other issue, I'm not sure. But considering this line "...support for GET, POST, PATCH, and DELETE quests on entities... " and comment # 5, I think we should not mention "PUT" there.
Comment #15
Anonymous (not verified) commentedOk, that makes sense. I updated the IS to explain the change we are making.
I think this is ready to go in.
Comment #16
alexpottCommitted db44068 and pushed to 8.0.x. Thanks!