Skip to content

Conversation

@MonsterDeveloper
Copy link
Contributor

What does it do?

Allows to save a view configuration for a component.

Why is it needed?

Fixes a bug in the content-manager where a PUT request to save component's view configuration is sent to a wrong endpoint, resulting in a 405 HTTP error.

How to test it?

  1. In a Content Type Builder, create a component
  2. Click on "Configure the view"
  3. Change a title of any text field
  4. Click "Save"

Related issue(s)/PR(s)

Fixes #17575 , #17577

@strapi-cla
Copy link

strapi-cla commented Aug 6, 2023

CLA assistant check
All committers have signed the CLA.

dgrebb added a commit to dgrebb/dgrebb.com that referenced this pull request Aug 6, 2023
also updates patch-package and other patches for strapi v4.12.1

component endpoint fix can be found in strapi/strapi#17579
@derrickmehaffy derrickmehaffy added source: core:content-manager Source is core/content-manager package pr: fix This PR is fixing a bug labels Aug 7, 2023
@joshuaellis joshuaellis self-requested a review August 7, 2023 07:40
@joshuaellis joshuaellis self-assigned this Aug 7, 2023
@gu-stav gu-stav assigned gu-stav and unassigned joshuaellis Aug 7, 2023
@gu-stav gu-stav self-requested a review August 7, 2023 10:02
@gu-stav gu-stav force-pushed the fix-components-view-configuration branch from 5d7a319 to 907c232 Compare August 7, 2023 10:07
@gu-stav
Copy link
Contributor

gu-stav commented Aug 7, 2023

Thank you for the fix!

@gu-stav gu-stav force-pushed the fix-components-view-configuration branch from 907c232 to 02d2bd8 Compare August 7, 2023 10:08
@gu-stav gu-stav added this to the 4.12.2 milestone Aug 7, 2023
@gu-stav gu-stav merged commit c1ba33a into strapi:main Aug 7, 2023
@MonsterDeveloper MonsterDeveloper deleted the fix-components-view-configuration branch August 7, 2023 10:38
@strapi-bot
Copy link

This pull request has been mentioned on Strapi Community Forum. There might be relevant details there:

https://forum.strapi.io/t/component-configuration-405/30887/5

dgrebb added a commit to dgrebb/dgrebb.com that referenced this pull request Oct 1, 2023
also updates patch-package and other patches for strapi v4.12.1

component endpoint fix can be found in strapi/strapi#17579
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

pr: fix This PR is fixing a bug source: core:content-manager Source is core/content-manager package

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Unable to configure a view for a component

6 participants