slice-machine icon indicating copy to clipboard operation
slice-machine copied to clipboard

Cannot rename slices without breaking slice machine - V 1.5.0

Open Ali-Parandeh opened this issue 1 year ago • 2 comments

Versions

  • slice-machine-ui: 1.5.0
  • node: V 16.18.0

Steps to reproduce

Create a slice. Save slice Push Slice Rename Slice Save Slice Push Slice Create a new slice with old slice name Save Slice Push Slice

You will face issues.

What is expected?

You should be able to rename old slices, save them and push them. Then create new slices with old names. For instance, I created a Services slice then realised I needed to call it ServicesCategory slice. And wanted to create another slice called Services but couldn't.

What is actually happening?

  1. Duplicate Slices
Screenshot 2023-07-07 at 18 14 19 Screenshot 2023-07-07 at 18 18 07 Screenshot 2023-07-07 at 18 14 03 Screenshot 2023-07-07 at 18 14 52
  1. When trying to edit one of the slices - Remove a field then save.
Screenshot 2023-07-07 at 18 15 57

Ali-Parandeh avatar Jul 07 '23 17:07 Ali-Parandeh

We've been getting the same error since today morning, I think it's because of the next adapter, but I still haven't solved it since I updated the next adapter.

eraykeskinmac avatar Jul 11 '23 11:07 eraykeskinmac