statamic / v2-hub

Statamic 2 - Feature Requests and Bug Reports
https://statamic.com
95 stars 5 forks source link

Duplicate IDS error when reordering pages with Stache enabled #2515

Open lionettiluca opened 4 years ago

lionettiluca commented 4 years ago

Describe the bug When reordering pages with the Stache enabled (don't update on every request), Statamic return a duplicate IDS error.

To Reproduce Steps to reproduce the behavior:

  1. Set the Stache enabled
  2. Go to pages
  3. Drag page under another
  4. See error

Expected behavior The page should be moved under the parent and it shouldn't return in previous position

Screenshots Log error:

Schermata 2020-05-11 alle 17 55 24

Environment details (please complete the following information):

Thanks guys

FrittenKeeZ commented 4 years ago

There's a few issues with duplicate IDs and Stache getting corrupted, but they haven't been resolved yet. https://github.com/statamic/v2-hub/issues/2163 https://github.com/statamic/v2-hub/issues/2195 https://github.com/statamic/v2-hub/issues/2330 https://github.com/statamic/v2-hub/issues/2490