fusio icon indicating copy to clipboard operation
fusio copied to clipboard

Can not create again route with the same path after it was deleted

Open GNazar opened this issue 2 years ago • 2 comments

Steps:

  1. Create route with path/test
  2. Delete route with path/test
  3. Create route with path/test. Result: Can't create route, error ocurred "The server encountered an internal error and was unable to complete your request."

GNazar avatar Feb 07 '23 08:02 GNazar

Hi, so the reason for this behaviour is, that if you delete a route we only mark the route as deleted, we dont actually delete the route from the table. This has the benefit, that you can restore the route in case of an error and all related log entries etc. are valid. Because of this you cant create the same route again but you can easily restore the deleted route.

chriskapp avatar Feb 07 '23 22:02 chriskapp

Understood, thank you

GNazar avatar Feb 14 '23 15:02 GNazar