- Issue created by @lauriii
- 🇮🇳India omkar-pd
If we click "remove from components" we get
The 'imported_js_components' field is required when 'source_code_js' or 'compiled_js' is provided
and if we click on delete we get 403 forbidden with error
There is other configuration depending on this code component.
- 🇺🇸United States hooroomoo
"remove from components" is a PATCH request, and currently, PATCH requests are sending the entire component's data over which instead of only the wanted changes. So the compiled and source JS in the request body triggers this error:
The 'imported_js_components' field is required when 'source_code_js' or 'compiled_js' is provided
I believe 📌 Add a route for PATCHing both a config entity and its auto-saved version together Active needs to be addressed first. Then we can update the PATCH request bodies to not include any of the JS in 🐛 Adding component to component library results in component code and configuration being lost Active .
- 🇺🇸United States hooroomoo
#3 🐛 Cannot delete components from library Active .2
🐛 Cannot delete JS components due to component depending on them Active will address the DELETE bug
- First commit to issue fork.
- Merge request !924Issue #3520077: Cannot remove components from library → (Merged) created by penyaskito
- 🇺🇸United States hooroomoo
This issue should get fixed by 📌 Add a route for PATCHing both a config entity and its auto-saved version together Active then 🐛 Adding component to component library results in component code and configuration being lost Active . Marking it postponed for now.
- 🇺🇸United States hooroomoo
Nope sorry I was mistaken, #4 🐛 Cannot delete components from library Active doesn't apply to the Remove from components action. Marking it back to Active
-
hooroomoo →
committed bbaa05d9 on 0.x authored by
penyaskito →
Issue #3520077 by penyaskito: Cannot remove components from library
-
hooroomoo →
committed bbaa05d9 on 0.x authored by
penyaskito →