Error (HTTP 404) when renaming code component from Library
>>> [!note] Migrated issue <!-- Drupal.org comment --> <!-- Migrated from issue #3568218. --> Reported by: [mayur-sose](https://www.drupal.org/user/3832406) Related to !501 >>> <h3 id="overview">Overview</h3> <p> When attempting to rename a code component from the library, the operation fails with the following error message: </p> <pre> Failed to rename component An error (HTTP 404) occurred while renaming the component. Please check the browser console for more details. Console error : { "status": 404, "data": [] } PATCH https://canvas-dev.ddev.site/canvas/api/v0/config/js_component/undefined 404 (Not Found) { "status": "404", "errors": [], "message": "Resource not found" } </pre><p> This prevents users from updating the names of code components in the library. </p> <h4>Steps to Reproduce:</h4> <ol> <li>Attempt to rename the code component from within the library.</li> <li>Observe the error message stating a 404 error has occurred and the renaming fails.</li> </ol> <h3 id="proposed-resolution">Proposed resolution</h3> <h3 id="ui-changes">User interface changes</h3>
issue