zesty-io / manager-ui

Content platform powering enterprise websites and applications
https://www.zesty.io
Other
40 stars 6 forks source link

Create item issue - empty item displays in dataset/list #2599

Closed gtllien closed 4 months ago

gtllien commented 6 months ago

Describe the bug When a new item is created, there appears an empty item listed in dataset - there's no way to delete it in UI since it's not yet created but it is shown in the dataset/list

Screenshot: image

stage url: https://8-84fbb1fd87-qm8d2d.manager.stage.zesty.io/content/6-b0b6b185c3-q92rjf

To Reproduce Steps to reproduce the behavior:

  1. Go to this content model
  2. Click on 'Create Item'
  3. Create a new item, clicking the Create button
  4. Then see the table listing of the newly created item - there displays another empty item listed and there's no way to delete it since when open it's not yet created/no item details

Expected behavior An empty item/not yet created should not be displayed in dataset/list

Additional context Note: I'm not able to replicate it in my other test instance, only in the given instance. See also attached video for reference.

https://github.com/zesty-io/manager-ui/assets/112954373/783db706-3adc-435c-b40a-ddde61327a23

zcolah commented 6 months ago

Hi Lien May you provide a Loom video from the start to the end of the problem?

On Wed, Mar 20, 2024, 6:18 AM Lien @.***> wrote:

Describe the bug When a new item is created, there appears an empty item listed in dataset

  • there's no way to delete it in UI since it's not yet created but it is shown in the dataset/list

Screenshot: image.png (view on web) https://github.com/zesty-io/manager-ui/assets/112954373/a25483bf-6e31-49d3-866d-ff2cf1763eca

stage url:

https://8-84fbb1fd87-qm8d2d.manager.stage.zesty.io/content/6-b0b6b185c3-q92rjf

To Reproduce Steps to reproduce the behavior:

  1. Go to this content model https://8-84fbb1fd87-qm8d2d.manager.stage.zesty.io/content/6-b0b6b185c3-q92rjf
  2. Click on 'Create Item'
  3. Create a new item, clicking the Create button
  4. Then see the table listing of the newly created item - there displays another empty item listed and there's no way to delete it since when open it's not yet created/no item details

Expected behavior An empty item/not yet created should not be displayed in dataset/list

Additional context Note: I'm not able to replicate it in my other test instance, only in the given instance. See also attached video for reference.

https://github.com/zesty-io/manager-ui/assets/112954373/783db706-3adc-435c-b40a-ddde61327a23

— Reply to this email directly, view it on GitHub https://github.com/zesty-io/manager-ui/issues/2599, or unsubscribe https://github.com/notifications/unsubscribe-auth/AFMT4774V46ZIMGGDR3D56TYZDMFPAVCNFSM6AAAAABE6SCDTOVHI2DSMVQWIX3LMV43ASLTON2WKOZSGE4TMMZXG4ZDKMI . You are receiving this because you are subscribed to this thread.Message ID: @.***>

gtllien commented 6 months ago

Hi @zcolah i already attached a video for reference. Thanks

agalin920 commented 4 months ago

@gtllien That seems to be a draft item. If you clear your indexedDB can you still replicate this issue?

gtllien commented 4 months ago

@agalin920 Thanks, I can no longer replicate it once I clear my IndexedDB

finnar-bin commented 4 months ago

@gtllien is it safe to close this ticket then?

gtllien commented 4 months ago

@finnar-bin Yes. To confirm, moving forward when a user encounters the same will just have to advise them to clear IndexedDB right?

finnar-bin commented 4 months ago

@gtllien yup. Tried replicating the issue but I can't seem to be able to replicate this.