Closed (fixed)
Project:
REST UI
Version:
8.x-1.x-dev
Component:
Code
Priority:
Major
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
17 May 2017 at 05:57 UTC
Updated:
15 Jun 2017 at 09:25 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
mettek commentedSame problem here!
Comment #3
JugglerX commentedSame problem.
I tried uninstalling the module, and reinstalling. But when I enable the resource in rest ui it does not enable.
I had to delete the config
drupal config:delete active "rest.resource.entity.node"I then enabled the resource in rest ui, had to reconfigure it and it enabled.
Comment #4
phonkala commentedCan confirm, disabling some resource does not delete it from config and after trying to enable it again, you can edit the resource settings but it never gets enabled. Same thing in stable & dev versions (8.x.1.14 & 8.x.1.x-dev). Deleting the corresponding config settings (rest.resource.*) makes everything work again correctly.
Comment #5
clemens.tolboomAs we have disabled the config item its status == false;
Submitting the form we must make sure it becomes status == true.
Comment #6
wim leers#2851126: The UI says "disable", but it's really "delete" fixed the "disable" functionality. Then #2831716: REST UI does not support "resource" granularity was committed, which broke it, by removing the
->enable()call. Bad rebase.#5 works, but this is more elegant, and easier to maintain.
Comment #7
wim leersComment #9
clemens.tolboomCommitted. Should we release or wait for #2800097: Confusing UI: POST URL differs from GET/PATCH/DELETE URL, but UI doesn't indicate this! to get fixed?
Comment #10
wim leersD'oh, I totally lost track of that. I'll get that moving forward again. Expect a patch later today.