KaotoIO/kaoto-ui

Issues with autogenerated route name

tplevko opened this issue · 2 comments

Describe the Bug

There is new auto-generated field, created for generated routes - "metadata:name", which has a form of Route Kind + generated number

There seems to be few issues with this field, e.g. - The field gets regenerated every time users add new route. Also the generated number is same for the added routes, just added two times for the second route. For the third route onwards - it's the same as the number specified for the second route.

Steps to Reproduce the Bug or Issue

  1. add several routes
  2. see the "metadata:name" fields changing values

Screenshots or Videos

Peek 2023-06-27 13-27

Platform

  • OS: [e.g. macOS, Windows, Linux]
  • Browser: [e.g. Chrome, Safari, Firefox]
  • Version: [latest]

My guess is the new route is generated with the same name as the previous route and then the backend adds the currenttimemillis to make sure they are unique. (Now it will use a smaller number but)

This specific issue seems not to be present anymore in the UI. Closing.