v2-hub icon indicating copy to clipboard operation
v2-hub copied to clipboard

Duplicate IDS error when reordering pages with Stache enabled

Open lionettiluca opened this issue 5 years ago • 1 comments

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):

  • Statamic Version 2.11.20
  • Fresh Install or Upgrade: Upgrade, but the bug there was also in 2.11.15
  • OS: macOS 10.15.3
  • Browser: Chrome 81
  • Web Server: Apache for production env | Valet for development env
  • PHP Version: 7.3
  • Addons installed: Mix | RedactorPlugins | Sitemap (private addon for sitemap generation)

Thanks guys

lionettiluca avatar May 11 '20 16:05 lionettiluca

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

FrittenKeeZ avatar May 28 '20 07:05 FrittenKeeZ