App Hangs on Fork and Replace / Clone and Replace
complete
B
Brady Hartog
Bug Description: The app hangs on attempting to replace a component using either "Fork and Replace" or "Clone and Replace" (console shows status 500, Internal Server Error). Cannot succeed in replacing any components. The project is shared from another account.
Bug Severity: "Fork and Replace" and "Clone and Replace" functions seem broken. Re-doing wiring and layout of over 64 components manually would cost multiple hours of labor.
Bug Reproduction: Schematic Pane > Right-click on any component > Fork and Replace / Clone and Replace > Info Toast: "Forking/Cloning and replacing selected object . . ."
Please see the attached screenshots. Thank you for your help.
Gretel Bot
complete
Greg Dingle
I have a fix ready for this feature that should go out later today. Thanks for the reports Brady Hartog and Jason Costello
B
Brady Hartog
Greg Dingle, the fix is working for me. Thank you very much!
Greg Dingle
Thanks for the reports Brady Hartog and Jason Costello. I'm going to start on fixing this today.
J
Jason Costello
...and apologies for the double post. submitted before adding everything.
Payload that is sent with traced, hopefully that's helpful.
{"data":{"documentUid":"a02e98ac-1864-4c61-9137-e215fbc74d4f","userUid":"PQIdOxw2qGhtxzbaks7ImC9hfbX2","organizationUid":null,"enterpriseUid":null,"publishProject":true,"isFork":true,"makePublic":false,"metadata":{"traceId":"a6e4b8de7ca3482a9f31d8e9f83dc176","spanId":"96aa06ee02723bc2","environment":"production"}}}
Request made:
Summary
Status: 500
Source: Network
Address: 216.239.36.54:443
Initiator:
1050.4b242494854674222d47.js:24:786
Request
:method: POST
:scheme: https
:authority: us-central1-graviton-mvp.cloudfunctions.net
:path: /cloudCloneDocument
Accept:
/
Accept-Encoding: gzip, deflate, br
Accept-Language: en-US,en;q=0.9
Authorization: Bearer XXXXXXXXXXXXX
Content-Length: 316
Content-Type: application/json
Origin: https://www.flux.ai
Priority: u=3, i
Referer: https://www.flux.ai/
Sec-Fetch-Dest: empty
Sec-Fetch-Mode: cors
Sec-Fetch-Site: cross-site
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/18.0 Safari/605.1.15
Response
:status: 500
Access-Control-Allow-Origin: https://www.flux.ai
Alt-Svc: h3=":443"; ma=2592000,h3-29=":443"; ma=2592000
Cache-Control: private
Content-Encoding: gzip
Content-Length: 62
Content-Type: application/json; charset=utf-8
Date: Wed, 02 Oct 2024 15:55:50 GMT
function-execution-id: 1q5icigrrnex
Server: Google Frontend
Vary: Origin
x-cloud-trace-context: 0dbd400827924e481cd4d1e75494274e
J
Jason Costello
Unsure if needed, but wanted to add that I'm experiencing this as well when attempting to clone or fork and replace from existing item in schematic pane.
Looks to be same call failing as well.
Thanks
Gretel Bot
planned