Serious error in new collection editor when reordering with more than 40 items
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-07-2023 06:53 AM - edited 09-07-2023 06:54 AM
Overall the new collection editor works fairly well. But things get screwy when you have more than 40 items. You'll see a "Load More Items" button. Which mostly works. I do notice some duplication. Item #41 is identical to item #40. Probably a minor array index error in the code. But if I then try to reorder items via drag and drop things go haywire. Probably related to that index problem. I end up seeing apparent clones of the item I'm dragging. And eventually the page goes blank with only the header visible. I have to refresh the browser. Thankfully the clones such seen during manual ordering don't appear in the actual publicly visible page.
Technical note. As mentioned, this bug probably is a consequence of an array indexing issue. Let's say you enumerate the items on the first page as 1 - 40. But then on the second page you enumerate as 40 - 79. You would see the duplicate of item 40 as though it were item 41. And using a 1-based index with 0-based algorithms could cause all the cloning and screwy sorting behaviors. And attempting to move an item past the last array index could cause a runtime error that results in the page getting cleared. If I am right about this being the source of this bug then it should be easy to fix.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-07-2023 07:45 AM
#codemaster.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-07-2023 09:27 AM
Engineering is aware and hopes to have this fixed very soon
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-07-2023 11:21 AM - edited 09-07-2023 11:21 AM
"Things go haywire" doesn't begin to describe it. Today I am trying to push my just-added Halloween items to the top of my "Holidays" collection, and ... haywire! It hasn't worked yet; the item I'm trying to move is actually going back to the bottom at random as I'm dragging and dropping it, 3 rows at a time, toward the top. PLEASE put this closer to the top of your priority list!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-07-2023 11:24 AM
I'm locking this discussion before it becomes a series of unrelated but serious issues about collections.
As I've mentioned, this is something that engineering is working on, and we do hope to have a fix very soon.
